Hi ALL,
please let me know how to get the default address of the Customer ?
thanks ,
Hi ALL,
please let me know how to get the default address of the Customer ?
thanks ,
Use \Data Dictionary\Tables\CustTable\Methods\address to get the primary address.
Hi
Go to Customer form > Address tab > Create a new record and select the Check boxes - Public and Primary.
Regards
Hi Everyone ,
Thanks Kranthi and Priyanka for your replies but it was able to get this way:
location = LogisticsLocationEntity::constructFromLocationRecId(LogisticsLocationDefault::findSimpleDefault(
custTable, LogisticsLocationRole::findBytype(LogisticsLocationRoleType::Delivery)).RecId);