raghu.a_85
Participant
7 years, 1 month ago
#5650
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
To map this field, type custom field name(SalesRep) in the target area(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.