erp - Auto set active subitem segment value in Stock Item screen -


how can set active sub-item segments in subitems tab stock items screen using code ? insubitemsegmentvalue class not contain active field...

here's solution

pxcache cache = base.caches[typeof(insubitemsegmentvaluelist.svalue)];  foreach (insubitemsegmentvaluelist.svalue item in cache.cached) {     item.active = true;     cache.update(item); } 

Comments

Popular posts from this blog

javascript - three.js lot of meshes optimization -

smartface.io - Proper way to change color scheme for whole application -

Email notification in google apps script -