Greetings all,
I am working with NAV in the United States.
We are looking to create a comment/text field stating 'International Order' on our pick order report that only is visible when the country in the Ship-To Address is not equal to 'United States'.
I'm concerned that there may be something already in NAV that allows for this. If not I'd appreciate any ideas/code snippets that display the best way to proceed.
Thank you - gad1
0
Answers
add to onaftergetrecord of the sales header dataitem
if "Sales Header"."Ship-to Country Code" <> 'US'
then v_International_Flag := "INTERNATIONAL ORDER!";
now add textbox with v_international_flag as it's source exp to the report.
are you filling in the Country Code?
http://www.BiloBeauty.com
http://www.autismspeaks.org
"I" for International or "D" for domestic
using the same code as above.
somewhere in the corner of the report - might take up less room & more visible than the whole "International Order" box
http://www.BiloBeauty.com
http://www.autismspeaks.org
gad1