Announcements
Hi,
I have to import the record of LedgerJournalTable table uisng X++ code in ax2012. I refer this blog to import https://www.cloudfronts.com/blog/dynamics-ax/x-code-to-import-data-from-excel-to-d365-fno/ , but through this log I import only those fields which have records ,but those field contains the recid of another table , i am not able to understand how i can import it using x++ code in ax2012.
I attached a screenshot where i import the fields of LedgerjournalTable , but when i have to import the OFFSETLEDGERDIMENSION , it contains the recid of DimensionAttributeValueCombination.RecId, so how can import those fields those contains RECID using X++ code in ax2012
Hi Girish S.
Thank you for this blog, but I'm facing a problem because i have two ax2012 machine , i have to import all vendor invoice journal (open and posted both) from one ax2012 machine to second ax2012 machine.
so, in this case recid will be changed if we will import,
I have seen your blog it is good to used, but still i am not getting correct data of those fields who contains the recid , (Ledger dimension, OffsetDefaultDimension , OffsetLedgerDimension).
Can you please help me that what should i do ?
Hi Sam,
Refer to the below link for importing offset Ledger dimension from excel data. As per the link you need to get the account id and based on that you will get offset ledger dimension using DimensionStorage::getDynamicAccount class.
https://dhruvrthakar.blogspot.com/2017/10/how-to-createimport-general-ledger.html
Thanks,
Girish S.
You can use this link to get the main account and other dimensions if exist.
André Arnaud de Cal...
294,208
Super User 2025 Season 1
Martin Dráb
232,970
Most Valuable Professional
nmaenpaa
101,158
Moderator