Skip to main content

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Microsoft Dynamics AX (Archived)

InventTransOrigin for upgraded posted Transfer Journals. AX4 to 2012 R3

(0) ShareShare
ReportReport
Posted on by 2,987

When I create a Transfer Journal in AX 2012, 2 lines are created in InventTransOrigin Table, one for reception and one for sending.

However, posted Transfer Journals that come from AX4 only have one line in the InventTransOrigin after Data Upgrade process.

The upgraded "not posted" Transfer Journals are correct, and have 2 linea in InventTransOrigin.

I think the source of this behaviour is the ReleaseUpdateDB41_Invent.updateInventJournalTrans method, where new numbersequence for InventTransID are created only for "not posted" Transfer Journals.

while select forupdate inventJournalTrans
where inventJournalTrans.JournalType == InventJournalType::Transfer
&& inventJournalTrans.ToInventTransId == inventJournalTrans.InventTransId
exists join inventJournalTable
where inventJournalTable.JournalId == inventJournalTrans.JournalId
&& inventJournalTable.Posted == NoYes::No
{
if (!numberSeq)
numberSeq = NumberSeq::newGetNum(InventParameters::numRefInventTransId());

inventJournalTrans.ToInventTransId = numberSeq.num();
inventJournalTrans.doUpdate();
}

Why is it designed like this???

*This post is locked for comments

  • Ghetz Profile Picture
    Ghetz 2,987 on at
    RE: InventTransOrigin for upgraded posted Transfer Journals. AX4 to 2012 R3

    Thanks for the answer.

    Actually I would like a confirmation of this issue happening in other installations before opening a support request. In lifecyle I haven't seen anything related to this issue for R3

    Best regards.

  • André Arnaud de Calavon Profile Picture
    André Arnaud de Cal... 292,494 Super User 2025 Season 1 on at
    RE: InventTransOrigin for upgraded posted Transfer Journals. AX4 to 2012 R3

    Hi Ghetz,

    You might encountered a bug. Did you search already in the Issue search on Lifecycle services? Maybe there was a hotfix provided already as I think this is affecting many instalations. If you can't find anything, you can create an incident at Microsoft support or your partner.

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.

Helpful resources

Quick Links

Announcing Our 2025 Season 1 Super Users!

A new season of Super Users has arrived, and we are so grateful for the daily…

Vahid Ghafarpour – Community Spotlight

We are excited to recognize Vahid Ghafarpour as our February 2025 Community…

Tip: Become a User Group leader!

Join the ranks of valued community UG leaders

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 292,494 Super User 2025 Season 1

#2
Martin Dráb Profile Picture

Martin Dráb 231,305 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans