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 :
Microsoft Dynamics NAV (Archived)

Changes for Production Order Status

(0) ShareShare
ReportReport
Posted on by 261

Hi everyone,

I have customize 2 additional fields which are Date from sales order and another field is creation date.This 2 date will captured based on work date.

The field 'date from sales order' is: create new sales order -> firm planned prod.order, meanwhile the fields for creation date is: create new sale order to released prod.order. Now, this 2 field I able to captured the work date individually(meant here: from sales order to firm planned,or sales order to released). Below is the code that i wrote to captured the work date.

IF ProdOrder.Status = ProdOrder.Status::Firm Planned THEN

ProdOrder."Date from sales order" := WORKDATE;

IF ProdOrder.Status = ProdOrder.Status::Released THEN
ProdOrder."creation date" := WORKDATE;

But, when I want to make change status , for example: from sales order -> firm planned prod.order ->change status -> released prod.order directly, the 2 fields not able to captured the work date automatically. And this 2 field will be empty.

So, May I know which codeunit/page I have to make edit? and If want make edit, the code will be same as above that i mentioned?

Thanks.

*This post is locked for comments

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

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Women in Power Builds Momentum

Expanding mentorship, skilling, and AI innovation

Congratulations to the August Top 10 Community Leaders

These are the community rock stars!

Leaderboard > 🔒一 Microsoft Dynamics NAV (Archived)

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans