Reply
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic to the Top
- Bookmark
- Subscribe
- Printer Friendly Page
0
Update Customer Address ... Need Help
Options
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Email to a Friend
- Report Inappropriate Content
03-10-2011 11:50 AM
Hi,
I tried to update Customer address and find is not working.
-- Customer # is exisit
Sample Code:
<p>
If (CBool(oSS.nSetProgram(oSS.nLookupTask(CUSTOMER_UI )))) Then
oCustomerCodeEntry = oScript.NewObject(CUSTOMER_BUS, oSS)
oCustomerCodeEntry.nSetKeyValue(ARTableStructure. AR_CUSTOMER.DIVISION_NO, "000")
oCustomerCodeEntry.nSetKeyValue(ARTableStructure. AR_CUSTOMER.CUSTOMER_CODE, "XYZ")
If (CBool(oCustomerCodeEntry.nFind())) Then
.................................................. ...
End If
</p>
Where i am making mistake ?
0
Re: Update Customer Address ... Need Help
Options
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Email to a Friend
- Report Inappropriate Content
03-10-2011 01:20 PM
I'm no script expert, but shouldn't the division be "00" instead of "000"?


