item journal posting

can anyone please suggest in my item journal first option in the field entry type is purchase i want the default option to be negative adjmt.


can anyone please guide how to get it done?

  • The way you can do this is on the Item journal line table there is a function called SetupNewLine, in there the Posting date automatically gets initialized, rem that piece of code, what this will do is show the Posting date as blank on the item journal when opened. Since posting date is a must onValidate of Posting date on Item journal add a line of code that says Document type = Document type::Negative Adjmt., the result will be that as soon as user enters posting date the document type will default to Negative Adjmt., user can change it to any other document if required.

    DO NOT CHANGE THE SEQUENCE OF DOCUMENT TYPE field that will mess up everything.