Has anybody managed to have the value of a FlowField exported via an xmlport in 4.0? E.g. the Balance field in the G/L Account table.
According to all available documentation, FlowFields can be calculated via the CalcFields property. Alternatively, I suppose you could write some code in the different XMLPort triggers. No matter what I try, the value is always 0. Any suggestions or samples??
BR,
Groover
0
Comments
A simple solution is:
1. Assign a value to the VariableName property of the XMLPort DataItem <G/L Account>: e.g. GLAcc
2. Make sure your XMLPort fields are defined as "GLAcc::Balance";
3. In the OnAfterGetRecord trigger of the dataitem, write:
GLAcc.calcfields(Balance);
But what about the CalcField property?
Groover
MVP - Dynamics NAV
My BLOG
NAVERTICA a.s.