Can a credit note be set to Reserve Order?
I want to set a credit note to a reserve order but despite the following code, it's staying as Invoice Order and the field is locked. Have tried both the CreateStart and CreateEnd event.
Is it possible?
Is it possible?
- Code: Select all
if (salesOrder.CreditNote)
{
salesOrder.OrderType = JiwaFinancials.Jiwa.JiwaSales.SalesOrder.SalesOrder.SalesOrderOrderTypes.e_SalesOrderOrderTypeReserveOrder;
}