Hai All,
I was trying to do percentage calculation for "baseamount" in orderproduct entity, for that i create one custom field (single line text) add give the value:
eg: (i) if custome field value is 4 means.i want to calculate: baseamount*4/100;
(i) if custome field value is 5 means.i want to calculate : baseamount*5/100;
for this i did the following steps,
(i) Create the plugin
(ii) Add a step->update salesorderdetail->field->baseamount
but,the problem is,the entity does not contain my custom attribute,if i register my plugin in create means i can get my field but in this case i get the baseamount value is 0.
so, how can i get the custom filed while baseamount updated using plugin......
Thanks...