Hi
How to update the customer information (address) In x++.
Hi
How to update the customer information (address) In x++.
Good Morning Ashokkumar,
Have you been able to get this issue resolved in the meantime?
Would be great if you could keep us updated.
Many thanks,
Ludwig
Hi Partner,
Have a look at this link:
Hi Will WU,
I need to add only the highlighted part like the above mentioned.
Hi Ashokkumar,
Please try the below code,
LogisticsPostalAddress address; custtable = Custtable::find("1101"); address.Street = "Teststreet"; address.ZipCode = "89298"; address.City = "testcity"; addressView.Party = CustTable.Party; addressview.initFromPostalAddress(address); DirParty = DirParty::constructFromPartyRecId(CustTable.Party); roles = [LogisticsLocationRole::findBytype(LogisticsLocationRoleType::Delivery).RecId]; DirParty.createOrUpdatePostalAddress(addressView,roles);
Refer to the DOC:
Hope this helps.
André Arnaud de Cal...
292,516
Super User 2025 Season 1
Martin Dráb
231,409
Most Valuable Professional
nmaenpaa
101,156