Print Shipping Label
Automatically print shipping labels for eligible orders and move successfully processed orders into a predefined folder for organized workflow management.
Overview
The RIS-SM-2017 – PrintShippingLabel macro automates the process of printing shipping labels and organizing orders.
It identifies eligible orders, generates shipping label PDFs, and moves successfully processed orders into the "Printed Orders" folder.
Ensure the identifier "Test2" is correctly assigned to orders before running this macro.
Purpose
This macro:
- Filters eligible orders using identifier
- Prints shipping labels in PDF format
- Moves successfully processed orders to a folder
- Prevents duplicate processing
👉 In short:
Print shipping labels and organize processed orders automatically.
When It Runs
Used for shipping and fulfilment automation
Typically runs:
- Manually triggered
- After order verification or tagging
- During shipping workflows
Parameters
No input parameters required
Note:
- Processes all open orders
- Uses identifier: "Test2"
- Folder name: "Printed Orders" (auto-created if not present)
How It Works
Fetch Open Orders
Retrieve all open orders from the system.
Filter Eligible Orders
Select orders that:
- Have identifier "Test2"
- Are NOT already in "Printed Orders" folder
Collect Order IDs
Loop through filtered orders and store their OrderIds.
Print Shipping Labels
Generate labels using:
- Template: "Shipping Labels"
- Format: PDF
Capture Successful Prints
Extract only successfully printed order IDs.
Assign Folder
Assign orders to folder: "Printed Orders"
(Auto-created if not available)
Log Results
Record execution details including success and failures.
Final Result
- Shipping labels generated successfully
- Only successful orders processed
- Orders moved to "Printed Orders" folder
- Workflow execution logged
Usefulness
This macro is highly beneficial for:
- Automating shipping label printing
- Preventing duplicate label generation
- Organizing processed orders efficiently
- Improving warehouse workflow
- Reducing manual effort in shipping operations
Important Notes
- Processes only orders with identifier "Test2"
- Skips orders already in "Printed Orders" folder
- Uses fixed template "Shipping Labels"
- Failed prints are not retried
- Processes all open orders (no additional filtering)
Example Scenario
Key Insight
Combining identifier-based filtering with automated printing and folder organization ensures efficient shipping workflows and prevents duplicate processing.
Last updated today
Built with Documentation.AI