I’m trying to get the Warehouse name from Details in the SOShipment. I was able to get the integer ID using this:
SOShipLine firstLine = Base.Transactions.SelectSingle();
The firstLine.SiteID has the ID but how do I get the SiteCD (name)?
I’m trying to get the Warehouse name from Details in the SOShipment. I was able to get the integer ID using this:
SOShipLine firstLine = Base.Transactions.SelectSingle();
The firstLine.SiteID has the ID but how do I get the SiteCD (name)?
Best answer by Django
INSite site = INSite.PK.Find(Base, firstLine.SiteID);
.PK.Find gives you a way to find the INSite record using the SiteID
.UK.Find gives you a way to find the INSite record if you have the SiteCD
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.