I have a customization in Invoice Journal(AP Invoice )which requires a ledger’s financial dimension be attached to the vendor.
Ex:
Ledger :
123456-00001-002-Purpose
123456-00002-001-Expense
Vendor: 211000
Now I want to make this look like the below examples in the voucher transactions.:
211000-000001-002
211000-000020001
The assigning of values to the vendor account should happen on the actual posting of the Journal…
Now, how can this be done?I tried using DimensionDefaultingService::ServiceCreateLedgerDiemnsion and tried also merging Vendor and the ledger but failed.
The purpose of this is to split vendor balance according to financial dimension.
Thanks in advance.