Customer List form -> Customer edit form ->
- “Customer is inactive” checkbox:
- if the user checks the checkbox -> after clicking on the “Save” button:
- if Customer has Open Balance = o -> is displayed OMS Message:
- Text: “Are you sure you want to inactive the customer?”
- Buttons:
- Yes -> the pop-up is closed and the Customer is deleted;
- No -> the pop-up is closed and the Customer isn’t deleted;
- if Customer has Open Balance > 0 or < 0 -> is displayed OMS Message:
- Text: “Sorry, the customer has open balance and can not be deactivated.”
- Buttons:
- OK -> the pop-up is closed and the Customer isn’t inactive.
- OK -> the pop-up is closed and the Customer isn’t inactive.
- if Customer has Open Balance = o -> is displayed OMS Message:
- if the user checks the checkbox -> after clicking on the “Save” button: