Posting keys are always determine with regards to the transaction event key and as per debit credit indicator.
You need to check the transaction event key for the accounting entry.
Go to OBYC, double click on the transaction event key then click on the posting key.
The relation is like that :
Movement type - Value String - Transaction event key - Posting key (as per debit / credit).
