web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

No record found.

News and Announcements icon
Community site session details

Community site session details

Session Id :
Finance | Project Operations, Human Resources, ...
Answered

Create Route Card Journal + line + Post by X++

(0) ShareShare
ReportReport
Posted on by 46

Hello All,

I want to create a Route card journal to RAF all nonFinished operations of a selected production by x++.

Date (current), OprNum, Quantity, Operation Complete are going to be set by code.

pastedimage1588251196522v1.png

I have the same question (0)
  • Allen Dejoux Profile Picture
    Microsoft Employee on at

    Hi,

    Can you clarify your question ? What is the business purpose?

  • CBNestor Profile Picture
    46 on at

    Hi Allen,

    Our company behaves differently from what standard AX job registration is meant to be.

    instead of waiting for the workers to RAF their jobs. When need the Production Manager to RAF as/when they consider pertinent.

    I have already developed a button to stop all active jobs as for the manager to RAF production with the amount of hours accrued at that moment. but I also want to the routes to be finished. instead of letting the production manager to make journals for every production he needs to finish.

    thanks a lot for your help. I really appreciate a hand with this

  • Verified answer
    CBNestor Profile Picture
    46 on at

    I found this code from Priyanka which am testing and is looking good so far. Just Need A hand with the applying the resource https://community.dynamics.com/365/financeandoperations/b/dynamicsofax/posts/ax2012-r2-cu7-x-code-to-create-and-post-route-card-journal-for-production-order

    ProdRoute.WrkCtrIdCost returns empty value. if I select the Opr Num manually in the Routecard Journal Line it gets the Resource/workCtrId automatically. How can I get it by code?

    pastedimage1588582998742v1.png

  • Suggested answer
    CBNestor Profile Picture
    46 on at

    The Code from Priyanka is working perfect for what I need. Please someone to change this thread as Solved

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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Stars!

Meet the Microsoft Dynamics 365 Contact Center Champions

We are thrilled to have these Champions in our Community!

Congratulations to the March Top 10 Community Leaders

These are the community rock stars!

Leaderboard > Finance | Project Operations, Human Resources, AX, GP, SL

#1
Giorgio Bonacorsi Profile Picture

Giorgio Bonacorsi 681

#2
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 446 Super User 2026 Season 1

#3
Syed Haris Shah Profile Picture

Syed Haris Shah 202 Super User 2026 Season 1

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans