Esempio n. 1
0
        public SOInvoiceShipment()
        {
            ARSetupNoMigrationMode.EnsureMigrationModeDisabled(this);

            Orders.SetSelected <SOShipment.selected>();
            object item = sosetup.Current;
        }
        public SOInvoiceShipment()
        {
            Orders.SetSelected <SOShipment.selected>();
            PXUIFieldAttribute.SetDisplayName <Carrier.description>(Caches[typeof(Carrier)], Messages.CarrierDescr);
            PXUIFieldAttribute.SetDisplayName <INSite.descr>(Caches[typeof(INSite)], Messages.SiteDescr);

            object item = sosetup.Current;
        }
        public SOReleaseInvoice()
        {
            ARSetupNoMigrationMode.EnsureMigrationModeDisabled(this);

            SOInvoiceList.SetSelected <ARInvoice.selected>();
            PXUIFieldAttribute.SetVisible <SOInvoice.cCCapturedAmt>(Caches[typeof(SOInvoice)], null, false);
            PXUIFieldAttribute.SetVisible <SOInvoice.paymentTotal>(Caches[typeof(SOInvoice)], null, false);
        }
        public GDPRRestoreProcess()
        {
            this.Actions["Schedule"].SetVisible(false);

            ObfuscatedItems.SetSelected <SMPersonalDataIndex.selected>();

            ObfuscatedItems.SetProcessVisible(false);
            ObfuscatedItems.SetProcessAllVisible(false);
        }
Esempio n. 5
0
        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 KCBulkProductMaint()
        {
            PXResultset <KCSiteMaster> config = StoreConfig.Select();

            if (!config.Any())
            {
                throw new PXSetupNotEnteredException <KCSiteMaster>(KCMessages.SiteConfigNotSet);
            }

            Stores.SetProcessDelegate(Process);
            Stores.SetSelected <KCStore.selected>();

            LoggerProperties.EntityType = KCLogEntities.Product;
            LoggerProperties.ActionName = KCLoggerConstants.Export;
            logger = new KCLoggerProvider(LoggerProperties);
        }
        private void InitializeProcessing()
        {
            FilteredItems.SetSelected <EMailAccount.selected>();

            PXProcessingStep[] targets = PXAutomation.GetProcessingSteps(this);
            if (targets.Length > 0)
            {
                FilteredItems.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 PXException(PX.Objects.SO.Messages.MissingMassProcessWorkFlow);
            }
        }
Esempio n. 8
0
        public ARDunningLetterProcess()
        {
            DunningLetterList.Cache.AllowDelete = false;
            DunningLetterList.Cache.AllowInsert = false;
            DunningLetterList.Cache.AllowUpdate = true;

            int prevDays = 0;

            foreach (ARDunningSetup xx in PXSelectOrderBy <ARDunningSetup, OrderBy <Asc <ARDunningSetup.dunningLetterLevel> > > .Select(this))
            {
                this.DunningSetupList.Add(xx);
                if (xx.DueDays.HasValue)
                {
                    D_DueDays.Add(xx.DueDays.Value - prevDays);
                    prevDays = xx.DueDays.Value;
                    D_MaxLevel++;
                }
            }

            DunningLetterList.SetProcessDelegate <DunningLetterMassProcess>(DunningLetterProc);
            PXUIFieldAttribute.SetEnabled(DunningLetterList.Cache, null, false);
            PXUIFieldAttribute.SetEnabled <ARDunningLetterList.selected>(DunningLetterList.Cache, null, true);
            DunningLetterList.SetSelected <ARDunningLetterList.selected>();
        }
Esempio n. 9
0
 public SOInvoiceShipment()
 {
     Orders.SetSelected <SOShipment.selected>();
     object item = sosetup.Current;
 }
Esempio n. 10
0
 public ARPPDCreditMemoProcess()
 {
     Applications.AllowDelete = true;
     Applications.AllowInsert = false;
     Applications.SetSelected <PendingPPDCreditMemoApp.selected>();
 }
 public APPPDDebitAdjProcess()
 {
     Applications.AllowDelete = true;
     Applications.AllowInsert = false;
     Applications.SetSelected <PendingPPDDebitAdjApp.selected>();
 }
 public SOCreateShipment()
 {
     Orders.SetSelected <SOOrder.selected>();
 }
Esempio n. 13
0
        public SOCreateShipment()
        {
            ARSetupNoMigrationMode.EnsureMigrationModeDisabled(this);

            Orders.SetSelected <SOOrder.selected>();
        }
Esempio n. 14
0
 public SOCreateShipment()
 {
     Orders.SetSelected <SOOrder.selected>();
     PXUIFieldAttribute.SetDisplayName <Carrier.description>(Caches[typeof(Carrier)], Messages.CarrierDescr);
     PXUIFieldAttribute.SetDisplayName <INSite.descr>(Caches[typeof(INSite)], Messages.SiteDescr);
 }
 public SOPostOrder()
 {
     Orders.SetSelected <SOShipment.selected>();
     Orders.SetProcessCaption(Messages.Process);
     Orders.SetProcessAllCaption(Messages.ProcessAll);
 }
Esempio n. 16
0
 public SOPostOrder()
 {
     Orders.SetSelected <SOShipment.selected>();
     Orders.SetProcessCaption("Process");
     Orders.SetProcessAllCaption("Process All");
 }
 public KCDataExchangeMaint()
 {
     stores.SetSelected <KCStore.selected>();
     stores.SetProcessDelegate(Process);
 }
 public ProjectBalanceValidation()
 {
     Items.SetSelected <PMProject.selected>();
     Items.SetProcessCaption(GL.Messages.ProcValidate);
     Items.SetProcessAllCaption(GL.Messages.ProcValidateAll);
 }
Esempio n. 19
0
 public SOReleaseInvoice()
 {
     SOInvoiceList.SetSelected <ARInvoice.selected>();
     PXUIFieldAttribute.SetVisible <SOInvoice.cCCapturedAmt>(Caches[typeof(SOInvoice)], null, false);
     PXUIFieldAttribute.SetVisible <SOInvoice.paymentTotal>(Caches[typeof(SOInvoice)], null, false);
 }