コード例 #1
0
 public EPDocumentRelease()
 {
     EPDocumentList.SetProcessDelegate(EPDocumentRelease.ReleaseDoc);
     EPDocumentList.SetProcessCaption(Messages.Release);
     EPDocumentList.SetProcessAllCaption(Messages.ReleaseAll);
     EPDocumentList.SetSelected <EPExpenseClaim.selected>();
 }
コード例 #2
0
 public ProjectBalanceValidation()
 {
     Items.SetSelected <PMProject.selected>();
     Items.SetProcessDelegate <ProjectBalanceValidationProcess>(Validate);
     Items.SetProcessCaption(GL.Messages.ProcValidate);
     Items.SetProcessAllCaption(GL.Messages.ProcValidateAll);
 }
コード例 #3
0
        public EPDocumentRelease()
        {
            APSetup accountsPayableSetup = APSetup.Current;

            EPDocumentList.SetProcessDelegate(ReleaseDoc);
            EPDocumentList.SetProcessCaption(Messages.Release);
            EPDocumentList.SetProcessAllCaption(Messages.ReleaseAll);
            EPDocumentList.SetSelected <EPExpenseClaim.selected>();
        }
 public POReleaseReceipt()
 {
     Orders.SetSelected <POReceipt.selected>();
     Orders.SetProcessCaption(Messages.Process);
     Orders.SetProcessAllCaption(Messages.ProcessAll);
     Orders.SetProcessDelegate(delegate(List <POReceipt> list)
     {
         ReleaseDoc(list, true);
     });
 }
コード例 #5
0
        public POLandedCostProcess()
        {
            POSetup setup = POSetup.Current;

            receiptsList.SetSelected <POReceiptLCInfo.selected>();
            receiptsList.SetProcessCaption(Messages.Process);
            receiptsList.SetProcessAllCaption(Messages.ProcessAll);
            receiptsList.SetProcessDelegate(delegate(List <POReceiptLCInfo> list)
            {
                ReleaseDoc(list);
            });
        }
コード例 #6
0
        public POReleaseReceipt()
        {
            APSetupNoMigrationMode.EnsureMigrationModeDisabled(this);

            Orders.SetSelected <POReceipt.selected>();
            Orders.SetProcessCaption(Messages.Process);
            Orders.SetProcessAllCaption(Messages.ProcessAll);
            Orders.SetProcessDelegate(delegate(List <POReceipt> list)
            {
                ReleaseDoc(list, true);
            });
        }
        public POLandedCostProcess()
        {
            APSetupNoMigrationMode.EnsureMigrationModeDisabled(this);
            POSetup setup = POSetup.Current;

            receiptsList.SetSelected <POReceiptLCInfo.selected>();
            receiptsList.SetProcessCaption(Messages.Process);
            receiptsList.SetProcessAllCaption(Messages.ProcessAll);
            receiptsList.SetProcessDelegate(delegate(List <POReceiptLCInfo> list)
            {
                ReleaseDoc(list);
            });
        }
コード例 #8
0
        public APLandedCostProcess()
        {
            APSetup apSetup = APSetup.Current;
            POSetup poSetup = POSetup.Current;

            documents.SetSelected <APInvoiceLCInfo.selected>();
            documents.SetProcessCaption(ActionsMessages.Process);
            documents.SetProcessAllCaption(ActionsMessages.ProcessAll);
            documents.SetProcessDelegate(delegate(List <APInvoiceLCInfo> list)
            {
                ReleaseDoc(list);
            });
        }
コード例 #9
0
        public MergePrepareProcess()
        {
            Items.SetProcessCaption(Messages.Prepare);
            Items.SetProcessAllCaption(Messages.PrepareAll);
            Items.SetSelected <CRMerge.selected>();

            PXProcessingStep[] targets = PXAutomation.GetProcessingSteps(this);
            if (targets.Length > 0)
            {
                Items.SetProcessTarget(targets[0].GraphName,
                                       targets.Length > 1 ? null : targets[0].Name,
                                       targets[0].Actions[0].Name,
                                       targets[0].Actions[0].Menus[0],
                                       null, null);
            }
            else
            {
                throw new PXScreenMisconfigurationException(SO.Messages.MissingMassProcessWorkFlow);
            }

            Actions.Move("Process", "Cancel");
        }