Bug #3073
Add Station Field in Purchase Order
0%
Description
Requirement:
Add a Station field in the Create Purchase Order form.
Current Behavior:
The Create Purchase Order form currently contains Vendor, Warehouse, PO Date, Expected Delivery, Terms, Notes and Line Item fields. There is no Station field available.
Required Changes:
1. Add a "Station" field to the Create Purchase Order form.
2. The Station field should be a searchable/select dropdown similar to the Vendor and Warehouse fields.
3. The user should be able to select the required station while creating a Purchase Order.
4. Station should be available before saving the Purchase Order.
5. The selected Station should be sent in the Purchase Order create API payload.
6. The selected Station should be saved against the Purchase Order.
7. When viewing/editing a Purchase Order, the selected Station should be displayed.
8. Add appropriate validation if Station is required.
9. Maintain the existing UI design, spacing, fonts, and styling.
Acceptance Criteria:
- Station field is visible on the Create Purchase Order form.
- User can search and select a Station.
- Selected Station is correctly included in the API request.
- Purchase Order is saved with the selected Station.
- Selected Station is displayed correctly when viewing/editing the Purchase Order.
- Validation/error message is shown when Station is mandatory and not selected.
- Existing Purchase Order functionality should continue working without regression.
No data to display