Notifications
Announcements
No record found.
Hi,
How do I fetch main account ID associated with a free text invoice?
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
Hi Ludwig,
Thanks for the reply. I am looking for getting the main account after the free text invoice is posted.
You can just click on voucher and check the main account.
I am looking for a query to fetch the main account ID. Thanks :)
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.
Hello,
take custInvoiceline.ledgerdimension and search in the dimensionattributevaluecombination.recId in this table, there is mainaccount field.
Hi Anusha,
Or just use DimensionStorage::getMainAccountIdFromLedgerDimension.
Under review
Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.
As AI tools become more common, we’re introducing a Responsible AI Use…
We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…
These are the community rock stars!
Stay up to date on forum activity by subscribing.
Martin Dráb 611 Most Valuable Professional
André Arnaud de Cal... 529 Super User 2025 Season 2
Sohaib Cheema 285 User Group Leader