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

Insert No. Series Number when "Calculate Plan" Req. worksheet. In NAV 2018

(0) ShareShare
ReportReport
Posted on by 256

Hi, All

I insert the Requisition No. Field[ie. Number Sequence Field] In Req. Worksheet Page [291]. If I insert record manually in Req worksheet Page in Auto increment the Requisition No. , But If I Click Button "Calculate Plan" on Req. Worksheet Page then it  Auto Calculate Plan For Item and Insert the Record. But I want to insert the Requisition No. while Calculate Plan. Like

1018.8.PNG

I debug the Code, But I didn't find when it inserts the Data on Page [291].

Thanks.

*This post is locked for comments

I have the same question (0)
  • NeoMatrix Profile Picture
    256 on at

    I have found that Codeunit that Calculate the plan for the item and Insert Record into Req. worksheet [Page 291] .ie. CU 99000854

    So. In that Codeunit there is a function "LOCAL MaintainPlanningLine()". In that function, I have written code as below

          "Requisition No" := NoSeries.GetNextNo('REQ',WORKDATE,FALSE); // For added no series Number. 

  • Suggested answer
    Suresh Kulla Profile Picture
    50,245 Super User 2025 Season 2 on at

    Subscribe to the OnInsert Event for the Requisition Line table and add your code over there.

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

#1
HoangNam Profile Picture

HoangNam 7

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans