openidsankar
Member
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 :[email protected],
electronicAddressClassificationCode :null,
electronicAddressTypeCode :'E',
messageIndicatorCode :'03'
]],
phoneNumbers:
[[
actionType :'1',
areaCode :'123',
// contactId :integerValue,
phoneLineNumber :'1',
phoneNumber :'456789',
phoneTypeCode :'W',
]],
processing:
[
actionType :'2',
processingVersion :'SA570001'
],
],
],
],
call = adf.webServices.AddresBookCreation.processCustomerAndContactV2(processCustomerAndContactV2);
println('Call: '+call);
response recieved:
Client received SOAP Fault from server : CAUSE . . . The action code entered either is not one of the following codes. Valid action codes are:
'1' - Add;
'2' - Change;
'3' - Delete;
RESOLUTION . . . Verify that the program allows the attempted action.
I am not sure why the actiontype is not recognized.
But I am able to create addressbook with this
service: RI_Address Book Manager Service
method: addAddressBook
But unable to create/update any addressbook, who's who, phone, or email address.
Can someone let me know the correct service to be used. also the Let me know why this issue occured.
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 :[email protected],
electronicAddressClassificationCode :null,
electronicAddressTypeCode :'E',
messageIndicatorCode :'03'
]],
phoneNumbers:
[[
actionType :'1',
areaCode :'123',
// contactId :integerValue,
phoneLineNumber :'1',
phoneNumber :'456789',
phoneTypeCode :'W',
]],
processing:
[
actionType :'2',
processingVersion :'SA570001'
],
],
],
],
call = adf.webServices.AddresBookCreation.processCustomerAndContactV2(processCustomerAndContactV2);
println('Call: '+call);
response recieved:
Client received SOAP Fault from server : CAUSE . . . The action code entered either is not one of the following codes. Valid action codes are:
'1' - Add;
'2' - Change;
'3' - Delete;
RESOLUTION . . . Verify that the program allows the attempted action.
I am not sure why the actiontype is not recognized.
But I am able to create addressbook with this
service: RI_Address Book Manager Service
method: addAddressBook
But unable to create/update any addressbook, who's who, phone, or email address.
Can someone let me know the correct service to be used. also the Let me know why this issue occured.
Last edited by a moderator: