diff --git a/ImportService/TrackingDataImport.vbs b/ImportService/TrackingDataImport.vbs index ce58df9..9d622bf 100644 Binary files a/ImportService/TrackingDataImport.vbs and b/ImportService/TrackingDataImport.vbs differ diff --git a/README.md b/README.md index 5ec4b6f..ba61da3 100644 --- a/README.md +++ b/README.md @@ -97,6 +97,15 @@ And a helper installer: These are intended to run on Windows to import tracking export data from the configured `ExportDirectory`. +### Purple Envelope kit status pipeline +`TrackingDataImport.vbs` drives a Purple Envelope kit through its `Kit.Status` values on each run, via `ProcessStatus` in `Main`: + +1. **Ready To Assign STIDS** — user picks the outbound STID on the Kit edit page (`SwitchBoardPurpleEnvelopeEdit`) +2. **Ready to Assign Labels** — set by `SwitchBoardPurpleEnvelopeEditPost`; picked up by `AssignTracking`, which assigns serial numbers/tracking info (`createTrackingInfoForKit`) +3. **Ready For Export** — picked up by `ExportSnailWorks`, which builds the SnailWorks CSV export (`CreateExportForSnailWorks`) +4. **Ready to Proof** — picked up by `ProofJurisdiction`, which builds the PDF proof and proofing report (`CreateProofForJurisdiction`) +5. **Ready For Inkjet Export** — picked up by `ExportInkjet`, which writes the inkjet CSV (`ExportInkjetFile`) and sets status to **Done** + --- ## Dev tooling