Hi all,
I am customizing the "Transfer Receipt" Report to have some details from "Purchase Invoice Header" table, here most of the fields are retrieved from the table to the report but "Anount To Vendor" vale is not comming.
//Fetching Invoice Details
Transfer Receipt No. (this is a field i have added to Purch. Inv. Header" atble.
GIN->Text
GateEntryNo->Text
GateEntryNo->Text
VendorInvNo->Text
InvoiceAmt->Decimal
following is the code i have written under Transfer Receipt Header - OnAfterGetRecord()
PurchaseInvHeader.RESET;
PurchaseInvHeader.SETRANGE("Transfer Receipt No.","Transfer Receipt Header"."No.");
IF PurchaseInvHeader.FIND('-') THEN
BEGIN
GIN:=PurchaseInvHeader."Your Reference";
GateEntryNo:=PurchaseInvHeader."Gate Entry No";
GateEntryDate:=PurchaseInvHeader."Gate Entry Date";
VendorInvNo:=PurchaseInvHeader."Vendor Invoice No.";
InvoiceAmt:=PurchaseInvHeader."Amount to Vendor";
END;
all values are comming except VendorInvNo.
VendorInvNo is having 0 always.
can anybody guide me why "Amount To Vendor" value is not retrieved.
Markandey Pandey
0
Comments
No PM,please use the forum. || May the <SOLVED>-attribute be in your title!
http://ssdynamics.co.in
http://ssdynamics.co.in
Yes, on our own, although i had gone for a online technical training, that was not good enough and Application Designer Guide is also having basics.
We are in touch with other partner (they have done more than 10 implementation).