Quantcast
Channel: Microsoft Dynamics NAV
Viewing all articles
Browse latest Browse all 64865

Forum Post: RE: Transfer Orders, planning worksheet, carry out action message creates on Transfer Order per item

$
0
0

Sure,

In Codeunit:

99000813 - Carry Out Action

Function:

InsertTransLine(ReqLine : Record "Requisition Line";VAR TransHeader : Record "Transfer Header")

Add the following right to the beginning of the function:

//EBS:NJF - Consolidate Documents per day

TransLineRec.SETRANGE("Shipment Date",ReqLine."Transfer Shipment Date");

TransLineRec.SETRANGE("Transfer-from Code",ReqLine."Transfer-from Code");

TransLineRec.SETRANGE("Transfer-to Code",ReqLine."Location Code");

IF TransLineRec.FINDSET(FALSE,FALSE) THEN

 TransHeader.GET(TransLineRec."Document No.");

//EBS:NJF - Consolidate Documents per day

No warranty on the code but shout if you have any questions and i would be happy to help,

Cheers

Nev


Viewing all articles
Browse latest Browse all 64865

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>