Sales Cloud to JDE integration - groovy - JDE actiontype not recognized
Hi,
Trying to Create (also update) the JDE E1 addressbook, inputs are taken from OSC , and service call is via groovy script.
Webservice name: Customer And Contact Manager Service
Method : processCustomerAndContactV2
Code:
println " Call B4 record Update";
def processCustomerAndContactV2 =
[
processAddressBookV2:
[
addressBook:
[
businessUnit :'10000001',
entityId :'30000000',
entityName :'TsetRecord',
entityTypeCode :'C',
categoryCodesAddressBook:
[
categoryCode001 :'123',
categoryCode003 :'456',
categoryCode011 :'89',
],
electronicAddresses:
[[
actionType :'1',
//contactId :integerValue,
electronicAddress :abc@mno.com,
electronicAddressClassificationCode :null,
electronicAddressTypeCode :'E',
messageIndicatorCode :'03'
]],
phoneNumbers:
[[
actionType :'1',
areaCode :'123',
// contactId :integerValue,
phoneLineNumber :'1',
phoneNumber :'456789',
phoneTypeCode :'W',
]],
processing:
[
actionType :'2',
processingVersion :'SA570001'