Code Extension Type: INV_UNIT_ATTACH_VALIDATOR (on page 1)
Purpose: The UnitAttachValidator system-seeded code extension performs the following validations when you attach a container to a cassette/chassis (Equipment Role = Carriage):
Checks for the allowed container lengths.
Checks whether the unit fits on the carriage based on the TEU capacity of the carriage, if specified in the carriage Equipment Type.
Checks whether the unit fits on the carriage based on the length of the carriage.
The UnitAttachValidator code extension also provides the slot on carriage information, that is the slot where the container is placed. You can use the slot on carriage information for additional validations. For example, validating the bombcart safe weight based on the container's position on the bombcart.
The default version of the UnitAttachValidator code extension expects that at least one of the check boxes is selected in the Allowed Lengths area in the Equipment Type form Chassis tab for the selected carriage.
You can override this system-seeded code extension to meet your specific validation requirements.
Since the default version of the UnitAttachValidator code extension expects that at least one of the check boxes is selected in the Allowed Lengths area in the Equipment Type form Chassis tab for the selected carriage, you must review the existing equipment types of General Class = Chassis to make sure that the same is true for all the existing records.
If you do not select any of the check boxes in the Allowed Lengths area for an Equipment Type, N4 will display an error when you try to load a unit on a carriage of this Equipment Type.