Mam, I tried this example but it shows Zero(0) as a result. action(calcfield) { ApplicationArea = All; Promoted = true; trigger OnAction() begin IF (customer.Find('-') = true) then repeat customer.CalcFields(Balance, "Net change"); until (customer.Next = 0); Message('Net Change %1',customer.Balance) end; }
Hi mam I have added custom calcfield fields in sales header i want to those fields are flow till posted sales inv , posted sales shipment . How to flow it
With repeat.. untill it will reach the last record and just printed the balance of customer. What is the purpose of using calcfields and setautocalcfields here? And more thing what type of calculation we are performing here? Please explain.
In the video, the use of calcfields and setautocalcfields in a repeat-until loop is demonstrated to explain how these functions work with flow fields in Microsoft Dynamics 365 Business Central.
Hi how to calculate the flow field? For example there are 10 passed boolean true and 5 failed boolean true then how can I put them in a separate field like passed 10. Failed 5. Anyone?
Are you talking about only the fields or data? Fields cannot be transferred, because both are base tables. you cannot edit the existing table. Please check whether this page is useful for you: community.dynamics.com/business/f/dynamics-365-business-central-forum/386982/send-field-value-item-to-item-ledger-entries-table-and-page If not, please brief your expectation.
Thankyou so much ma'am please make videos on procedures and functions
Sure. Welcome
Mam, I tried this example but it shows Zero(0) as a result.
action(calcfield)
{
ApplicationArea = All;
Promoted = true;
trigger OnAction() begin
IF (customer.Find('-') = true) then repeat customer.CalcFields(Balance, "Net change");
until (customer.Next = 0); Message('Net Change %1',customer.Balance)
end;
}
Hope your table holds some data. Please check
Hi mam I have added custom calcfield fields in sales header i want to those fields are flow till posted sales inv , posted sales shipment . How to flow it
Can you please elaborate more?
With repeat.. untill it will reach the last record and just printed the balance of customer. What is the purpose of using calcfields and setautocalcfields here? And more thing what type of calculation we are performing here? Please explain.
In the video, the use of calcfields and setautocalcfields in a repeat-until loop is demonstrated to explain how these functions work with flow fields in Microsoft Dynamics 365 Business Central.
how can I find difference between two dates in a flow field ?
Please refer to this document: learn.microsoft.com/en-us/dynamics365/business-central/dev-itpro/developer/devenv-flowfields
alright thanks
@@gomstechtalks
Hi how to calculate the flow field? For example there are 10 passed boolean true and 5 failed boolean true then how can I put them in a separate field like passed 10. Failed 5. Anyone?
Can you share the code for better understanding?
Hi ma'am please tell us how can we transfer fields from sales line to item ledger entries
Are you talking about only the fields or data?
Fields cannot be transferred, because both are base tables. you cannot edit the existing table.
Please check whether this page is useful for you: community.dynamics.com/business/f/dynamics-365-business-central-forum/386982/send-field-value-item-to-item-ledger-entries-table-and-page
If not, please brief your expectation.
Can you give business Central training mam?
Hi Manohar, I am not giving BC training.
@@gomstechtalks ok Mam your videos are so helpful thanks for your wonderful time Mam
Thank you so much.