Hello All,
I'm creating a PO thorugh X++, Once the PO line is created, creating the accounting distribution record for the particular PO line.
But, during the creation of accounting distribution, I need to pass the Ledger dimension - Main account column value for accounting distribution, the way standard behaves/works.
It works on certain rules based on Category, Category relation & other records which are available on 'Posting' form for Purchase order.
Does anyone have idea about how do I fetch the main account values the way standard works.
Thanks in advance.
Regards,
Kedar