Create more visibility for non-US order on pick

gadzilla1gadzilla1 Member Posts: 316
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

Answers

  • SavatageSavatage Member Posts: 7,142
    add Global variable to your pick report v_International_Flag type Text.

    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?
  • SavatageSavatage Member Posts: 7,142
    you can also think about just placing a very large
    "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
  • gadzilla1gadzilla1 Member Posts: 316
    Thank you very much Harry - That's exactly what I did initially. I wanted to make sure that there wasn't something in place already. I'll mark this as closed.

    gad1
Sign In or Register to comment.