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

Notifications

Announcements

No record found.

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
    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

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Neeraj Kumar – Community Spotlight

We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…

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

#1
Martin Dráb Profile Picture

Martin Dráb 611 Most Valuable Professional

#2
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 529 Super User 2025 Season 2

#3
Sohaib Cheema Profile Picture

Sohaib Cheema 285 User Group Leader

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans