Printing the Payment Journal

Hi All ,

I want to print customer payment journal report through x++ as shown in image.Tell me how to do this ?..

Thanks in Advance…

You can do it using the following code:

    LedgerJournalTable  ledgerJournalTable;
    Args                args = new Args();
    ;
    
    //TODO init LedgerJournalTable buffer here
    
    args.record(ledgerJournalTable);
    new MenuFunction(menuitemOutputStr(LedgerJournal), MenuItemType::Output).run(args);

Hi Aliakasandar,
Thanks fr reply.Its Working