<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en-GB">
	<id>https://calidusassist.adcservices.apteancloud.com/calidus-assist/MTS/index.php?action=history&amp;feed=atom&amp;title=285584</id>
	<title>285584 - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://calidusassist.adcservices.apteancloud.com/calidus-assist/MTS/index.php?action=history&amp;feed=atom&amp;title=285584"/>
	<link rel="alternate" type="text/html" href="https://calidusassist.adcservices.apteancloud.com/calidus-assist/MTS/index.php?title=285584&amp;action=history"/>
	<updated>2026-05-14T12:35:11Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.39.8</generator>
	<entry>
		<id>https://calidusassist.adcservices.apteancloud.com/calidus-assist/MTS/index.php?title=285584&amp;diff=3193&amp;oldid=prev</id>
		<title>DuttonT: New page: =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 error...</title>
		<link rel="alternate" type="text/html" href="https://calidusassist.adcservices.apteancloud.com/calidus-assist/MTS/index.php?title=285584&amp;diff=3193&amp;oldid=prev"/>
		<updated>2011-05-12T08:57:33Z</updated>

		<summary type="html">&lt;p&gt;New page: =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 error...&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;=285584 - JC-8DJMDH/  Zero Internal Charges=&lt;br /&gt;
&lt;br /&gt;
Copyright OBS Logistics © 2010&lt;br /&gt;
&lt;br /&gt;
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&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=FUNCTIONAL OVERVIEW=&lt;br /&gt;
&lt;br /&gt;
==Client Requirement==&lt;br /&gt;
&lt;br /&gt;
Change Request Summary:&lt;br /&gt;
&lt;br /&gt;
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&lt;br /&gt;
&lt;br /&gt;
Change Request Details:&lt;br /&gt;
&lt;br /&gt;
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. &lt;br /&gt;
Need the code to accept that where quantity is 0 that no internal charge is raised&lt;br /&gt;
&lt;br /&gt;
Benefits identified as a result of the change:&lt;br /&gt;
&lt;br /&gt;
Required as a result of Stanton customers order processes&lt;br /&gt;
&lt;br /&gt;
==Solution==&lt;br /&gt;
&lt;br /&gt;
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.&lt;br /&gt;
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.&lt;br /&gt;
&lt;br /&gt;
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.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
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.&lt;br /&gt;
&lt;br /&gt;
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.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=REFERENCES=&lt;br /&gt;
&lt;br /&gt;
{| Border=&amp;quot;1&amp;quot;	&lt;br /&gt;
| &amp;lt;center&amp;gt;'''Ref No'''&amp;lt;/center&amp;gt;&lt;br /&gt;
| &amp;lt;center&amp;gt;'''Document Title &amp;amp; ID'''&amp;lt;/center&amp;gt;&lt;br /&gt;
| &amp;lt;center&amp;gt;'''Version'''&amp;lt;/center&amp;gt;&lt;br /&gt;
| &amp;lt;center&amp;gt;'''Date'''&amp;lt;/center&amp;gt;&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;center&amp;gt;1&amp;lt;/center&amp;gt;&lt;br /&gt;
| EST-285584 - JC-8DJMDH/  Zero Internal Charges.doc&lt;br /&gt;
| &amp;lt;center&amp;gt;1&amp;lt;/center&amp;gt;&lt;br /&gt;
| &amp;lt;center&amp;gt;31/01/2011&amp;lt;/center&amp;gt;&lt;br /&gt;
|}&lt;/div&gt;</summary>
		<author><name>DuttonT</name></author>
	</entry>
</feed>