In the Work Order Report #752 - there is a variable for CustAddr but no ShipToAddr (Navision 4.0 SP1). I managed to figure out how to add a new variable(under C/AL Globals) but I can’t figure out how to assign the proper values to it. (I’m not good at programming so if there is a method outside of editing the code would probably be better). I tried to figure out how to use FormatAddr Function but that seems just as difficult. I don’t know why the report didn’t include the shipping address to begin with.
The Format Address functions use an array for the addresses. This is probably what is causing the problems. An array means you have several copies of the same variable. They are refered to by using [] You can make array’s by changing the properties of the variable. Then you need to find out what function to use to get the proper address. Best is to have a look at another report that has the address you want and figure out what function is used. Good luck!