Quantcast
Viewing all articles
Browse latest Browse all 9880

color in the grid for the form in ax 2012 r2

hi guys i am trying to fill the color for the production order based on status but the we have to write this code over there public void displayOption(Common _record, FormRowDisplayOption _options) { prodtable prodtablelocal; prodtablelocal = _record; Switch(prodtablelocal.ProdStatus) { Case ProdStatus::Created: _options.backColor(6029311); //Light Yellow _options.textColor(12582912); //Blue Break; Case ProdStatus::Completed: _options.backColor(16761281); //Light Blue _options.textColor(12582912); //Blue Break; } } but when i go to the datasource i am not getting any option to override the datasource please note the datasource property is allow edit :no, allow create no, insert at end no , insert at empty no

Viewing all articles
Browse latest Browse all 9880

Trending Articles