When we created the Sales order, with the Royalty product, the vendor invoice was not able to process. Account Payable Dimensions are not populated. Where are they derived from?

When account structure was unlocked, it was possible to process the invoice, but AP Account did not have any dimensions, see picture below.

Kind regards,
Martin