The new logic follows below, and relies significantly on the comparison between the discharge and the clearance port (this is a new field in our ACMain table).
- If Discharge/Clearance match, then send notice when container gates in or off-rails at delivery location.
- If Discharge/Clearance do not match.
- Send notice when container gates in or off-rails at clearance port
- Send notice when container gates in or off-rails at delivery location
Here are the objects adjusted to enable the change in logic, most of this was done to accommodate the new criteria of Discharge/Clearance match.
- Tables
- ACMain –
- DischargeClearanceMatchGroup field added
- Adjusted Process Steps 70, 71, 72 to hold new filters
- Deleted Process Steps 73, 74, and 75 which are no longer necessary
- ACDischargeClearanceMatchGroups – new table
- ACDischargeClearanceMatchValues – new table
- Views
- ACShipmentDataView – added joins and field (DischargeClearanceMatch)
- ACProcessingView – added joins and field for new logic
- Stored Procedures
- ACShipmentDataSproc – This is the main stored procedure, which needed new variables to hold the discharge/clearance field
- ACLogicSproc – This stored procedure compares the activity to the ACMain logic table.
No comments:
Post a Comment