Build KIT and Location Code in Sales Order

angelep77angelep77 Member Posts: 3
edited 2012-11-18 in NAV Three Tier
I have a client on NAV 2009 R2 (RTC). My client has set up a kit item with Automatic Build KIT BOM = True. When the item is entered in a sales order and a location code is selected, the following error is produced:


Build Kit must be No in Sales Line Document Type='Order',Document No.='SO10020',Line No.='10000'. ](*,)


Can you help me understand the logic behind this? Because of this error, there is no way to post the SO (blank location is not allowed).

Any thoughts? Thank you in advance!

Comments

  • MarkHamblinMarkHamblin Member Posts: 118
    The issue is that the kit sales lines are generated as soon as you add the item (with whatever the default location was on that line), and rather than update them if the location changes, NAV just yells at you.

    You have several options:
    • Don't turn on auto build kit. Users would then have to manually do this on the sales order by setting the "build kit" field to true on the sales line.
    • Make the "build kit" field on the sales line visible. If the user wants to change location, they first have to un-check "build kit", change location, then reset "build kit" to true.
    • Set default locations per customer on the customer card, and use previous two options if default location is no good.
    • Modify code so that kit sales lines are rebuilt when location changes. Easy mod - not that invasive and probably a few minutes to do.

    - Mark
  • angelep77angelep77 Member Posts: 3
    Thank you, Mark!

    I liked the suggestion for unflagging the Build Kit on the Sales Line, changing the location and flagging it again. That worked like a charm! Thank you! :)

    Best regards,

    Angie
  • MarkHamblinMarkHamblin Member Posts: 118
    I'm glad it helped.

    - Mark
Sign In or Register to comment.