Index: branches/5.0.x/units/orders/orders_event_handler.php =================================================================== diff -u -r13269 -r13532 --- branches/5.0.x/units/orders/orders_event_handler.php (.../orders_event_handler.php) (revision 13269) +++ branches/5.0.x/units/orders/orders_event_handler.php (.../orders_event_handler.php) (revision 13532) @@ -1,6 +1,6 @@ SetDBField('Number', $this->getNextOrderNumber($event)); $object->SetDBField('SubNumber', 0); - $object->SetDBField('Type', ORDER_STATUS_INCOMPLETE); + $object->SetDBField('Status', ORDER_STATUS_INCOMPLETE); $object->SetDBField('VisitId', $this->Application->RecallVar('visit_id') ); // get user