Hi,
maybe there are some problem in the definition of flow field or in some table used for the flow field definition (i.e. keys). Try to recompile all object.
byebye
I'm accessing the Item table and tried to update the Inventory field, therefore Calcfields should be used. But, I don't know where I get wrong, everything is working except for this function.
I'm accessing the Item table and tried to update the Inventory field, therefore Calcfields should be used. But, I don't know where I get wrong, everything is working except for this function.
If I understand this correctly, you are trying to modify the value of the Inventory Field on the Item Card. This is not possible, The Inventory field is a calcfield, it shows the cummulative value of Quantity in the Item Ledger Entry table.
True, I want to update Inventory field, but knowing its a flowfield of course I won't be able to update the value of the field directly, therefore i have to use the CALCFIELDS function isn't it? What Im doing actually is access the Item table from another database through C/Front, but using calcfield doesn't work, it returns the error something like "..Note Implemented". what could be wrong?
But this problem exists not only in Navision. Same problem with .NET, SQL Server and other technologies. Looks like it's just impossible to read documentation first.
Probably because analysts, bosses, customers are pushing us developers to produce and not lose time on reading/studying.
Regards,Alain Krikilion No PM,please use the forum. || May the <SOLVED>-attribute be in your title!
Comments
maybe there are some problem in the definition of flow field or in some table used for the flow field definition (i.e. keys). Try to recompile all object.
byebye
Manila, Phils.
Manila, Phils.
If I understand this correctly, you are trying to modify the value of the Inventory Field on the Item Card. This is not possible, The Inventory field is a calcfield, it shows the cummulative value of Quantity in the Item Ledger Entry table.
To be exact..............
Sum("Item Ledger Entry".Quantity WHERE (Item No.=FIELD(No.),Global Dimension 1 Code=FIELD(Global Dimension 1 Filter),Global Dimension 2 Code=FIELD(Global Dimension 2 Filter),Location Code=FIELD(Location Filter),Drop Shipment=FIELD(Drop Shipment Filter),Variant Code=FIELD(Variant Filter),Lot No.=FIELD(Lot No. Filter),Serial No.=FIELD(Serial No. Filter)))
My code is this
I think the error is on the third argu(FieldsToCalculate) that I am passing in the cfront.
Question : What must I pass to this argu? the field name or the Field No? What is the data type must I pass?
Thanks in Advance
True, I want to update Inventory field, but knowing its a flowfield of course I won't be able to update the value of the field directly, therefore i have to use the CALCFIELDS function isn't it? What Im doing actually is access the Item table from another database through C/Front, but using calcfield doesn't work, it returns the error something like "..Note Implemented". what could be wrong?
Manila, Phils.
Manila, Phils.
No PM,please use the forum. || May the <SOLVED>-attribute be in your title!
No PM,please use the forum. || May the <SOLVED>-attribute be in your title!