Tuesday 24 March 2015

Stack trace: The company XX does not exist. (S)\Classes\DirParty\updateAddressFromDirParty - line 149

Hello friends
Recently  some users of the system i support were experiencing this issues while trying to create customer,vendor or end users in the system.
Users could  create the end user but when they try to add the address,they get the above error.
I resolved by adding the below code  in DirParty class, method UpdateAddressFromDirParty.


Place this code right after the following line:
dataAreaId = conpeek(addressDataAreaList,i);


Please test the code before moving it into production system...