Hi,
I have problem, because i would like get FlowField(Cost Amount (Expected)) from table : Item Ledger Entry to my report.
My code:
Variables: Cost - decimal.
CALCFIELDS(Cost Amount (Expected));
Cost:=Cost Amount (Expected);
But it doesn't work,
Plese give me answer.
Thanks,
James
0
Comments
http://msdn.microsoft.com/en-us/library/dd338975.aspx
ex/
[Ok :=] Record.CALCFIELDS(Field1, [Field2],...)
ILE.CALCFIELDS("Adjusted Cost (Expected)");
Are you just getting a zero or are you getting an error?
make sure you test it on a entry that actually has a value.
http://www.BiloBeauty.com
http://www.autismspeaks.org
I don't know where is the problem.
James
Can we assume this "cost" variable is the Sourcexp of a textbox that exists in the body of the report?
Are you testing the report with a ILE that actually has a value. Note that field doesn't always contain a value.
Perhaps you'r looking to do more of a.....
Unless you're just trying to find the ILE that are not zero.
http://www.BiloBeauty.com
http://www.autismspeaks.org
I used variable: Cost in a report.
I will try..
Thanks
http://www.BiloBeauty.com
http://www.autismspeaks.org
James
Find an item that you are sure has a value in that field and test it.
http://www.BiloBeauty.com
http://www.autismspeaks.org
Correct field is ;Cost Amount (Actual)
Thanks for your helps.
James:)
ILE can grow really large I like to throw a SETCURRENTKEY line in to help speed it up.
ex/
SETCURRENTKEY("Item No.","Variant Code","Drop Shipment","Location Code","Bin Code","Posting Date");
http://www.BiloBeauty.com
http://www.autismspeaks.org