Hi Team,
I have debugged cod in PurchTable - setAddressFromInventSiteId()
In this method , I like to comment below code for testing purpose
if (!addressSet)
{
companyInfo = CompanyInfo::find();
location = LogisticsLocationDefault::findSimpleDefault(companyInfo,role).RecId;
if (location)
{
this.setLocation(location, companyInfo);
addressSet = true;
}
}
return addressSet;
How we can achieve this?
Pls give me more shed on this.
Thanks!