- C365 Format Address requires CustAddress Array input, but this does not exist in most report function coding
- Solution
- Adjust the SalesInvShipTo function to the following
- Remove the CustAddr Parameter
SalesInvShipTo(VAR AddrArray : ARRAY [8] OF Text[50];VAR SalesInvHeader : Record "Sales Invoice Header") ShowShippingAddr : Boolean
WITH SalesInvHeader DO BEGIN
FormatAddr(
AddrArray,"Ship-to Name","Ship-to Name 2","Ship-to Contact","Ship-to Address","Ship-to Address 2",
"Ship-to City","Ship-to Post Code","Ship-to County","Ship-to Country/Region Code");
END;
No comments:
Post a Comment