285584
285584 - JC-8DJMDH/ Zero Internal Charges
Copyright OBS Logistics © 2010
The information contained herein is the property of OBS Logistics and is supplied without liability for errors or omissions. No part may be reproduced or used except as authorised by contract or other written permission. The copyright and foregoing restriction on reproduction and use extend to all media in which the information may be embodied
FUNCTIONAL OVERVIEW
Client Requirement
Change Request Summary:
Further to Development PA-7XQD87 Internal Charging from Cross Dock the need has been discovered to allow code to accept a 0 quantity and return no internal charge for the order
Change Request Details:
Currently if the despatched quantity is set to 0 for an order then the system will return an error of 'Charge Tier defining parameter is zero: RPE for Tariff: 73491. Need the code to accept that where quantity is 0 that no internal charge is raised
Benefits identified as a result of the change:
Required as a result of Stanton customers order processes
Solution
Currently, if a zero quantity is passed to the internal charging code, an error is returned and the user is unable to set the status of the trip. We intend to allow the code to accept 0 as a quantity and not cause an error. No internal charges will be created but the trip status will be updated as required.
In the RATE package there are two procedures specific to internal charging; RATE.Calc_Trunk_Order_Costs and RATE.Calc_ Radial_ Order_Costs. Currently, if the call to the contract package to get get charges returns false, then both these procedures will return false and the set status change is cancelled.
In the contract procedure CNT.Apply_charges, the quantity is checked and an error returned. This procedure will be amended to allow 0 quantities and return without an error. In the rate packages, the two procedures will be amended to allow the charges to be accepted as zero without causing an error.
This will require significant testing to ensure that allowing the code to continue does not generate incorrect payments for all scenarios where the contract package is called.
REFERENCES
EST-285584 - JC-8DJMDH/ Zero Internal Charges.doc |