Hello everyone,
I hope, I'm not double-posting, but I didn't find anything.
Here's my problem: I'm trying to create a FlowField on the "Purchase Line", giving me the "Remaining Quantity" for a specific item in the current month (and for the next month in another FlowField). Is that even possible? I don't know what to put in the Calculation Formula for my FlowField.
Thank you very much for your support.
Greetings,
Sascha
0
Comments
My Blog - nav.education
It is not possible using FlowField definition not involving any FlowFilter at all, it is also impossible using FlowFiled+FlowFilter fields without coding. You will have to use some code on the form as well.
Your FlowField must in include something like: Posting Date=FIELD(Date Filter). The code on the form (in OnAfterGetRecord on list form or OnAfterGetCurrentRecord on Card Form) should look like:
SETRANGE("Date Filter", CALCDATE('<-CM>', WORKDATE), CALCDATE('<CM>', WORKDATE));
Dynamics NAV, MS SQL Server, Wherescape RED;
PRINCE2 Practitioner - License GR657010572SG
GDPR Certified Data Protection Officer - PECB License DPCDPO1025070-2018-03
I advice you to rethink your solution. Could you tell us what you want to achieve, maybe we can come up with a more NAVvy solution.
|To-Increase|