diff --git a/applications/accounting/minilang/rate/RateServices.xml b/applications/accounting/minilang/rate/RateServices.xml index e075240ffe..403933a1d2 100644 --- a/applications/accounting/minilang/rate/RateServices.xml +++ b/applications/accounting/minilang/rate/RateServices.xml @@ -127,7 +127,15 @@ under the License. 3. for specific rateTypeId, emplPositionTypeId (emplPositionType) 4. for specific rateTypeId (rateType) - Then will be checked if the requested periodTypeId and currency can be found, if not issue an error message + Then, the results are filtered to improve the result. If you pass a workEffortId and a partyId, + the service will first search the list of all the rateAmount with the specified workEffortId. Then, if + there is at least one rateAmount with same partyId than the one in the parameter in the list, the list will + be reduced to those entries. + At the end, the first record of the list is chosen. + + For a easier debugging time, there is a log triggered when no records are found for the input. This log + shows up when there are rateAmounts corresponding to the input parameters without the rateCurrencyUomId and + the periodTypeId. --> @@ -144,150 +152,67 @@ under the License. - - - - - - - - - - + + + + + + + - - - + - - - - - - - - - - - + + + + + + + - - - + + - - - - - - - - - - - + + + + + + + + - - + + - + + + - + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + @@ -297,7 +222,150 @@ under the License. + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/applications/accounting/servicedef/services_rate.xml b/applications/accounting/servicedef/services_rate.xml index 5eae859930..7b74a420d8 100644 --- a/applications/accounting/servicedef/services_rate.xml +++ b/applications/accounting/servicedef/services_rate.xml @@ -49,6 +49,45 @@ under the License. + + Get all Rates Amounts for a given workEffortId + + + + + + + + + Get all Rates Amounts for a given partyId + + + + + + + + + Get all Rates Amounts for a given emplPositionTypeId + + + + + + + + + Get the most specific non-empty Rate Amount list from a list of Rate Amount, given the input parameters : + workEffortId, partyId, emplPositionTypeId and rateTypeId + + + + +