Error for negative inventory

aliennavaliennav Member Posts: 449
edited 2010-08-17 in Navision Financials
Hi
instead of warning if I want to get an error after entering the quantity ...what to do for that??

Also, I don;t want that warning form 342 to run,instead of that i want error of -ve inventory.

Answers

  • pduckpduck Member Posts: 147
    Check your Sales/Purchase Setup for Deactivating the Availability Check.

    For not being abled to enter negative Quantity you need to put some Code like IF Quantity < 0 THEN ERROR ('Errormessage'); in the VALIDATE Trigger of the Quantity Field on your Line Tables. Better would be to insert this check in a more general place like CU 80 and 90.
  • aliennavaliennav Member Posts: 449
    Check your Sales/Purchase Setup for Deactivating the Availability Check.

    For not being abled to enter negative Quantity you need to put some Code like IF Quantity < 0 THEN ERROR ('Errormessage'); in the VALIDATE Trigger of the Quantity Field on your Line Tables. Better would be to insert this check in a more general place like CU 80 and 90.

    Thanks for ur suggessstions.
    But,I suppose this should be in CU 22.
    Luckily I have found it.
    By adding the code in CU 22, the system gives the error at the time of posting and not while selecting item or filling qty.
Sign In or Register to comment.