Skip to main content

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Small and medium business | Business Central, N...
Unanswered

How to insert value in field from one page to another in business central

(0) ShareShare
ReportReport
Posted on by 153
Hi Guys,
 I have 2 tables: Usage Statics Configuration & Usages static.
my 1st table gets the count of each record. like if i have 5 customers then my count is 5.
but I want to store/insert this count to my 2 table i.e., Usages static on the  field record count.
and for this process generates through processing report. so I have create one processing report.
output: when this report runs, the all the records of Usage Statics Configuration will insert into my 2nd table i.e.  Usages static. table as shown below img:
 
 
I get wrong count & also repeated lines are inserted. In my usage static config table there is only 2 records.
 
 
Below this 2 records will be inserted into the above usage statistics tale with count.
 
Is any way to do this.
  • T_Mauser Profile Picture
    T_Mauser 397 User Group Leader on at
    How to insert value in field from one page to another in business central
    Hi, can you provide the full report?
     
    I don't get it why you create new variables, when you run a OnAfterGetRecord() trigger - in that case you have at least one dataitem as reference.
    If it's just for processing maybe a simple codeunit would be easier to implement.
     
    When I get it right then the goal is to get data (Integer) into a new table. 
     
     
    Tom

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

Announcing Our 2025 Season 1 Super Users!

A new season of Super Users has arrived, and we are so grateful for the daily…

Vahid Ghafarpour – Community Spotlight

We are excited to recognize Vahid Ghafarpour as our February 2025 Community…

Tip: Become a User Group leader!

Join the ranks of valued community UG leaders

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 292,494 Super User 2025 Season 1

#2
Martin Dráb Profile Picture

Martin Dráb 231,309 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans