Refer to Design Specs in separate Wiki Page for overview.
Shipping Method Popup/Bundling - Add new fields w/Validations:
- (UI) When the VIA Code = "TR" (Trucker)
- Update the Shipping Method Popup.
- Trucker Name - Free Form optional field
- Contact Name - Free Form optional field
- Contact Email Address - Required if no Trucker Name was provided else Optional. Check for Email Address "@" or phone number format (even though watermark says Email Address)
- Add these properties to CheckoutShipmentBundle to carry these fields around while in the bunding screen.
- Update the Shipping Method Popup.
- (DB/UI) Bundling Routine: Pass the Trucker name back and fourth as BUNDLE.TRUCKER.NAME
- (DB) Create a new Named Param for BUNDLE.TR.CARRIER (trucker name), BUNDLE.TR.CONTACT (contact name), BUNDLE.TR.CONTACTVIA (contact email/phone#)
- (DB) Update the SHOPPINGCART.USR record with these new fields on Save of bundling screen (associated with each bundle) .
- Update the Dictionary and SYS3002 (SYSFILES)
- RPC$SHOPPINGCART_SAVE
- (DB) Fix - Don't included TR in carrier list when FOB = P&A:
- RPC$SYSTEMTABLEITEM_GETBYFILTER
- Using SHIP.FOB, don't include TR in the large or small carrier list when FOB is P&A (add to invoice)
- (UI) Fix - Change current validation error box for Missing Account Number from "Validation Error" to "We need a little more info" format - see Susan's Design Spec
Order Creation:
- (DB) When the bundle Ship Via is TR, add an INTERNAL order comment to SOHDR<38>/SOHDR.USR<22-24> that will be printed on the picking slip (see format below):
- Reformat existing comment# 121 via SYS9012 to the format shown below - must include 3 "\" for inputs (Trucker Carrier Name (BUNDLE.TR.CARRIER), Trucker Contact Name (BUNDLE.TR.CONTACT), Email/Phone(BUNDLE.TR.CONTACTVIA))
- During order creation, add this comment to the sales order (RPC$SHOPPINGCART_CREATEORDER)
- (DB) - When creating orders for each bundle, take into account these new Trucker fields before merging multiple bundles into a single sales order. Today, we check that the ship date, FOB Code, Via Code, comments, etc are the same before we will combine multiple bundles into a single order. These 3 fields must be the same for all bundles that you are merging together into a single order. Modify RPC$SHOPPINGCART_CREATEORDER.
- Comment 121:
Trucker: <Trucker name>; Laddawn Warehouse Manager: Please contact <person to contact> at <email address or phone> when order is ready.
If there's no trucker and/or no person to contact, it will look like this with "(blank)" in parentheses printed:
Trucker: (blank); Laddawn Warehouse Manager: Please contact (blank) at mike@crownpackaging.com when order is ready.
Picking Slip:
- (DB) No change to the Ship Via box - leave this as TR
- (DB) Should automatically show the internal order comment that was added above - make sure that we are printing internal header comments