Generate GL Reports

Hi to all,

Please help me, i want to generate a ledger reports that will show every transaction lines per journal entry. My desired output is below:

Journal number Voucher Number

JN00000001 >>>>>>> Journal Entry

00000001 >>>>>> transaction lines

00000002 >>>>>> transaction lines

JN00000002 >>>>>>> Journal Entry

00000003 >>>>>>> transaction lines

00000004 >>>>>>> transaction lines

In my Report Design, I have 2 programmableSection, for JournalNumber and Voucher Number;

My code is:

LedgerJournalTable tblLedgerJournalTable;

LedgerJournalTrans tblLedgerJournalTrans;

str strJournalNum, strVoucherNum;

while select * from tblLedgerJournalTable{

strJournalNum = tblLedgerJournalTable.JournalNum

element.execute(1);

while select * from tblLedgerJournalTrans where tblLedgerJournalTrans.JournalNum == strJournalNum{

strVoucherNum = tblLedgerJournalTrans .Voucher;

element.execute(2);

}

}

My code above result is 1 voucher lines per journal only, but in my records i have 2 voucher lines per journal entry’

I am new in ax please help me

i think the report which you want is there in ax ,

can you please go and check in the below path

General ledger > Periodic > Journals > Ledger journal

Hi Kunal,

I want to know what is the problem in my code or in my design because i will use it as tutorial to my workmates,.

Hi,

I solved my problem. i just change the control number of my programmable section…for Journal Number it is set to 1 and for Voucher Number it is set to 2.