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)

How to get value from a field in a page to another page on respective fields in d365bc cloud ?

(0) ShareShare
ReportReport
Posted on by 339

Dear experts ,

How to get value from a field in a page to another page on respective fields in d365bc cloud ?Please find below screenshot when i select batch name  i want to fetch data from PAGE1 (CUTBACK BACTH) to pag2(CUTBACK PROCESS) on respective fields (BILL CODE ,LICENSE ).Please advise me how to do this using vs code

fetchdata.PNG

*This post is locked for comments

I have the same question (0)
  • Suggested answer
    Saurav.Dhyani Profile Picture
    14,419 User Group Leader on at

    In the same way as you will it in CAL. Its not diffrent that writing code in CAL.

  • SABIH Profile Picture
    339 on at

    Hello Saurav Dhyani

    could you please provide vs code for this accordingly i can understand the flow

  • SABIH Profile Picture
    339 on at

    Hello  Saurav Dhyani ,

    I just tried but below my code is not working for geting value one page to another page on respective fields ,please check my below vs code

        trigger OnInsert()

       begin

           fetchdatatocutbackprocess();

       end;

    procedure fetchdatatocutbackprocess()

       var

           cutbackbatch: Record "CutBackBatchTable";

           cutbackprocess: Record "CutBackProcessTable";

       begin

           cutbackprocess."Bill Code" := cutbackbatch."Bill Code";

           cutbackprocess."License" := cutbackbatch."License";

           cutbackbatch.Init();

       end;

  • Suggested answer
    Teddy Herryanto (That NAV Guy) Profile Picture
    14,306 Super User 2026 Season 1 on at

    The cutbackbatch record is still empty. You will need to use GET, FINDFIRST, or pass the record as parameter (depending on what you want to achieve).

  • SABIH Profile Picture
    339 on at

    Hi teddy ,

    can you share me as vs code here from above the screenshot

  • SABIH Profile Picture
    339 on at

    Hello Teddy ,

    Please see below my code is not working kindly advise me how to do this

    trigger OnAction()

                       var

                           cutbackbatch: Record "CutBackBatchTable";

                       begin

                           cutbackbatch.Reset();

                           cutbackbatch.SETRANGE("Bill Code", "Bill Code");

                           if cutbackBatch.FINDSET then

                               repeat

                               //cutbackbatch.INIT;

                               //cutbackbatch.VALIDATE("License", "License");

                               until cutbackBatch.NEXT = 0;

                       end;

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 April Top 10 Community Leaders

These are the community rock stars!

Leaderboard > 🔒一 Microsoft Dynamics NAV (Archived)

#1
TAHER_El_Mehdi Profile Picture

TAHER_El_Mehdi 2

#1
sliderxb Profile Picture

sliderxb 2

#1
broberts Profile Picture

broberts 2

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans