i have a field location type in location table. now i wanna show total inventory along with location type.
a location type can have multiple locations assigned.
Using RecordRef and FieldRef you can get the optionstring and optioncaption strings of a field, and using some string functions you can determine the number of the options within it.
Following example will show you the options of the field "costing method" of the item table :
Comments
-Mohana
http://mohana-dynamicsnav.blogspot.in/
https://www.facebook.com/MohanaDynamicsNav
Can you explain with one example?
-Mohana
http://mohana-dynamicsnav.blogspot.in/
https://www.facebook.com/MohanaDynamicsNav
a location type can have multiple locations assigned.
-Mohana
http://mohana-dynamicsnav.blogspot.in/
https://www.facebook.com/MohanaDynamicsNav
isn't any function to count no. of option?
http://blogs.msdn.com/b/nav/archive/2009/08/28/building-a-matrix-report-in-microsoft-dynamics-nav-2009-sp1.aspx
-Mohana
http://mohana-dynamicsnav.blogspot.in/
https://www.facebook.com/MohanaDynamicsNav
Following example will show you the options of the field "costing method" of the item table :
Variables : recref = Recordref, fref = fieldref ;
thanks a lot.