24.01.2013 Views

USER'S GUIDE - ShipWeight

USER'S GUIDE - ShipWeight

USER'S GUIDE - ShipWeight

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

Additional features<br />

Description – explanation of the code<br />

FieldSize – maximum number of characters<br />

Calculate – define a calculation rule for the code, e.g. [Weight]/1000*[LCG] or<br />

[Weight]*[C21].[Factor]<br />

Tab – align text (left, right or center)<br />

Format – control the format of calculated fields, e.g. for a three decimal digit,<br />

type %.3f<br />

FieldType – set how the code is presented in the Item dialog, either: EditBox<br />

(default), ComboBox, ListBox, CheckBox or ReadOnly.<br />

4.11.2 Add a code value<br />

If the FieldType of a code is set to ComboBox or ListBox, code values should<br />

be defined. Select the code in the tree. The table will change to show the code<br />

values for this code. In the table, select the last row. Enter CodeID and<br />

Description of the code-value.<br />

Optionally you can enter minimum and maximum values for VCG, LCG and<br />

TCG. This may be applicable for area codes. You also can enter a Factor and<br />

UnitWeight for the code.<br />

Back in the Item-dialog, the dropdown-list of the code now includes the new<br />

code-value.<br />

4.11.3 Calculated codes<br />

The value of a code can either be input from the user or calculated. If a code<br />

is to be calculated, the calculation rule must be defined in the ‘Calculate’ field<br />

in the Code Definition dialog.<br />

When defining a calculation rule, you can use any numerical database field for<br />

a weight item. Please note that database field names must be written in<br />

brackets, e.g. the database field ‘Weight’ must be written [Weight]. The<br />

following database fields can be included:<br />

[Weight] [VCG_min] [NoOff]<br />

[VCG] [VCG_max] [Factor]<br />

[LCG] [LCG_min] [Length]<br />

[TCG] [LCG_max] [Width]<br />

[C01] to [C99] [TCG_min] [UnitWeight]<br />

[TCG_max]<br />

The database fields [NoOff], [Factor], [Length], [Width] and [UnitWeight]<br />

correspond to Quantity 1 to Quantity 5. These are defined in the Optionsdialog<br />

window. When including one of these quantities in a calculation<br />

formula, please refer to its default title:<br />

Quantity 1 = [NoOff]<br />

4-58<br />

<strong>ShipWeight</strong> – User’s Guide, version 10.0, April 2011

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!