Le 12/02/2016 22:57, Nicolas Malin a écrit :
Le 12/02/2016 11:36, Jacques Le Roux a écrit :
You will manage it later?
If you call a service like that :
<service name="cancelInvoice" engine="entity-auto" default-entity-name="Invoice"
invoke="expire" auth="true">
<description>cancel an Invoice </description>
<auto-attributes mode="IN" include="pk" optional="false"/>
</service>
The invoke name is clear for you ?
If yes, I can improve my code :)
If you mean that it implies it will set the INVOICE_CANCELLED status then yes :)
Ok good response :)
I propose first to validate the process with field date to expire and after
manage the status.
Nicolas
+1
Jacques