Skip to content

Commit

Permalink
Improved: Convert WorkEffortServices.xml mini-lang to groovyDSL (OFBI…
Browse files Browse the repository at this point in the history
…Z-12965)

Convert the following service :
   * createWorkEffort
   * updateWorkEffort
   * deleteWorkEffort
   * copyWorkEffort
   * createWorkEffortAndPartyAssign

createWorkEffort contains too functionnal logic on the base code so split it on different services and introduce :
   * assocAcceptedCustRequestToWorkEffort, run throught seca
   * createWorkEffortStatus

createWorkEffortAndPartyAssign use the entity-auto logic so create services createWorkEffortPartyAssignment, updateWorkEffortPartyAssignment and expireWorkEffortPartyAssignment to make them more generic
  • Loading branch information
nmalin committed Mar 26, 2024
1 parent 713445a commit 2c370a6
Show file tree
Hide file tree
Showing 5 changed files with 251 additions and 298 deletions.
14 changes: 7 additions & 7 deletions applications/workeffort/config/WorkEffortUiLabels.xml
Original file line number Diff line number Diff line change
Expand Up @@ -4870,13 +4870,13 @@
<value xml:lang="zh-TW">狀態</value>
</property>
<property key="WorkEffortStatusChangeNotValid">
<value xml:lang="ar">إن تحويل الحالة من ${lookedUpValue.currentStatusId} الى ${parameters.currentStatusId} هو تحويل غير مسموح به</value>
<value xml:lang="en">The status change from ${lookedUpValue.currentStatusId} to ${parameters.currentStatusId} is not a valid change</value>
<value xml:lang="it">Il cambio di stato da ${lookedUpValue.currentStatusId} a ${parameters.currentStatusId} non è consentito</value>
<value xml:lang="ja">ステータス ${lookedUpValue.currentStatusId} から ${parameters.currentStatusId} へ変更は正しくありません。</value>
<value xml:lang="vi">Trạng thái thay đổi từ ${lookedUpValue.currentStatusId} đến ${parameters.currentStatusId} là không hợp lệ</value>
<value xml:lang="zh">从 ${lookedUpValue.currentStatusId} 到 ${parameters.currentStatusId} 不是一个有效的状态改变</value>
<value xml:lang="zh-TW">從 ${lookedUpValue.currentStatusId} 到 ${parameters.currentStatusId} 不是一個有效的狀態改變</value>
<value xml:lang="ar">إن تحويل الحالة من ${statusId} الى ${statusIdTo} هو تحويل غير مسموح به</value>
<value xml:lang="en">The status change from ${statusId} to ${statusIdTo} is not a valid change</value>
<value xml:lang="it">Il cambio di stato da ${statusId} a ${statusIdTo} non è consentito</value>
<value xml:lang="ja">ステータス ${statusId} から ${statusIdTo} へ変更は正しくありません。</value>
<value xml:lang="vi">Trạng thái thay đổi từ ${statusId} đến ${statusIdTo} là không hợp lệ</value>
<value xml:lang="zh">从 ${statusId} 到 ${statusIdTo} 不是一个有效的状态改变</value>
<value xml:lang="zh-TW">從 ${statusId} 到 ${statusIdTo} 不是一個有效的狀態改變</value>
</property>
<property key="WorkEffortStatusIdMissing">
<value xml:lang="en">Current Status ID is missing.</value>
Expand Down
Loading

0 comments on commit 2c370a6

Please sign in to comment.