public INUpdateStdCost() { INSetup record = insetup.Current; INItemList.SetProcessCaption(Messages.Process); INItemList.SetProcessAllCaption(Messages.ProcessAll); }
public ScheduleRun() { GLSetup setup = GLSetup.Current; Schedule_List.SetProcessCaption(Messages.ProcRunSelected); Schedule_List.SetProcessAllCaption(Messages.ProcRunAll); }
//public RSSVAssignProcess() //{ // WorkOrders.SetProcessCaption("Assign"); // WorkOrders.SetProcessAllCaption("Assign All"); // WorkOrders.SetProcessDelegate<RSSVWorkOrderEntry>( // delegate (RSSVWorkOrderEntry graph, RSSVWorkOrder order) // { // try // { // graph.Clear(); // graph.AssignOrder(order, true); // } // catch (Exception e) // { // PXProcessing<RSSVWorkOrder>.SetError(e); // } // }); // PXUIFieldAttribute.SetEnabled<RSSVWorkOrder.assignTo>(WorkOrders.Cache, null, true); //} public RSSVAssignProcess() { WorkOrders.SetProcessCaption("Assign"); WorkOrders.SetProcessAllCaption("Assign All"); WorkOrders.SetProcessDelegate(AssignOrders); PXUIFieldAttribute.SetEnabled <RSSVWorkOrder.assignTo>(WorkOrders.Cache, null, true); }
public LUMMultiLevelBomProc() { Results.SetProcessVisible(false); Results.SetProcessAllCaption(PX.Objects.IN.Messages.Generate); if (BOMCost.Select().Count == 0) { InsertWrkTableRecs(this); } }
public SOScheduleProcess() { prepareAndImport.SetProcessVisible(false); prepareAndImport.SetProcessAllCaption(SOConstants.btnPrepareAndImport); prepareAndImport.SetProcessDelegate( delegate(List <SOPrepareAndImport> list) { PrepareAndImportRecords(list); }); }
public SOImportClearLog() { Log.SetProcessCaption(SOConstants.btnClearLog); Log.SetProcessAllCaption(SOConstants.btnClearAllLog); Log.SetProcessDelegate( delegate(List <SOOrderProcessLog> list) { ImportClearLogRecords(list); }); }
public SOSubmitFeedProcess() { SubmitFeedList.SetProcessCaption(SOConstants.btnSubmitFeed); SubmitFeedList.SetProcessAllCaption(SOConstants.btnSubmitFeedALL); SubmitFeedFilter currentFilter = this.Filter.Current; SubmitFeedList.SetProcessDelegate( delegate(List <ProjectionShipmentDAC> list) { SubmitRecords(list, currentFilter); }); }
public SOImportProcess() { ImportOrderList.SetProcessCaption(SOConstants.btnImport); ImportOrderList.SetProcessAllCaption(SOConstants.btnImportAll); SOImportFilter currentFilter = this.Filter.Current; ImportOrderList.SetProcessDelegate( delegate(List <SOProcessOrder> list) { ImportRecords(list, currentFilter); }); }
public ARPrintInvoices() { ARSetup setup = arsetup.Current; PXUIFieldAttribute.SetEnabled(ARDocumentList.Cache, null, false); PXUIFieldAttribute.SetEnabled <ARInvoice.selected>(ARDocumentList.Cache, null, true); ARDocumentList.Cache.AllowInsert = false; ARDocumentList.Cache.AllowDelete = false; ARDocumentList.SetSelected <ARInvoice.selected>(); ARDocumentList.SetProcessCaption(IN.Messages.Process); ARDocumentList.SetProcessAllCaption(IN.Messages.ProcessAll); }
public LUM3DCartImportProc() { this.Actions.Move(nameof(this.Cancel), nameof(this.PrepareRecords), true); SOOrderFilter currentFilter = this.Filter.Current; ImportOrderList.SetProcessCaption(PX.Objects.CR.Messages.Import); ImportOrderList.SetProcessAllCaption(PX.Objects.CR.Messages.Prepare + " & " + PX.Objects.CR.Messages.Import); ImportOrderList.SetProcessDelegate( delegate(List <LUM3DCartProcessOrder> list) { ImportRecords(list, currentFilter); }); }
public TWNGenZeroTaxRateMedFile() { GUITranProc.SetProcessCaption(ActionsMessages.Export); GUITranProc.SetProcessAllCaption(TWMessages.ExportAll); GUITranProc.SetProcessDelegate(Export); //GUITranProc.SetProcessDelegate<TWNGenZeroTaxRateMedFile>(delegate (TWNGenZeroTaxRateMedFile graph, TWNGUITrans order) //{ // try // { // graph.Clear(); // graph.Export(order); // } // catch (Exception e) // { // PXProcessing<TWNGUITrans>.SetError(e); // } //}); }
public GLConsolSetupMaint() { GLSetup setup = glsetup.Current; ConsolSetupRecords.SetProcessCaption(Messages.ProcSynchronize); ConsolSetupRecords.SetProcessAllCaption(Messages.ProcSynchronizeAll); ConsolSetupRecords.SetProcessDelegate <GLConsolSetupMaint>(Synchronize); PXUIFieldAttribute.SetEnabled(ConsolSetupRecords.Cache, null, true); PXUIFieldAttribute.SetEnabled <GLConsolSetup.lastPostPeriod>(ConsolSetupRecords.Cache, null, false); PXUIFieldAttribute.SetEnabled <GLConsolSetup.lastConsDate>(ConsolSetupRecords.Cache, null, false); ConsolSetupRecords.SetAutoPersist(true); ConsolSetupRecords.Cache.AllowDelete = true; ConsolSetupRecords.Cache.AllowInsert = true; PXUIFieldAttribute.SetRequired <GLConsolSetup.segmentValue>(ConsolSetupRecords.Cache, true); PXUIFieldAttribute.SetRequired <GLConsolSetup.sourceLedgerCD>(ConsolSetupRecords.Cache, true); Save.StateSelectingEvents += new PXFieldSelecting(delegate(PXCache sender, PXFieldSelectingEventArgs e) { e.ReturnState = PXButtonState.CreateInstance(e.ReturnState, null, null, null, null, null, false, PXConfirmationType.Unspecified, null, null, null, null, null, null, null, null, null, null, null, null); ((PXButtonState)e.ReturnState).Enabled = !PXLongOperation.Exists(this.UID); }); }
public TWNGenGUIMediaFile() { GUITransList.SetProcessCaption(ActionsMessages.Export); GUITransList.SetProcessAllCaption(TWMessages.ExportAll); GUITransList.SetProcessDelegate(Export); }
public SOPostOrder() { Orders.SetSelected <SOShipment.selected>(); Orders.SetProcessCaption(Messages.Process); Orders.SetProcessAllCaption(Messages.ProcessAll); }
public SurveyProcess() { Records.SetProcessCaption(Messages.Send); Records.SetProcessAllCaption(Messages.SendAll); }
public ProjectBalanceValidation() { Items.SetSelected <PMProject.selected>(); Items.SetProcessCaption(GL.Messages.ProcValidate); Items.SetProcessAllCaption(GL.Messages.ProcValidateAll); }
public SOPostOrder() { Orders.SetSelected <SOShipment.selected>(); Orders.SetProcessCaption("Process"); Orders.SetProcessAllCaption("Process All"); }
public SurveyProcess() { Documents.SetProcessCaption(Messages.Send); Documents.SetProcessAllCaption(Messages.SendAll); }