Scan

 

 

 

AssignScannedChassisNbrsToAppointments

The business task assigns scanned chassis number at the ingate to an active gate appointment that has a suitable matching criterion for the truck visit.

The AssignScannedChassisNbrsToAppointments business task matches the scanned Chassis Number with the appointments and integrates the information into the transaction record and the unit record. This business task considers 'is-owners' and 'on-chassis-id' attributes from the chassis element in order to match the chassis numbers to the appointments.

Functional Area

Gate

Execution Level

Truck Visit

Transaction Type(s)

Truck Visit IN

Client Type(s)

UI and Gate API

Parameters

None

Dependencies

None

Related Business Task(s)

AssignScannedContainerNbrsToAppointments (on page 1)

ReadGateAppointment (on page 1)

Custom Code

None

Field(s)

None

 

AssignScannedChassisNbrsToPickups

Functional Area

Pre-advise Vessel, Pre-advise Rail, Appointment, IFT, and Gate

Execution Level

Transaction/Truck Visit

Transaction Type(s)

Pre-advise Vessel:

Pre-advise Rail:

Appointment:

IFT:

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), Unknown (UK)

Truck Visit IN, Truck Visit OUT, Truck Visit APPTTV

Client Type(s)

UI and Gate API

Related Business Task(s)

RejectScannedChassisNbrMismatch (on page 1)

Field(s)

None

Description

The business task assigns scanned chassis numbers at the outgate to active deliver and through container gate transactions for the truck visit. If both the business tasks, AssignScannedChassisNbrsToPickups and RejectScannedChassisNbrMismatch are included and the chassis ID at the outgate does not match the scanned chassis ID, N4 rejects the gate transaction and does not allow the chassis to pass through the outgate.

Parameters

None

Dependencies

To ensure that only the expected chassis are associated with the truck at the outgate, you must include the RejectScannedChassisNbrMismatch business task.

Timing

If a validation business task fails, N4 creates the truck visit and allows the user to send the truck visit to Trouble to be resolved later.

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.

 

AssignScannedContainerNbrsToAppointments

The business task attempts to match and assign the container number scanned at the ingate to appointments that do not contain the contain numbers thus integrating the scanned container and appointment details.

This business task matches the scanned containers to the appointments, first by the Container Number and then by the ISO Type, with the order item specified in the appointment.

You must include this business task in your gate configuration if the following are true:

The AssignScannedContainerNbrsToAppointments business task is similar to the AssignScannedContainerNbrsToPickups (on page 1) business task.

Functional Area

Gate

Execution Level

Truck Visit

Transaction Type(s)

Truck Visit IN

Client Type(s)

UI and Gate API

Parameters

matchRandomlyForUnmatchedCtrs: If the matchRandomlyForUnmatchedCtrs parameter is set to false (No), the AssignScannedContainerNbrsToAppointments business task attempts to match scanned containers as follows:

If a match is found, N4 uses the matching container. However, all validations performed for the matching container are done per the other included business tasks. If no matches are found, N4 moves the truck visit to Trouble.

When the matchRandomlyForUnmatchedCtrs parameter is set to true (Yes), N4 matches the scanned container with the appointments at random. Therefore, this parameter must be set to false (No) if you do not want N4 to match random containers with the appointment.

Dependencies

N4 executes the AssignScannedContainerNbrsToAppointments business task before the RejectScannedContainerNbrMismatch (on page 1) business task to indicate that the containers matching the appointment are expected.

Related Business Task(s)

AssignScannedChassisNbrsToAppointments (on page 1)

ReadGateAppointment (on page 1)

Custom Code

None

Field(s)

None

 

AssignScannedContainerNbrsToPickups

The business task assigns scanned container numbers at the outgate to active deliver and through container gate transactions for the truck visit. Use this business task if the following are true:

If you use the AssignScannedContainerNbrsToPickups business task, then the CopyContainerAssignedToNbr (on page 1) is no longer required to prevent errors from the RejectScannedContainerNbrMismatch (on page 1) business task at the outgate.

The AssignScannedContainerNbrsToPickups business task attempts to match scanned containers as follows:

If no matches are found, N4 does not produce an error. The purpose of this business task is to attempt to match and assign scanned containers to deliver and through container gate transactions.

If a match is found, N4 uses the matching container. However, all validations performed for the matching container are done per the other included business tasks.

Functional Area

Gate

Execution Level

Truck Visit

Transaction Type(s)

Truck Visit OUT

Client Type(s)

UI and Gate API

Parameters

None

Dependencies

To ensure that the expected containers are on the truck at the outgate, you must include the RejectScannedContainerNbrMismatch (on page 1) business task.

Related Business Task(s)

CopyContainerAssignedToNbr (on page 1)

RejectScannedContainerNbrMismatch (on page 1)

Custom Code

None

Field(s)

None

 

RejectScannedAccessoryNbrMismatch

Functional Area

Gate

Execution Level

Truck Visit

Transaction Type(s)

Gate: Truck Visit OUT

Client Type(s)

UI and Gate API

Related Business Task(s)

None

Field(s)

None

Description

The business task rejects a truck visit at the outgate when the scanned accessory number(s) received from the record-scan web service API does not match the expected accessory number(s) for all of the gate transactions associated with the truck visit.

For example, for a receive gate transaction, any accessories dropped off should be present when the truck is scanned at the outgate, and for a deliver gate transaction, any accessories picked up should be present when the truck is scanned at the outgate.

Parameters

None

Dependencies

You must include this business task only for gate automation with the record-scan web service API.

Timing

If a validation business task fails, N4 creates the truck visit and allows the user to send the truck visit to Trouble to be resolved later.

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.

 

RejectScannedChassisNbrMismatch

Functional Area

Gate

Execution Level

Truck Visit

Transaction Type(s)

Gate: Truck Visit OUT

Client Type(s)

UI and Gate API

Related Business Task(s)

AssignScannedChassisNbrsToPickups (on page 1)

Field(s)

None

Description

The business task rejects a truck visit at the outgate stage when the scanned chassis number(s) received from the record-scan web service API does not match the expected chassis number(s) for all of the gate transactions associated with the truck visit.

Parameters

None

Dependencies

None

Timing

If a validation business task fails, N4 creates the truck visit and allows the user to send the truck visit to Trouble to be resolved later.

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.

 

RejectScannedContainerNbrMismatch

You must use this business task only for gate automation with the record-scan web service API.

This business task rejects a truck visit at the ingate or outgate when the scanned container number(s) received from the record-scan web service API do not match the expected container number(s) for all of the gate transactions associated with the truck visit.

For example, for a receive gate transaction, any containers dropped off should not be present when the truck is scanned at the outgate, and for a deliver gate transaction, any containers picked up should be present when the truck is scanned at the outgate.

You can also include the RejectScannedContainerNbrMismatch business task at the ingate to reject gate transactions when the container number mismatch occurs for a receival or through container.

If you want to use the RejectScannedContainerNbrMismatch business task at a gate stage before N4 creates gate transactions, such as a pre-stage gate stage, you must use appointments and set the Compare Scans To parameter to appointments.

Functional Area

Gate

Execution Level

Truck Visit

Timing

Validation

Transaction Type(s)

Truck Visit IN, Truck Visit OUT

Client Type(s)

Gate API

Parameters

Set the Compare Scans To parameter to appointments only if you use appointments and want to use the RejectScannedContainerNbrMismatch business task at a gate stage before N4 creates gate transactions, such as a pre-stage gate stage. Otherwise, you do not need to set the Compare Scans To parameter.

If the Compare Scans To parameter is not relevant for a gate transaction, the gate workflow skips the RejectScannedContainerNbrMismatch business task. For example, if you include the RejectScannedContainerNbrMismatch business task in your gate configuration and set the Compare Scans To parameter = appointments, the gate workflow skips the business task if an appointment number is not provided.

Dependencies

If included in the gate configuration, N4 executes the AssignScannedContainerNbrsToAppointments business task before the RejectScannedContainerNbrMismatch (on page 1) business task to indicate that the containers matching the appointment are expected.

N4 does not support appointments for bundled containers. The bundle information must be passed through the process-truck API to link the transaction appointment with the appointment data and scanned bundled data.

Related Business Task(s)

AssignScannedContainerNbrsToAppointments (on page 1)

Custom Code

None

Field(s)

None

 

RejectScannedTruckDetailsMismatch

Rejects a truck visit if the truck details on an existing truck visit, found using a scanned container number, does not match the truck details provided by a gate clerk.

For terminals that use scanners to read truck license numbers to find existing truck visits, when N4 cannot find a truck visit based on the scanned truck license number N4 searches for a truck visit using the scanned container number. Therefore, if N4 finds a truck visit using the scanned container number, but the truck details on the existing truck visit do not match those provided by a gate clerk, then this business task rejects the truck visit.

Use only for gate automation with the record-scan web service API.

Gate stage

Truck Visit IN

Truck Visit OUT

 

 

UpdateContainerTypeFromScan

Functional Area

Gate

Execution Level

Transaction

Transaction Type(s)

Gate: Receive Export (RE), Dray In (RI), Receive Empty (RM), and Deliver Import (DI)

Client Type(s)

UI and Gate API

Related Business Task(s)

None

Field(s)

None

 

Description

Updates the ISO type of a pre-advised container to the ISO type scanned at the gate if the ISO type scanned at the gate has the same archetype as the pre-advised container.

Parameters

None

Dependencies

None

Timing

For gate transactions, such as Receive Export or Receive Empty, N4 processes tasks when you click the Save Transaction button on the gate transaction section of the <GateStage> tab (on page 1).

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.

See also, RejectContainerTypeFromScan (on page 1).