2022

Page tree

Versions Compared

Key

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

...

Panel

SESSION_GET("OPPID-"+PARENTVALUE("TxnID"))


Then instead of using session-id need to do the following changes.

In Salesforce upsert and update rule, the status writer should be selected as Console adapter on success need to mapped as VALUE("newid") on error map can be mapped as "error in creating opportunity"




Then on OpportunityLineItem upsert rule need to update the mappings for opportunityId as below.

Panel

IF(ISEMPTY(VALUE("newid")),LOOKUP("Salesforce","select id from Opportunity where AVSFQB__Quickbooks_Id__c='"+PARENTVALUE("TxnID")+"'"),VALUE("newid"))