Subcontracting Error

shabbirgmailshabbirgmail Member Posts: 11
edited 2011-06-06 in NAV Three Tier
hi,

we have encounter attached error while receiving material in subcontracting Order, which says.......YOU MUST NOT SPECIFY LOCATION CODE IN ITEM JOURNAL TEMPLATE NAME="JOURNAL BATCH NAME=",LINE NO.="0".

i am unable to find the solution for this error, please help me in solving this problem.

Comments

  • mohana_cse06mohana_cse06 Member Posts: 5,504
    Did you check with debugger where you are getting this error?
  • shabbirgmailshabbirgmail Member Posts: 11
    yes with debugger following code is highlighted.

    NewItemJnlLine.TESTFIELD("Location Code",OldProdOrderLine."Location Code");
  • shabbirgmailshabbirgmail Member Posts: 11
    Please tell me how to analyze this codes
  • manisharma31manisharma31 Member Posts: 285
    Is the SubContracting Order created by Production Order.
    If yes then please check the Prod. Order Components line for location code.
    Regards,
    Manish
  • shabbirgmailshabbirgmail Member Posts: 11
    dear manish,
    i have checked in prod components line and there is no location code. so that i can remove
  • dipakpatel2505dipakpatel2505 Member Posts: 169
    Hii,
    "Location Code" should be on Production Order,Production Order Line,"Production Order Components" and "Subcontracting Order Line"...

    Give manually Location code on Production order and refresh it so it will come automatically in Production Order Line and Component Line..

    Then try to do the same operation again..

    Let me know whether it is helpful or not..

    With Best Regards,
    Dipak Patel
  • shabbirgmailshabbirgmail Member Posts: 11
    Dear Deepak,

    Yes It did work Finally thanks for the help.
    =D>
  • manisharma31manisharma31 Member Posts: 285
    see you just needed a direction. =D>
    Regards,
    Manish
Sign In or Register to comment.