RE: How to populate a new field(package tracking No) from T7320(warehouse shipment header) to T7322(posted warehouse shipment header)?
Search for // Insert shipment header text in Codeunit 80
Existing Code
IF WhseShip THEN BEGIN
WhseShptHeader.GET(TempWhseShptHeader."No.");
WhsePostShpt.CreatePostedShptHeader(
PostedWhseShptHeader,WhseShptHeader,"Shipping No.","Posting Date");
END;
New Code
IF WhseShip THEN BEGIN
WhseShptHeader.GET(TempWhseShptHeader."No.");
SalesShptHeader."Post test" := WhseShptHeader."Post Test";
SalesShptHeader.MODIFY;
WhsePostShpt.CreatePostedShptHeader(
PostedWhseShptHeader,WhseShptHeader,"Shipping No.","Posting Date");
END;