I try to add fields from "Ledger Entry Dimension" to a form based on "Job Ledger Entry" by this code on the OnAfterGetRecord() of the form (t355 var. points to "Ledger Entry Dimension":
t355.reset;
t355.setrange(t355."Table ID",169);
t355.setrange(t355."Entry No.","Entry No.");
t355.setrange(t355."Dimension Code",'ACTIVIDAD');
IF t355.FIND('-') THEN;
then I added the t355."Dimension Value Code" field to the form, but when I run the form, this field is empty. What is wrong with that?
thanks.
0
Comments
-Mohana
http://mohana-dynamicsnav.blogspot.in/
https://www.facebook.com/MohanaDynamicsNav
Check the trigger and the variables once again...
Regards,
Raveendran.BS
I have tried adding "clear(t355);" like you, but still have the same problem.
when I add the field to the form, I just fill the "SourceExpr" with t355."Dimension Value Code". Do you change anything else on the field or anywhere else?
thanks
BTW, which version you are using?
Are you sure you have data with your filter? :-k
-Mohana
http://mohana-dynamicsnav.blogspot.in/
https://www.facebook.com/MohanaDynamicsNav
problem solved it was as expected a stupid problem: 'ACTIVIDADES" instead of 'ACTIVIDAD'
Thanks