I want to create some custom Doctypes that can be validated and that go through different statuses, like the default Doctypes (Production Order for example).
The statuses to which I refer are: Draft, Submitted, Not Started, In Process, Completed, Stopped, Cancelled.
The only statuses that have my custom Doctypes are Draft, Cancelled and Submitted, but the status field has all the options mentioned above. Custom Doctypes also have the option Can be validated checked.
How can I achieve this?