Error message "Item must be rserved" ???

FlashtnFlashtn Member Posts: 68
edited 2004-11-25 in Navision Attain
Hi all,

When I try to validate a negative entry for an item, the system show the error message "Item <Item_Code> must reserved"! Can any one help me ?

Comments

  • ArhontisArhontis Member Posts: 667
    Hello,

    The item has a field on the Planning tab that is called Reserve. If it is Always then when posting, the codeunit 22 in the function InsertItemLedgEntry has a check:
        IF (Item.Reserve = Item.Reserve::Always) AND
           (ItemLedgEntry.Quantity < 0)
        THEN
          ERROR(Text012,ItemLedgEntry."Item No.");
    
    where Text012 is:
    Item %1 must be reserved.
    
  • FlashtnFlashtn Member Posts: 68
    Thank you for your response.

    Ok for that, but I want to post it realy, but I can't :-(

    P.S. : all items in the database are reserved always and I can post them without problem! Why for this item ?
  • ArhontisArhontis Member Posts: 667
    Perhaps the other items are auto reserving, and that particular is not...

    Why don't you place a breakpoint in that place, enable the debugger and post an item that passes and that item that producess the error and note the differences of the values. That way you might get the differences between the items and probably the origin of the error...
  • FlashtnFlashtn Member Posts: 68
    My licence not allows me to develop on Navision Attain :-(
  • ArhontisArhontis Member Posts: 667
    You could contact your developer, can't you?

    Since the other items post ok and that particular on doesn't then I guess it is a matter of setup or stock.
  • FlashtnFlashtn Member Posts: 68
    Thank you for your help :-)
Sign In or Register to comment.