Project Shipping Address

Hi,
How do I get the project shipping address?
image

and here is my structure
image
No matter what I seem to do it the address parts are blank in the debugger.
Thanks

Hi, MarkJoyce.

Please see the code below for fetching Address information.

TradingPartner partner = TradingPartner.GetTradingPartner("Name");
StockingLocation location = StockingLocation.GetStockingLocation(partner.StockingLocationID, false);
var address = location.Addresses.GetAddressByType(AddressTypes.Shipping).FullAddress;

Thanks for posting.

1 Like

Awesome, thanks that works great!
Thank you.
Thanks for replying