I am trying to work out the advanced integration from NetSuite to OpenAir using the built-in integration language, but I am having some issues. I tried getting OA support to help, but I was told that advanced integration was not supported and I would need to have a consultant set up through our administrator to do it. ??!?
I guess the guide they give me is just for light reading. Anyway, I am trying to pull projects from NetSuite into OpenAir and use the templates. I can get a new project created in OpenAir but several of the fields are not set and I am unable to save it manually after viewing it in the OA ui.
Does anyone have experience with setting up this integration? I need to set the tax location and hierarchy in order to save the project. I also need to set the stage initially to 'Forecasted'. Here is the code I have so far:
<JOB_TO_PROJECT> NS_FIELDS subsidiary OA_FIELDS subsidiary, tax_location_id, project_stage_id OA_CUSTOM_FIELDS subsidiary OA_FIELDS_INITIAL_ONLY project_stage_id project_stage_id 'Forecasted' IF <<END IF (subsidiary = '1') THEN subsidiary 'Coaxis Inc.' IF (subsidiary = '4') THEN subsidiary 'Viewpoint Australia' IF (subsidiary = '2') THEN subsidiary 'Viewpoint Canada' IF (subsidiary = '5') THEN subsidiary 'Viewpoint US' END # tax_location_id 'Canada' # <subsidiary tax_location_id> # 1 3 # 4 4 # 2 8 # 5 3 # </subsidiary> # <tax_location_id subsidiary> # 1 'United States' # 4 'Australia' # 2 'Canada' # 5 'United States' # </tax_location_id> IF <<END IF (subsidiary = '1') THEN tax_location_id 'United States' IF (subsidiary = '4') THEN tax_location_id 'Australia' IF (subsidiary = '2') THEN tax_location_id 'Canada' IF (subsidiary = '5') THEN tax_location_id 'United States' END </JOB_TO_PROJECT>
I have tried several ways to get it to set and none of them are working.