That's a string, you can change to any name, but in commerce manager it will fall to in progress.
Hi Khan
Thank you for your replay.
Yes, I know about it and if I set new status as string value I can break workflows. But I am interested EPi have a legal way expanding this functionality or not.
I think no.
Best regards
Hi,
Unfortunately no, .NET just does not allow extending enum - and we have nothing out of box to support extra OrderStatus(es), at least for now. We, however, will look into this to see if we can do something.
Regards,
/Q
Hi Quan Mai.
Thank you for your replay.
Probably you can give a advice. Which way should we use to set our status? set manually string value or add for example a flag?
Best regards
Hi,
I'm not sure I understand your question, but generally you should use OrderStatusManager methods to handle statuses of Shipment and Order. Did you mean the custom statuses?
/Q
It's pretty tricky. The view is defined by Orders-List.xml, and that specific column is defined by OrderStatusTemplate. OrderStatusTemplate uses OrderStatusManager internally and will fall back to InProgress if the Status value is not a valid one.
So if you want to show your custom status there, you have to create your own OrderStatusTemplate.ascx control, which accepts custom Status value, then change Orders-List.xml to use your custom control.
Regards,
/Q
Hi.
The purchase order can be one of next statuses: InProgress, Cancelled, Completed etc
How can I add a new status to this list? Maybe does Epi not support it?
Commerce Version 9.14.1
Best regards