Options

A question about stockout warning

allendeallende Member Posts: 51
Hi everone !

I have a question about stockout warning. Currently when an Item stockout, navision occurs an alert.
This property sets up in Sales&Receivables Setup but not enough for me. In this case the property must stop the process and alert to user.How can i do this. Thanks for your relation. :-k

Comments

  • Options
    eromeineromein Member Posts: 589
    You will need to program an error message. You'll need to figure out what the condition and message must be yourself. I can point you in the right direction.

    Codeunit 22 Item Jnl.-Post Line - Function InsertItemLedgEntry(...)

    Text constant Text005 is the error you want to generate. This is already called in this function. You probably want to change the condition...

    Good luck!
    "Real programmers don't comment their code.
    If it was hard to write, it should be hard to understand."
Sign In or Register to comment.