Skip to main content

Notifications

Small and medium business | Business Central, N...
Unanswered

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

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.
Categories:
  • 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

December Spotlight Star - Muhammad Affan

Congratulations to a top community star!

Community AMA December 12th

Join us as we continue to demystify the Dynamics 365 Contact Center

New! Quick response templatesâš¡

Save time with the new custom templates!

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 291,219 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 230,056 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans