285382: Difference between revisions
No edit summary |
No edit summary |
||
Line 115: | Line 115: | ||
#If Quantity >= ‘To’ Then | #If Quantity >= ‘To’ Then | ||
#Charge Factor set to ‘To’ – ‘From’ + 1 | |||
#Elsif Quantity >= ‘From’ | #Elsif Quantity >= ‘From’ | ||
#Charge Factor set to Quantity – ‘From’ + 1 | |||
#Else | #Else | ||
#Zero | |||
Line 131: | Line 131: | ||
Contract Tier Charge setup as :- | Contract Tier Charge setup as :- | ||
{| style="border-spacing:0;" | |||
| style="border-top:0.018cm solid #000000;border-bottom:0.018cm solid #000000;border-left:0.018cm solid #000000;border-right:none;padding-top:0cm;padding-bottom:0cm;padding-left:0.191cm;padding-right:0.191cm;"| ID Value Per Units From To | |||
| style="border:0.018cm solid #000000;padding-top:0cm;padding-bottom:0cm;padding-left:0.191cm;padding-right:0.191cm;"| WOODS | |||
|- | |||
''' | '''''' | ||
001 10.00 1 CTN 1 1 | 001 10.00 1 CTN 1 1 |
Revision as of 16:30, 11 May 2011
DHL C-MTS
Tiered rates to support Dunelm Multi-Rates
FUNCTIONAL SPECIFICATION - 10.6
- 1.0
Reference: FS 285332 RB-8D9KNR
Client Requirement
To provide flexibility to rate charges against standard, tier'd or fixed amounts by volume.
The business requires the ability to input rates using a mixture of tier'd parameters.Provide functionality that will allow the following for tier'd rates regardless of DU type, for example:qty rate1 £102-4 £95+ £8It is assumed that standard and volume related rates is existing within the application.
Solution
The current multi-rate solution was developed specifically for Pallet rates only. The functionality currently is limited to charging an additional pallet rate after the first pallet for a PO. One of the current limitations is that all Pallet rates have to be configured in the multi-rate format even though not multi-rate agreements. i.e. first at £29 and subsequent at £29.
The contract screen and the rating engine will be changed to allow multi-rate to be set up in a new tiered structure in a generic way at charge level in the Tariff screen so that multi-rate can be configured for any DU type. The rate screen will be modified to allow new values to be configured from the units drop down list on the charges panel. This will allow rates to be configured as per the following examples;
First Pallet £29 – subsequent pallets £27.55
Tier 1 to 52 Pallets
Charge 29.00 per 1 PALLET=1
Charge 27.55 per 1 PALLET>1
First CTN £10, second to fourth £9, fifth+ £8
Tier 1 to 1000 CTN
Charge £10.00 per 1 CTN=1
Charge £ 9.00 per 1 CTN>1<5
Charge £ 8.00 per 1 CTN>4
The change means introducing additional static values into the unit drop down for du type and > and < and = combinations. This will be configured using a new button to allow records to be created in a new pop-up panel, one for each value DU and range and numerical quantities required. Note that the format will be restricted to known DU values concatenated with = x or > x or > x and < x. No spaces will be allowed and no combination of signs, for example >= or <= will not be supported.
Note that the new calculation method is designed to be maintained with (usually) a single Tier at the Tier ID level of the Tariff Detail screen.
For reference, the screen below shows the current Tariff Details screen. This screen will be modified to allow the tiered values (like PALLET>3) to be created from a new button. The Tiered values will then be available in the Units drop down list. A new button called Units Names will be included to allow the user to create charge tier values to appear in the Units drop down list.
The C-TMS rating engine will be modified to process the tiered rates as defined above using DU and signs to define a list of accumulating revenues or costs to apply to the order.
This new functionality will allow the description of charges displayed in the payments screen, the Description field, to continue to be generated to define the method of calculation of each revenue or cost.
Scope
This change will be applied to system version 10.7.
Set-up
Pre-requisites
Rates will be reconfigured to take advantage of the revised tiered charge mechanism.
New database table to store the detailed tiered calculation results per charge tier and DU will be implemented and only populated for DU charge method configured against the customer record.
System Registries
No new system registries required to support this development and implementation.
Functional Description
Contract Maintenance
The latest proposal (as opposed to the original solution specified in the solution section above and estimate document) is to introduce 2 new columns to the Charges section of the Contract maintenance form from the CNT_CHARGE table :-
MULTI_TO NUMBER(3) |
They will be added between the Units and the Charge Type columns with the labels ‘From’ and ‘To’ with the other columns narrowed as necessary to fit them in.
The 2 new fields will only be allowed to be entered/changed if the Units field is set to one of the Dunelm recognised DU Types configured i.e. ‘CTN’, ’BAG’, ’ROLL’, ’OHPAL’, ’OSPAL’, ’OCTN’, ’TOTE’ or ‘PALLET’.
Other units values like fixed, weight, stops and distance will still be available and the respective functionality relating to these charge unit definitions will remain unchanged.
This means that the DU specific qty tiers (from and to) will be available to be used with fixed charges, for example.
Package Changes
The procedure ‘Set_Order_Line_Qty_Params’ in the RATE package will be changed to remove the specific code around the ‘PALLET’ Du type that is currently used to set the quantity to 0.5.
The procedure ‘Apply_Charges’ in the CNT package will be changed for the calculation of the ‘v_charge_factor’ within the get charges loop.
If none of the new fields are populated then the code will remain unchanged and leave the charge factor as the original quantity from the appropriate charge tab as now (or 1 for ‘Fixed’ charges).
- If Quantity >= ‘To’ Then
- Charge Factor set to ‘To’ – ‘From’ + 1
- Elsif Quantity >= ‘From’
- Charge Factor set to Quantity – ‘From’ + 1
- Else
- Zero
Example (as per client requirement section):-
Contract Tier Charge setup as :-
Implementation and Transition
It is assumed that all the current rates will be replaced to reflect the revised tiered data structure utilising the new from and to fields.
Once the rates are re-configured, OBS will run SQL utilities to re-rate all PO orders not yet invoiced.
References
ID Value Per Units From To | WOODS |
|
Document History
Initial version | ||||
Change to use From and To | ||||
Reviewed and Issued | ||||
Authorised By
Dave Meir | Development Manager | |
Peter Greer | TMSCC MTS Product Mgr |