LineItems are not linking to opportunity in Salesforce From QuickBooks
For Invoice To Opportunity
In the rules OpportunityLineItem upsert
Earlier mappings for opportunityID
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"
IF(ISEMPTY(VALUE("newid")),LOOKUP("Salesforce","select id from Opportunity where AVSFQB__Quickbooks_Id__c='"+PARENTVALUE("TxnID")+"'"),VALUE("newid")) |