I am new for NAV 2013 and never use NAV before, i am now currently working for doing Data transfer batch from external system to Navision by using Sales Journals and post process. The main tools i use is REPORT C/AL Code for extracting data from a temporary table to Sales Journals.
I got the problem for adding dimension in Sales Journals by the batchjob.
I have tried the following methods, but not successful.
1) Create a table for Dimension Set Entry, insert values directly. (but it fail and show i have no rights for accessing the table)
2) Create a temp table for Dimension Set Entry, insert the necessary information, call Codeunit 408
g_rec_GenJournalLine."Dimension Set ID" := DimMgt.GetDimensionSetID(g_tmp_DimensionSetEntry) ;
(no effect in the Sales Journal entry)
3) Direct set the Dimension Set ID field in the Sales Journal Table
(no effect in the Sales Journal entry)
Can anyone help me for teaching me the correct method?
Many thanks.
*This post is locked for comments