I want to update Payment,balance,Net change fields by using Action Button on page.
I used below mentioned code. but its updating Name, adress and "No." Fields only.
I want to update Payment,balance,Net change fields by using Action Button on page.
I used below mentioned code. but its updating Name, adress and "No." Fields only.
A bit hard to overlook with only seeing part of your AL code.
Are any of the fields i the CustTable defined as flowfields?
If so you need to make them ordinary fields if you want to use your approach.
You probably get the error because your are trying to assign a value to a flowfield.
But i still think you should create your page with the Customer table as your source table instead of your CustTable as the source table.
After trying your solution, i get this message
"A flow field is part of the query column list, this is not supported"
Some of the fields you are using here are flowfields so you need to do a calcfields(Balance,"Net Change",Paymentys,"Balance Due");
Before you can use the values of those fields.
Put the calcflields command on the top of your repeat loop. f.ex.
But why are you using a spesific CustTable and not the customer record directly in your form?
Stay up to date on forum activity by subscribing. You can also customize your in-app and email Notification settings across all subscriptions.
André Arnaud de Cal... 290,558 Super User 2024 Season 2
Martin Dráb 228,647 Most Valuable Professional
nmaenpaa 101,148