public void OpenExistingJo(KnittingJO jo) { ViewModel = new KnittingJoViewModel(jo); //budgetVsActualControl.Initialize(jo.JobOrder.GRNReciept.OrderedItem, jo.JobOrder); }
public void CreateNewJo(Order order,decimal quantity,GRNReciept reciept, bool jobOrderIssued, JobOrder parentJo) { ViewModel = new KnittingJoViewModel(order, quantity, reciept, jobOrderIssued, parentJo); //budgetVsActualControl.Initialize(reciept.OrderedItem, parentJo); }