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

  • Suggested answer
    Suresh Kulla Profile Picture
    47,773 on at
    RE: Insert No. Series Number when "Calculate Plan" Req. worksheet. In NAV 2018

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

  • NeoMatrix Profile Picture
    256 on at
    RE: Insert No. Series Number when "Calculate Plan" Req. worksheet. In NAV 2018

    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. 

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

🌸 Community Spring Festival 2025 Challenge Winners! 🌸

Congratulations to all our community participants!

Adis Hodzic – Community Spotlight

We are honored to recognize Adis Hodzic as our May 2025 Community…

Kudos to the April Top 10 Community Stars!

Thanks for all your good work in the Community!

Leaderboard > Microsoft Dynamics NAV (Archived)

Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans