Apply ItemLedgEntry With LOT No Problem in Subcontracting

Purvesh_MaisuriaPurvesh_Maisuria Member Posts: 71
Hello Experts,

I am using MS NAV 2009 R2 (In) Version. I am doing setup of subcontracting of Indian localization.
I did
1. Send Material to subcontractor location. When send, i attached LOT no to Raw Material.
2. Apply Delivery Challan.
When i going to receive produced item from subcontractor at that time, consumption entry is inserted in item ledger Entry.
System will apply this entry with OldItemledgerEntry. Error comes Here.

Codeunit : 22 : "Item Jnl.-Post Line"
Function : ApplyItemLedgEntry
Code :
IF ItemTrackingCode."Lot Specific Tracking" OR ItemLedgEntry."Drop Shipment" THEN
OldItemLedgEntry.TESTFIELD("Lot No.",ItemLedgEntry."Lot No.");

If anyone know about the above then kindly request to help me. Thanks.

Thanks & Regards,
Purvesh Maisuria.

Comments

  • Purvesh_MaisuriaPurvesh_Maisuria Member Posts: 71
    Hello Experts,

    When i try to Receive produced item from subcontractor, this message is coming from system.

    "You must not specify Lot No. in Item Ledger Entry Entry No.='32448'"

    Please help me. Thanks in advanced.

    Thanks & Regards,
    Purvesh Maisuria.
  • MGM08MGM08 Member Posts: 41
    Hi,

    when you try to receive or consume.. In the apply delivery challan function after you select the delivery challan in the line u have item tracking select the lot based on the consume or receive.

    Then post the same.


    Hope this helps.
  • Purvesh_MaisuriaPurvesh_Maisuria Member Posts: 71
    Hello MGM08,

    No MGM08, To assign lot no, i need Item Journal Line.

    But Thanks for your valuable comments. I did it by adding some code in CU : 16360 : Subcontracting Post

    Thanks Once Again.

    Thanks & Regards,
    Purvesh Maisuria.
Sign In or Register to comment.