Hi,
I have a simple integration for AP Invoice Journals for AX 4.0 with .Net Business Connector which is working great for the most part.
However, for some reason the "Name" field is not updating along with all the others.
The filed defaults from the Journal Name >> Description but it won't let me put in a specific value.
Any ideas? Example below and thanks in advance.
AxaptaRecord ledgerJournalTable = ax.CreateAxaptaRecord("LedgerJournalTable");
AxaptaRecord ledgerJournalTrans = ax.CreateAxaptaRecord("LedgerJournalTrans");
AxaptaRecord ledgerJournalName;
AxaptaObject ledgerJournalCheckPost = ax.CreateAxaptaObject("LedgerJournalCheckPost");
AxaptaObject numberSeq = ax.CreateAxaptaObject("NumberSeq");
//Begin transaction
ax.TTSBegin();
ledgerJournalTable.set_Field("JournalName", "Comm");
ledgerJournalTable.set_Field("Name", "Test Name Here"); // description for this journal
ledgerJournalTable.Call("initFromLedgerJournalName");
ledgerJournalTable.Call("insert");
*This post is locked for comments