Nicolas Malin created OFBIZ-13085:
-------------------------------------

             Summary: Convert InvoiceServices.xml from mini-lag to Groovy
                 Key: OFBIZ-13085
                 URL: https://issues.apache.org/jira/browse/OFBIZ-13085
             Project: OFBiz
          Issue Type: Sub-task
          Components: accounting/invoice
            Reporter: Nicolas Malin
            Assignee: Nicolas Malin


Convert following services to groovy :
* createInvoice
* copyInvoice
* getInvoice
* updateInvoice
* setInvoiceStatus
* copyInvoiceToTemplate
* checkInvoiceStatusInProgress
* createInvoiceItem
* updateInvoiceItem
* removeInvoiceItem
* sendInvoicePerEmail
* autoGenerateInvoiceFromExistingInvoice
* cancelInvoice
* getInvoiceRunningTotal
* addTaxOnInvoice
* getInvoicesFilterByAssocType
* removeInvoiceItemAssocOnCancelInvoice
* resetOrderItemBillingAndOrderAdjustmentBillingOnCancelInvoice
* massChangeInvoiceStatus
* createInvoiceFromOrder
* isInvoiceInForeignCurrency
* removePaymentApplication (move to payment package)

These services to entity-auto :
* createInvoiceRole
* removeInvoiceRole
* createInvoiceTerm
* createInvoiceContent
* updateInvoiceContent

Introduce new services :
* checkInvoiceStatusInProgress
* createInvoiceContentAndUpdateContent
* updateInvoiceContentAndContent

checkInvoiceStatusInProgress have been added as permission service to autorize 
or not edit service on invoice.
createInvoiceContentAndUpdateContent and updateInvoiceContentAndContent have be 
added to manage both entity InvoiceContent and Content, and let 
createInvoiceContent and updateInvoiceContent as crud service



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to