2022

Page tree
Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

Version 1 Next »

Issue: Mapping custom field of Salesforce to custom field of QuickBooks.

Root Cause: Requirement on mapping Quickbooks online custom field

Solution:

Let us take an example of custom field SalesRep__c  on Opportunity in SalesForce.

We have to map this field to SalesRep custom field on QuickBooks online which is created in sales section as shown in the below screen shot:

To map this field, choose any one of the field that is not used for mapping any values and type custom field name(SalesRep) in the target area i.e between <Name> </Name> tags (QuickBook Online) and add below given query in the source field.

{

ADDXML("<CustomField><DefinitionId>2</DefinitionId><Name>SalesRep</Name><Type>StringType</Type><StringValue>"+VALUE("SalesRep__c")+"</StringValue></CustomField>");

return "";

}

Where <DefinitionId>2</DefinitionId>  :Position of custom field in QuickBook online.

              <Name>SalesRep</Name>: The custom field name in QuickBook online.

               <StringValue>"+VALUE("SalesRep__c")+"</StringValue>: The custom field in SalesForce.

  • No labels