Can someone help me out how to link g/l entry and vendor ledger entry in above case:
DataItem Name
G/L Entry <G/L Entry>
Posted Narration LineNarration
Integer <Integer>
Posted Narration PostedNarration1
Posted Narration Posted Narration2
G/L Entry G/L Entry 1
Vendor Ledger Entry <Vendor Ledger Entry>
i Checked but the vocuher which is posted is bank payment voucher and against that bank payment i had applied invoice i want to print that invoice detail in an bank payment voucher.
mohana when u go in design section....
u can see g/ entry groupfooter i want to print details below g/l entry groupfooter that is why i m not indenting below g/l entry dataitem......
Comments
DataItem Name
G/L Entry <G/L Entry>
Posted Narration LineNarration
Integer <Integer>
Posted Narration PostedNarration1
Posted Narration Posted Narration2
G/L Entry G/L Entry 1
Vendor Ledger Entry <Vendor Ledger Entry>
Stivan D'souza
-Mohana
http://mohana-dynamicsnav.blogspot.in/
https://www.facebook.com/MohanaDynamicsNav
Stivan D'souza
"Vendor Ledger Entry".SETFILTER("Vendor Ledger Entry"."Document Type",'Invoice');
Vendor Ledger Entry - OnAfterGetRecord()
"Vendor Ledger Entry".RESET;
"Vendor Ledger Entry".SETRANGE("Vendor Ledger Entry"."Document No.","G/L Entry"."Document No.");
"Vendor Ledger Entry".SETRANGE("Vendor Ledger Entry"."Posting Date","G/L Entry"."Posting Date");
IF "Vendor Ledger Entry".FINDFIRST THEN
//BPvleEntryNo := "Vendor Ledger Entry"."Entry No.";
CLEAR("DocNo.");
CLEAR("InvoiceNo.");
CLEAR(Date);
CLEAR(Amount);
recVendorLedgerEntry.RESET;
recVendorLedgerEntry.SETFILTER("Closed by Entry No.",'%1',"Vendor Ledger Entry"."Entry No.");
IF recVendorLedgerEntry.FINDFIRST THEN
"DocNo." := "DocNo." + recVendorLedgerEntry."Document No.";
"InvoiceNo." := "InvoiceNo." + recVendorLedgerEntry."External Document No.";
Date := recVendorLedgerEntry."Document Date";
Amount := Amount + recVendorLedgerEntry."Original Amount";
Can somebody please verify the code and tell me if there is multiple lines then why only one line is getting printed.....
Stivan D'souza
Stivan D'souza
will you pay us for verifying this code?
I dont know Why do we need G/L Entry 1 :-k when we can directly indent Vendor Ledger Entry under main G/L Entry
-Mohana
http://mohana-dynamicsnav.blogspot.in/
https://www.facebook.com/MohanaDynamicsNav
u can see g/ entry groupfooter i want to print details below g/l entry groupfooter that is why i m not indenting below g/l entry dataitem......
can u suggest????....
Stivan D'souza