How to create a data link between Purchase Receipt Header and Purchase Invoice Header.
What I want is to retrieve a related record field (Vendor Invoice Number) in the Purchase Invoice Header while the Report is running from Purchase Receipt Header and Purchase Receipt Line.
Any help would be appreciated.
Thanks!
Have a Nice Day!
0
Comments
-Mohana
http://mohana-dynamicsnav.blogspot.in/
https://www.facebook.com/MohanaDynamicsNav
PurchaseInvoiceHeader.Setrange("Order No".,Purchase receipt Header.Order No);
IF PurchaseInvoiceHeader.Find('-') Then
VendorInvoiceNumber := PurchaseInvoiceHeader."vendor Invoice No";
This is a sample Pseudo code. hope u can understand.