Uniconta: Update (Recreate) ProductionOrder ProductionLines

Date: 2021-08-03
// Uniconta.API.Inventory.ProductionAPI

var productionOrder = ViewModel.ProductionOrder;
if (productionOrder != null)
{
	productionOrder.ProdQty = double.Parse(txtQuantityToBook.EditText);
	api.UpdateNoResponse(productionOrder);
	ProductionAPI prodAPI = new ProductionAPI(api);
	UtilDisplay.ShowErrorCode(prodAPI.CreateProductionLines(ViewModel.ProductionOrder, StorageRegister.None, true).Result);
}
52200cookie-checkUniconta: Update (Recreate) ProductionOrder ProductionLines