The purchase invoice has many item line, each item has a different Posting Group.
After posting the invoice, I don't know how to map between Invoice Line and GL Ledger entry line
Can someone show me how to link them together
Posted Purchase invoice line

General Ledger Entry