I want to copy field Invoice Note in Invoices to Sales Orders and whenever this field is updated in Invoices, the field in Sales Orders should be updated with same value.
What happen in my mind: create a custom field in Sales Orders, then implement Event Handler FieldUpdated of the field “Invoice Note” set value for custom field.
However, I don’t if it is possible and how to set value for custom field in Sales Order in Event Handler.
I am a newbie for Acumatica so I don’t have much knowledge about this, I have a concern that why don’t we use event FieldUpdate? It should be more efficient than an event on Row (e.g: RowPersisting)
FieldUpdated event is triggered when, indeed, a field value has changed. It is not a matter of efficiency. In my example I am saying that the description will be copied “only” when the invoice is saved. This way I guarantee that I will have the last value specified by the user copied over.
I suggest you engage in the training courses provided by Acumatica where all these details are explained with really good examples and exercises
FieldUpdated event is triggered when, indeed, a field value has changed. It is not a matter of efficiency. In my example I am saying that the description will be copied “only” when the invoice is saved. This way I guarantee that I will have the last value specified by the user copied over.
I suggest you engage in the training courses provided by Acumatica where all these details are explained with really good examples and exercises
We use 3 different kinds of cookies. You can choose which cookies you want to accept. We need basic cookies to make this site work, therefore these are the minimum you can select. Learn more about our cookies.