protected async void Load() { canEdit = true; var canErpDbAt132GetTblSoSalesOrderBySoSeqResult = await CanErpDbAt132.GetTblSoSalesOrderBySoSeq(int.Parse($"{SO_SEQ}")); tblsosalesorder = canErpDbAt132GetTblSoSalesOrderBySoSeqResult; var canErpDbAt132GetTblSoOrderStatusesResult = await CanErpDbAt132.GetTblSoOrderStatuses(); getTblSoOrderStatusesResult = canErpDbAt132GetTblSoOrderStatusesResult; var canErpDbAt132GetTblSoCustomersResult = await CanErpDbAt132.GetTblSoCustomers(); getTblSoCustomersResult = canErpDbAt132GetTblSoCustomersResult; var canErpDbAt132GetTblGnShipViaResult = await CanErpDbAt132.GetTblGnShipVia(); getTblGnShipViaResult = canErpDbAt132GetTblGnShipViaResult; var canErpDbAt132GetTblGnPaymentTermsResult = await CanErpDbAt132.GetTblGnPaymentTerms(); getTblGnPaymentTermsResult = canErpDbAt132GetTblGnPaymentTermsResult; var canErpDbAt132GetTblGnPaymentTypesResult = await CanErpDbAt132.GetTblGnPaymentTypes(); getTblGnPaymentTypesResult = canErpDbAt132GetTblGnPaymentTypesResult; }
protected async void Load() { canEdit = true; var canErpDbAt132GetTblIcInventoryByInventorySeqResult = await CanErpDbAt132.GetTblIcInventoryByInventorySeq(int.Parse($"{Inventory_SEQ}")); tblicinventory = canErpDbAt132GetTblIcInventoryByInventorySeqResult; var canErpDbAt132GetTblIcWarehousesResult = await CanErpDbAt132.GetTblIcWarehouses(); getTblIcWarehousesResult = canErpDbAt132GetTblIcWarehousesResult; var canErpDbAt132GetTblIcCategoriesResult = await CanErpDbAt132.GetTblIcCategories(); getTblIcCategoriesResult = canErpDbAt132GetTblIcCategoriesResult; var canErpDbAt132GetTblIcClassificationsResult = await CanErpDbAt132.GetTblIcClassifications(); getTblIcClassificationsResult = canErpDbAt132GetTblIcClassificationsResult; var canErpDbAt132GetTblGnProductsResult = await CanErpDbAt132.GetTblGnProducts(); getTblGnProductsResult = canErpDbAt132GetTblGnProductsResult; var canErpDbAt132GetTblIcUnitsResult = await CanErpDbAt132.GetTblIcUnits(); getTblIcUnitsResult = canErpDbAt132GetTblIcUnitsResult; }
protected async void Load() { var canErpDbAt132GetTblGnAddressBooksResult = await CanErpDbAt132.GetTblGnAddressBooks(); getTblGnAddressBooksResult = canErpDbAt132GetTblGnAddressBooksResult; var canErpDbAt132GetTblPoOrderStatusesResult = await CanErpDbAt132.GetTblPoOrderStatuses(); getTblPoOrderStatusesResult = canErpDbAt132GetTblPoOrderStatusesResult; var canErpDbAt132GetTblPoVendorsResult = await CanErpDbAt132.GetTblPoVendors(); getTblPoVendorsResult = canErpDbAt132GetTblPoVendorsResult; var canErpDbAt132GetTblGnIncotermsResult = await CanErpDbAt132.GetTblGnIncoterms(); getTblGnIncotermsResult = canErpDbAt132GetTblGnIncotermsResult; var canErpDbAt132GetTblGnShipViaResult = await CanErpDbAt132.GetTblGnShipVia(); getTblGnShipViaResult = canErpDbAt132GetTblGnShipViaResult; var canErpDbAt132GetTblGnPaymentTermsResult = await CanErpDbAt132.GetTblGnPaymentTerms(); getTblGnPaymentTermsResult = canErpDbAt132GetTblGnPaymentTermsResult; var canErpDbAt132GetTblGnPaymentTypesResult = await CanErpDbAt132.GetTblGnPaymentTypes(); getTblGnPaymentTypesResult = canErpDbAt132GetTblGnPaymentTypesResult; tblpopurchaseorder = new ErpCan.Models.CanErpDbAt132.TblPoPurchaseOrder(); }
protected async void Load() { canEdit = true; var canErpDbAt132GetTblSoOrderStatusBySoStatusSeqResult = await CanErpDbAt132.GetTblSoOrderStatusBySoStatusSeq(int.Parse($"{SOStatus_SEQ}")); tblsoorderstatus = canErpDbAt132GetTblSoOrderStatusBySoStatusSeqResult; }
protected async void Load() { canEdit = true; var canErpDbAt132GetTblGnIncotermByIncotermIdResult = await CanErpDbAt132.GetTblGnIncotermByIncotermId($"{Incoterm_ID}"); tblgnincoterm = canErpDbAt132GetTblGnIncotermByIncotermIdResult; }
protected async void Load() { canEdit = true; var canErpDbAt132GetTblIcWarehouseByWarehouseIdResult = await CanErpDbAt132.GetTblIcWarehouseByWarehouseId($"{Warehouse_ID}"); tblicwarehouse = canErpDbAt132GetTblIcWarehouseByWarehouseIdResult; }
protected async void Load() { canEdit = true; var canErpDbAt132GetTblGnDepartmentByDepartmentIdResult = await CanErpDbAt132.GetTblGnDepartmentByDepartmentId($"{Department_ID}"); tblgndepartment = canErpDbAt132GetTblGnDepartmentByDepartmentIdResult; }
protected async void Load() { var canErpDbAt132GetTblPoVendorsResult = await CanErpDbAt132.GetTblPoVendors(); getTblPoVendorsResult = canErpDbAt132GetTblPoVendorsResult; tblpoapinvoice = new ErpCan.Models.CanErpDbAt132.TblPoApInvoice(); }
protected async void Load() { var canErpDbAt132GetTblGnAddressBooksResult = await CanErpDbAt132.GetTblGnAddressBooks(); getTblGnAddressBooksResult = canErpDbAt132GetTblGnAddressBooksResult; tblpocashdisbursement = new ErpCan.Models.CanErpDbAt132.TblPoCashDisbursement(); }
protected async void Load() { canEdit = true; var canErpDbAt132GetTblPoOrderStatusByPoStatusIdResult = await CanErpDbAt132.GetTblPoOrderStatusByPoStatusId($"{POStatus_ID}"); tblpoorderstatus = canErpDbAt132GetTblPoOrderStatusByPoStatusIdResult; }
protected async void Load() { canEdit = true; var canErpDbAt132GetTblGnCityByCitySeqResult = await CanErpDbAt132.GetTblGnCityByCitySeq(int.Parse($"{City_SEQ}")); tblgncity = canErpDbAt132GetTblGnCityByCitySeqResult; }
protected async void Load() { canEdit = true; var canErpDbAt132GetTblGnProductByProductSeqResult = await CanErpDbAt132.GetTblGnProductByProductSeq(int.Parse($"{Product_SEQ}")); tblgnproduct = canErpDbAt132GetTblGnProductByProductSeqResult; }
protected async void Load() { canEdit = true; var canErpDbAt132GetTblIcCategoryByCategoryIdResult = await CanErpDbAt132.GetTblIcCategoryByCategoryId($"{Category_ID}"); tbliccategory = canErpDbAt132GetTblIcCategoryByCategoryIdResult; }
protected async void Load() { canEdit = true; var canErpDbAt132GetTblGnPaymentTermByPaymentTermSeqResult = await CanErpDbAt132.GetTblGnPaymentTermByPaymentTermSeq(int.Parse($"{PaymentTerm_SEQ}")); tblgnpaymentterm = canErpDbAt132GetTblGnPaymentTermByPaymentTermSeqResult; }
protected async void Load() { canEdit = true; var canErpDbAt132GetTblGnGenderByGenderSeqResult = await CanErpDbAt132.GetTblGnGenderByGenderSeq(int.Parse($"{Gender_SEQ}")); tblgngender = canErpDbAt132GetTblGnGenderByGenderSeqResult; }
protected async void Load() { canEdit = true; var canErpDbAt132GetTblIcUnitByUnitSeqResult = await CanErpDbAt132.GetTblIcUnitByUnitSeq(int.Parse($"{Unit_SEQ}")); tblicunit = canErpDbAt132GetTblIcUnitByUnitSeqResult; }
protected async void Load() { canEdit = true; var canErpDbAt132GetTblGnShipViumByShipViaSeqResult = await CanErpDbAt132.GetTblGnShipViumByShipViaSeq(int.Parse($"{ShipVia_SEQ}")); tblgnshipvium = canErpDbAt132GetTblGnShipViumByShipViaSeqResult; }
protected async void Load() { canEdit = true; var canErpDbAt132GetTblIcClassificationByClassifiIdResult = await CanErpDbAt132.GetTblIcClassificationByClassifiId($"{Classifi_ID}"); tblicclassification = canErpDbAt132GetTblIcClassificationByClassifiIdResult; }
protected async void Load() { var canErpDbAt132GetVwVendorsResult = await CanErpDbAt132.GetVwVendors(); getVwVendorsResult = canErpDbAt132GetVwVendorsResult; tblpovendor = new ErpCan.Models.CanErpDbAt132.TblPoVendor(); }
protected async void Load() { canEdit = true; var canErpDbAt132GetTblIcTransactionTypeByTransactionIdResult = await CanErpDbAt132.GetTblIcTransactionTypeByTransactionId($"{Transaction_ID}"); tblictransactiontype = canErpDbAt132GetTblIcTransactionTypeByTransactionIdResult; }
protected async void Grid0RowExpand(ErpCan.Models.CanErpDbAt132.TblPoPurchaseOrder args) { master = args; var canErpDbAt132GetTblPoPurchaseOrderDetailsResult = await CanErpDbAt132.GetTblPoPurchaseOrderDetails(new Query() { Filter = $"i => i.PO_FK == '{args.PO_ID}'" }); canErpDbAt132GetTblPoPurchaseOrderDetailsResult.ToList().ForEach(args.TblPoPurchaseOrderDetails.Add); }
protected async void Grid0RowSelect(ErpCan.Models.CanErpDbAt132.TblPoPurchaseOrder args) { master = args; var canErpDbAt132GetTblPoPurchaseOrderDetailsResult = await CanErpDbAt132.GetTblPoPurchaseOrderDetails(new Query() { Filter = $"i => i.PO_FK == '{args.PO_ID}'" }); TblPoPurchaseOrderDetails = canErpDbAt132GetTblPoPurchaseOrderDetailsResult; }
protected async void Load() { var canErpDbAt132GetTblPoVendorsResult = await CanErpDbAt132.GetTblPoVendors(); getTblPoVendorsResult = canErpDbAt132GetTblPoVendorsResult; var canErpDbAt132GetTblGnDepartmentsResult = await CanErpDbAt132.GetTblGnDepartments(); getTblGnDepartmentsResult = canErpDbAt132GetTblGnDepartmentsResult; tblpoaccountpayable = new ErpCan.Models.CanErpDbAt132.TblPoAccountPayable(); }
protected async void Load() { canEdit = true; var canErpDbAt132GetTblPoVendorByVendorIdResult = await CanErpDbAt132.GetTblPoVendorByVendorId($"{Vendor_ID}"); tblpovendor = canErpDbAt132GetTblPoVendorByVendorIdResult; var canErpDbAt132GetTblGnAddressBooksResult = await CanErpDbAt132.GetTblGnAddressBooks(); getTblGnAddressBooksResult = canErpDbAt132GetTblGnAddressBooksResult; }
protected async void Load() { var canErpDbAt132GetTblPoRecReportsResult = await CanErpDbAt132.GetTblPoRecReports(); getTblPoRecReportsResult = canErpDbAt132GetTblPoRecReportsResult; var canErpDbAt132GetTblIcInventoriesResult = await CanErpDbAt132.GetTblIcInventories(); getTblIcInventoriesResult = canErpDbAt132GetTblIcInventoriesResult; tblporrorderdetail = new ErpCan.Models.CanErpDbAt132.TblPoRrOrderDetail(); }
protected async void Load() { canEdit = true; var canErpDbAt132GetTblPoApInvoiceByVendorIdAndInvoiceNoResult = await CanErpDbAt132.GetTblPoApInvoiceByVendorIdAndInvoiceNo($"{Vendor_ID}", $"{Invoice_No}"); tblpoapinvoice = canErpDbAt132GetTblPoApInvoiceByVendorIdAndInvoiceNoResult; var canErpDbAt132GetTblPoVendorsResult = await CanErpDbAt132.GetTblPoVendors(); getTblPoVendorsResult = canErpDbAt132GetTblPoVendorsResult; }
protected async void Load() { canEdit = true; var canErpDbAt132GetTblPoCashDisbursementByPoCashDisbNoResult = await CanErpDbAt132.GetTblPoCashDisbursementByPoCashDisbNo($"{PO_CashDisb_No}"); tblpocashdisbursement = canErpDbAt132GetTblPoCashDisbursementByPoCashDisbNoResult; var canErpDbAt132GetTblGnAddressBooksResult = await CanErpDbAt132.GetTblGnAddressBooks(); getTblGnAddressBooksResult = canErpDbAt132GetTblGnAddressBooksResult; }
protected async void Load() { var canErpDbAt132GetTblPoPurchaseOrdersResult = await CanErpDbAt132.GetTblPoPurchaseOrders(); getTblPoPurchaseOrdersResult = canErpDbAt132GetTblPoPurchaseOrdersResult; var canErpDbAt132GetTblIcInventoriesResult = await CanErpDbAt132.GetTblIcInventories(); getTblIcInventoriesResult = canErpDbAt132GetTblIcInventoriesResult; tblpopurchaseorderdetail = new ErpCan.Models.CanErpDbAt132.TblPoPurchaseOrderDetail(); }
protected async void Form0Submit(ErpCan.Models.CanErpDbAt132.TblPoPurchaseOrder args) { try { var canErpDbAt132CreateTblPoPurchaseOrderResult = await CanErpDbAt132.CreateTblPoPurchaseOrder(tblpopurchaseorder); DialogService.Close(tblpopurchaseorder); } catch (Exception canErpDbAt132CreateTblPoPurchaseOrderException) { NotificationService.Notify(NotificationSeverity.Error, $"Error", $"Unable to create new TblPoPurchaseOrder!"); } }
protected async void Form0Submit(ErpCan.Models.CanErpDbAt132.TblPoApInvoicesDetail args) { try { var canErpDbAt132UpdateTblPoApInvoicesDetailResult = await CanErpDbAt132.UpdateTblPoApInvoicesDetail($"{Vendor_ID}", $"{Invoice_No}", tblpoapinvoicesdetail); DialogService.Close(tblpoapinvoicesdetail); } catch (Exception canErpDbAt132UpdateTblPoApInvoicesDetailException) { NotificationService.Notify(NotificationSeverity.Error, $"Error", $"Unable to update TblPoApInvoicesDetail"); } }