Announcements
Hi,
How do I fetch main account ID associated with a free text invoice?
Hi Anusha,
Or just use DimensionStorage::getMainAccountIdFromLedgerDimension.
Hello,
take custInvoiceline.ledgerdimension and search in the dimensionattributevaluecombination.recId in this table, there is mainaccount field.
Hi,
Not sure, how you or business works, but it is very nice standard practice to use separate number sequence for Free text invoice and sales order invoice.
It should meet your requirement just by segregating number sequence of voucher/transactions.
Or, for free text invoice, a default description setup is very nice approach.
I am looking for a query to fetch the main account ID. Thanks :)
You can just click on voucher and check the main account.
Hi Ludwig,
Thanks for the reply. I am looking for getting the main account after the free text invoice is posted.
Hi,
What do you mean by fetch?
Get the main account after the free text invoice is posted or lookup a main account while entering the free text invoice data?
Best regards,
Ludwig
André Arnaud de Cal...
294,120
Super User 2025 Season 1
Martin Dráb
232,871
Most Valuable Professional
nmaenpaa
101,158
Moderator