Announcements
I have taken 3 fields on warehouse receipt line and same on purchase receipt line as shown in image.I want to flow data from warehouse receipt line to purch receipt line when I click post receipt action on warehouse. I tried on event (on after insert) but did not work. If you have any idea, please share.
Thanks in Advance
[EventSubscriber(ObjectType::Table, Database::"Purch. Rcpt. Line", 'OnAfterInsertEvent', '', true, true)] local procedure MyProcedure(RunTrigger: Boolean; var Rec: Record "Purch. Rcpt. Line") var warehousereceipt: Record "Warehouse Receipt Line"; begin warehousereceipt."Nos. of Pallet" := Rec."Nos. of Pallet"; warehousereceipt."Bags/pallet" := rec."Bags/pallet"; warehousereceipt."Loose Bags" := rec."Loose Bags"; end;
Hello,
We currently do not have dedicated Dev support via the Dynamics 365 Business Central forums, but I wanted to provide you some additional resources to assist. If you need assistance with debugging or coding I would recommend discussing this on one of our communities.
I will open this up to the community in case they have something to add.
Thanks.
André Arnaud de Cal... 291,359 Super User 2024 Season 2
Martin Dráb 230,370 Most Valuable Professional
nmaenpaa 101,156