I am aware in a customization how to add a decimal field to a form but a novice at the code to show a calculation.
When looking at the Sales Order Entry screen there is a summary box that shows the cost, the discount and the Miscellaneous. We need to add a field to show what the total cost would be minus the discount.
I am guessing this would be C# code on the form but no clue how to write it. The information does not have to be an Epicor field. Just one that calculates when opened.
You could create OnChange events on those fields that are used to calc what you want to display.
The Event Wizard won’t let you make an even on a native control. But you can make one on your newly added field, and then copy the code to create the event system for the native controls.
See:
In the event handlers for your two fields, you would calc the value you want to display, and set it in your custom control.
Hi mate,
this is an example on PO Entry adding a view field to the form at PO details then fill it with decimal value which is a summation of releases qty