post inventory cost to G\L - Options

when you select per posting group, you “should” fill the document number,

only when you select per “item ledger entry” the system will use the invoice’s number