2022

Page tree

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

  • Double click on BiDirectionalSync Sync process on the right hand side.


  • Double Click on Once inside the process builder page, double-click on the State "ItemServiceToProduct" to open the data flow window.

...

  • Click on "Edit" link for  " **********_map.xml"* to open the mapping in a new tab or window.

...

  • If you have Parent-Child relationship for Products in Salesforce, then the following changes needs to be made to the mappings.
  • As mentioned in the earlier section, go back to the Process-Builder page by double-clicking on the BiDirectionalSync process on the right hand side.
  • Open the OpportunityToInvoice state and right-click on the Sequence No 3 box and select Properties from the menu.
  • Click on "Edit" link for  " ********_map.xml"* to open the mapping in a new tab or window and make the following changes in the mapping window.
  • Find target field "ItemInventoryAddRq/ItemInventoryAdd/Name" and replace the source code by copy-pasting the following. IF(EXACT(VALUE("PricebookEntry/Product2/AVSFQBQuickBooks_ItemTypec"),"ItemInventory"),RSPLIT(VALUE("PricebookEntry/Product2/Name"),":"),""). A screenshot below shows the same.
  • Add the mapping ItemInventoryAddRq/ItemInventoryAdd/ParentRef/FullName = IF(EXACT(VALUE("PricebookEntry/Product2/AVSFQBQuickBooks_ItemTypec"),"ItemInventory"),LSPLIT(VALUE("PricebookEntry/Product2/Name"),":"),""). A screenshot illustrates both the mapping changes. Image Added