USER'S GUIDE - ShipWeight
USER'S GUIDE - ShipWeight
USER'S GUIDE - ShipWeight
You also want an ePaper? Increase the reach of your titles
YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.
Additional features<br />
Quantity 2 = [Factor]<br />
Quantity 3 = [Length]<br />
Quantity 4 = [Width]<br />
Quantity 5 = [UnitWeight]<br />
Codes [C01] to [C99] can only be used in the calculation formula if the values<br />
are numerical.<br />
Usually a code with FieldType ComboBox or ListBox has predefined codevalues.<br />
Each code value can hold information of VCG_min, VCG_max,<br />
LCG_min, LCG_max, TCG_min, TCG_max, Factor and UnitWeight. These<br />
fields can be included in a calculated code formula using the following syntax:<br />
[Code].[Field] Example: [C03].[Factor]<br />
The calculation rule accepts the operators + (add), - (subtract), * (multiply)<br />
and / (divide).<br />
The ABS() function is available for calculating the absolute value of a<br />
database field. Examples of usage:<br />
ABS([TCG])<br />
ABS([WEIGHT]*[TCG])<br />
An example of a commonly used calculated code is the Vertical Moment:<br />
Vmom = Weight * VCG � [Weight]*[VCG]<br />
Please refer to chapter 4.11.6 ‘Add custom codes tutorial’ and 4.11.7 ‘Define<br />
calculated codes tutorial’ for more detailed examples.<br />
4.11.4 Default value for custom code<br />
You may set a default value for a custom code to be filled in when a new<br />
weight item is added in the Item Dialog. The default value is set by typing<br />
=“” (including the equal sign and hyphens) in the “Calculate”<br />
field of the custom code in the Code Definition dialog.<br />
4.11.5 Formatting codes<br />
You can use the Format field to set the output-format of code fields. The<br />
format specification consists of optional and required fields:<br />
%{Width}.{Precision}type<br />
Both the percent-sign and the type-field are required.<br />
type Required. Determines how the argument is interpreted:<br />
4-59<br />
<strong>ShipWeight</strong> – User’s Guide, version 10.0, April 2011