Services

 

 

 

RejectUnitServiceRules

Functional Area

Appointment, IFT, and Gate

Execution Level

Transaction

Transaction Type(s)

Appointment: Deliver Break-Bulk (DB),Deliver Chassis (DC), Dray Off (DE), Deliver Import (DI), Deliver Empty (DM), Receive Break-Bulk (RB), Receive Chassis (RC), Receive Export (RE), Dray In (RI), Receive Empty (RM)

Gate: Deliver Break-Bulk (DB), Deliver Chassis (DC), Dray Off (DE), Deliver Import (DI), Deliver Empty (DM), Receive Break-Bulk (RB), Receive Chassis (RC), Receive Export (RE), Dray In (RI), Receive Empty (RM), Through Container (TC)

IFT: Deliver Import (DI)

Client Type(s)

UI and Gate API

Related Business Task(s)

RejectOrderHold (on page 1)

Field(s)

None

Description

The business task rejects a gate transaction if the following conditions are true:

For example, if you include the RejectUnitServiceRules business task at the appointment stage, N4 returns an error if the unit specified in the appointment has a ‘Hold On Guardian’.

If a permission is required for the bill of lading specified in the gate form, and the permission is associated with a service business rule that prevents a UNIT_DELIVER event for the unit (guarded entity) requested at the gate, N4 rejects the deliver gate transaction.

If you include the RejectUnitServiceRules business task in your gate configuration, the business task covers the following scenarios for a gate transaction including a chassis:

The business task does not return any errors if the gate transaction is using an Owner chassis.

For Break-Bulk Cargo

For the Break-Bulk gate transaction types, N4 checks the Bill of Lading specified at the gate and not the Cargo Lot. N4 rejects a gate transaction only if the Bill of Lading has a hold for the UNIT_DELIVER event and the RejectUnitServiceRules business task is included for the Deliver Break-Bulk (DB) gate transaction type.

We recommend that you include the RejectUnitServiceRules business task in at least one gate stage for each gate transaction type.

Parameters

IncludeCovertHold: Determines whether covert holds are evaluated at the ingate and outgate. By default, this is set to True for both the ingate and the outgate. It is recommended that you set this to False for each gate transaction type at the ingate stage. This enables the truck driver to come into the terminal unawares but prevents them from leaving due to the active covert hold. See also How do I create covert holds?

Event Type Override: Determines if N4 evaluates the RejectUnitServiceRules business task against the default event types or a specific event type. The default event types are UNIT_DELIVER for delivery gate transactions and UNIT_RECEIVE for receival gate transactions. When this parameter is not set or null, N4 uses the default event types. To define a specific event type, select the event type from the drop-down list.

The RejectUnitServiceRules business task does not support custom events. If the task is NOT parameterized with an event, N4 considers the UNIT_RECEIVE for receival transactions and UNIT_DELIVER and UNIT_OUT_GATE events for delivery transactions. To include custom events, you can add a groovy code for this business task.

Dependencies

None

Timing

Custom Code

Any custom code associated with the business task is executed following the execution of this business task and has no impact on it.

 

RejectEqServiceRules

Functional Area

Appointment

Execution Level

Transaction

Transaction Type(s)

Appointment: Receive Export (RE), Receive Import (RI), Receive Empty (RM), Deliver Empty (DM), Deliver Import (DI), Deliver Export (DE), ( Receive Chassis (RC) and Delivery Chassis (DC).

Client Type(s)

UI and Gate API

Related Business Task(s)

RejectUnitServiceRules (on page 1)

Field(s)

None

Description

The business task rejects an appointment for a container with an equipment hold.

Parameters

None

Dependencies

None

Timing

Custom Code

Any custom code associated with the business task is executed following the execution of this business task and has no impact on it.