Feature #43
openMIRO Automation
Description
Bill of Entry to Lot Number Staging Wizard¶
Project Overview¶
The Bill of Entry to Lot Number Staging Wizard is a guided workflow developed to simplify and standardize the Bill of Entry approval and Lot Number Staging process within the Canofy application.
The existing process required users to manually navigate across multiple pages, perform workflow actions in the correct sequence, and verify several validations before Lot Number Staging could be created. This wizard consolidates the entire workflow into a step-by-step interface, making the process easier to follow while preserving all existing business rules and validations.
Objective¶
The primary objective of this wizard is to:
- Simplify the Bill of Entry workflow.
- Reduce manual navigation between DocTypes.
- Guide users through each workflow stage.
- Ensure mandatory validations are completed before proceeding.
- Minimize user errors.
- Improve overall user experience without changing the underlying business logic.
Existing Business Process¶
Before this wizard, users had to perform the following steps manually:
- Search for or create a Bill of Entry.
- Fill all required Bill of Entry details.
- Upload the BOE PDF.
- Save the document.
- Match Products.
- Verify all Part Codes.
- Resolve Product Master mismatches if any.
- Submit the Bill of Entry.
- Approve the Bill of Entry.
- Wait until the status becomes Ready for Lot Number Staging.
- Execute Create Lot Number Staging.
- Navigate to Connections.
- Open the generated Lot Number Staging document.
- Review all line items.
- Submit the Lot Number Staging.
- Execute Create Lot Number.
- Verify Lot Numbers.
- Open generated Lot Numbers.
Although every step already existed in the application, users were required to navigate between multiple screens and remember the correct sequence.
Wizard Implementation¶
The wizard was designed as a guided interface that walks users through the complete process one step at a time.
Instead of requiring users to remember the workflow, the wizard presents only the required action for the current stage.
Wizard Flow¶
Bill of Entry
│
▼
Create / Open BOE
│
▼
Upload Documents
│
▼
Match Products
│
▼
Review Validation
│
▼
Submit BOE
│
▼
Approve BOE
│
▼
Ready for Lot Number Staging
│
▼
Create Lot Number Staging
│
▼
Review Lot Number Staging
│
▼
Submit Staging
│
▼
Create Lot Numbers
│
▼
Review Generated Lot Numbers
Wizard Steps¶
Step 1 – Search or Create Bill of Entry¶
The wizard allows users to either:
- Search for an existing Bill of Entry
- Create a new Bill of Entry
If creating a new BOE:
- Enter mandatory information
- Enable Inventory Workflow
- Upload BOE PDF
- Save the document
Expected Status:
Pending Review
Step 2 – Product Matching¶
The wizard initiates the Product Matching process.
During this stage it:
- Executes Match Product
- Reviews matched products
- Displays matching status
- Identifies unmatched Part Codes
- Prevents users from proceeding if mandatory validation fails
If unmatched products exist, the wizard guides users to create Product Master records before continuing.
Step 3 – Review and Approval¶
After successful matching, the wizard guides users through:
- Reviewing all line items
- Verifying invoice numbers
- Verifying Part Codes
- Confirming every row is successfully matched
Workflow Actions:
Submit
↓
Reviewed
↓
Approve BOE
Expected Status:
Ready for Lot Number Staging
Step 4 – Create Lot Number Staging¶
Once the BOE reaches the required workflow state, the wizard provides the option to:
- Execute Create Lot Number Staging
- Display success confirmation
- Navigate directly to the newly created staging document
Expected Status:
Draft
Step 5 – Review Lot Number Staging¶
The wizard opens the generated Lot Number Staging document for review.
Users can verify:
- Header information
- Item details
- Quantities
- Warehouse information
- Transaction information
Step 6 – Submit Lot Number Staging¶
After review, the wizard performs:
Submit
Workflow Status:
Reviewed
Step 7 – Generate Lot Numbers¶
The wizard executes:
Create Lot Number
During this stage:
- Existing application logic generates Lot Numbers.
- Progress is displayed.
- Success message is shown upon completion.
Expected Status:
Lot Number Created
Step 8 – Review Generated Lot Numbers¶
The final step allows users to:
- Open generated Lot Numbers
- Verify Product Code
- Verify Invoice Number
- Verify Item Description
- Verify Generated Records
Once verified, the generated Lot Numbers are ready for downstream processes such as the GRV to CGRN Import Wizard.
Validation¶
The wizard performs validations throughout the workflow.
These include:
- Mandatory BOE information
- Inventory Workflow enabled
- Product Matching completed
- Part Codes matched
- Invoice validation
- Workflow state validation
- Lot Number Staging creation validation
- Lot Number generation validation
The wizard prevents users from progressing until mandatory validations are satisfied.
Part Code Mismatch Handling¶
If Product Matching identifies unmatched Part Codes:
- Navigate to Product Master.
- Create the missing Product Master.
- Return to the Bill of Entry.
- Execute Match Product again.
- Verify all Part Codes are matched.
- Continue with the remaining workflow.
Benefits¶
- Guided step-by-step workflow
- Reduced manual navigation
- Improved usability
- Standardized business process
- Reduced user errors
- Faster BOE processing
- Easier validation
- Better user experience
- Reuses existing workflow logic
- No changes to existing business rules
Technologies¶
- Frappe Framework
- ERPNext
- Python
- JavaScript
- HTML
- CSS
Future Enhancements¶
- Automatic workflow progression
- Dashboard for workflow progress
- Error summary page
- Audit log
- Bulk Bill of Entry processing
- Email notifications
- Role-based wizard access
- Workflow analytics
Conclusion¶
The Bill of Entry to Lot Number Staging Wizard provides a structured, user-friendly interface for completing the entire Bill of Entry approval and Lot Number Staging workflow. By consolidating multiple manual steps into a guided process while reusing the existing application logic, the wizard improves usability, reduces manual effort, and ensures users follow the correct workflow from Bill of Entry creation through successful Lot Number generation.
RA Updated by Redmine Admin about 1 month ago
- Assignee set to Rajesh Gotur
RG Updated by Rajesh Gotur 24 days ago
- Description updated (diff)
- Status changed from New to In Progress
- % Done changed from 0 to 70
RG Updated by Rajesh Gotur 24 days ago
- Description updated (diff)
Redmine Admin wrote:
Creating a Bill of Entry to Lot Number Staging Wizard to streamline the workflow from Bill of Entry to Lot Number Staging creation. The wizard helps to automate multiple manual steps into a guided interface, enabling users to perform validation, approval, and staging activities efficiently while maintaining the existing business workflow.