Skip to content

Commit

Permalink
Removed UpgradeServices.java and services_upgrade.xml files, and also…
Browse files Browse the repository at this point in the history
… removed the oldInvoiceSequenceEnumId, oldOrderSequenceEnumId, and oldQuoteSequenceEnumId references from the Groovy script. [OFBIZ-12858]
  • Loading branch information
pushprajsinghjadoun committed Jul 19, 2024
1 parent 1533626 commit 58caff2
Show file tree
Hide file tree
Showing 4 changed files with 0 additions and 102 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -43,14 +43,6 @@ Map getNextInvoiceId() {
GenericValue customMethod = partyAcctgPreference.getRelatedOne('InvoiceCustomMethod', true)
if (customMethod) {
customMethodName = customMethod.customMethodName
} else {
//retrieve service from deprecated enumeration see OFBIZ-3765 beware of OFBIZ-3557
if (partyAcctgPreference.oldInvoiceSequenceEnumId == 'INVSQ_ENF_SEQ') {
customMethodName = 'invoiceSequenceEnforced'
}
if (partyAcctgPreference.oldInvoiceSequenceEnumId == 'INVSQ_RESTARTYR') {
customMethodName = 'invoiceSequenceRestart'
}
}
} else {
logWarning("Acctg preference not defined for partyId [${parameters.partyId}]")
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -44,8 +44,6 @@ Map getNextOrderId() {

if (customMethod) {
customMethodName = customMethod.customMethodName
} else if (partyAcctgPreference && partyAcctgPreference.oldOrderSequenceEnumId == 'ODRSQ_ENF_SEQ') {
customMethodName = 'orderSequence_enforced'
}

String orderIdTemp
Expand Down
37 changes: 0 additions & 37 deletions applications/party/servicedef/services_upgrade.xml

This file was deleted.

This file was deleted.

0 comments on commit 58caff2

Please sign in to comment.