Exemplo n.º 1
0
        public GLConsolReadMaint()
        {
            GLSetup setup = GLSetup.Current;

            PXCache cache = ConsolSetupRecords.Cache;

            SubaccountSegmentsView =
                new PXSelect <Segment, Where <Segment.dimensionID, Equal <SubAccountAttribute.dimensionName> > >(this);

            PXUIFieldAttribute.SetEnabled <GLConsolSetup.description>(cache, null, false);
            PXUIFieldAttribute.SetEnabled <GLConsolSetup.lastConsDate>(cache, null, false);
            PXUIFieldAttribute.SetEnabled <GLConsolSetup.lastPostPeriod>(cache, null, false);
            PXUIFieldAttribute.SetEnabled <GLConsolSetup.ledgerId>(cache, null, false);
            PXUIFieldAttribute.SetEnabled <GLConsolSetup.login>(cache, null, false);
            PXUIFieldAttribute.SetEnabled <GLConsolSetup.password>(cache, null, false);
            PXUIFieldAttribute.SetEnabled <GLConsolSetup.pasteFlag>(cache, null, false);
            PXUIFieldAttribute.SetEnabled <GLConsolSetup.segmentValue>(cache, null, false);
            PXUIFieldAttribute.SetEnabled <GLConsolSetup.url>(cache, null, false);

            cache.AllowInsert = false;
            cache.AllowDelete = false;

            ConsolSetupRecords.SetProcessDelegate <GLConsolReadMaint>(ProcessConsolidationRead);
            ConsolSetupRecords.SetProcessAllVisible(false);
        }
Exemplo n.º 2
0
        public ProcessPendingVAT()
        {
            CustomerSVAT.SetProcessDelegate(ProcessPendingVATProc);
            CustomerSVAT.SetProcessAllVisible(false);

            VendorSVAT.SetProcessDelegate(ProcessPendingVATProc);
            VendorSVAT.SetProcessAllVisible(false);

            PXUIFieldAttribute.SetEnabled <TaxTran.taxInvoiceDate>(CustomerSVAT.Cache, null, true);
            PXUIFieldAttribute.SetEnabled <TaxTran.taxInvoiceNbr>(CustomerSVAT.Cache, null, true);
        }
Exemplo n.º 3
0
        public TranslationRelease()
        {
            CMSetup setup = CMSetup.Current;

            TranslationReleaseList.SetProcessDelegate(
                delegate(TranslationHistory transl)
            {
                TranslationHistoryMaint.CreateBatch(transl, false);
            });

            TranslationReleaseList.SetProcessCaption(Messages.Release);
            TranslationReleaseList.SetProcessAllVisible(false);
        }
Exemplo n.º 4
0
        public GLConsolReadMaint()
        {
            GLSetup setup = GLSetup.Current;

            PXCache cache = ConsolSetupRecords.Cache;

            PXUIFieldAttribute.SetEnabled <GLConsolSetup.description>(cache, null, false);
            PXUIFieldAttribute.SetEnabled <GLConsolSetup.lastConsDate>(cache, null, false);
            PXUIFieldAttribute.SetEnabled <GLConsolSetup.lastPostPeriod>(cache, null, false);
            PXUIFieldAttribute.SetEnabled <GLConsolSetup.ledgerId>(cache, null, false);
            PXUIFieldAttribute.SetEnabled <GLConsolSetup.login>(cache, null, false);
            PXUIFieldAttribute.SetEnabled <GLConsolSetup.password>(cache, null, false);
            PXUIFieldAttribute.SetEnabled <GLConsolSetup.pasteFlag>(cache, null, false);
            PXUIFieldAttribute.SetEnabled <GLConsolSetup.segmentValue>(cache, null, false);
            PXUIFieldAttribute.SetEnabled <GLConsolSetup.url>(cache, null, false);

            cache.AllowInsert = false;
            cache.AllowDelete = false;

            ConsolSetupRecords.SetProcessDelegate <GLConsolReadMaint>(ProcessConsolidationRead);
            ConsolSetupRecords.SetProcessAllVisible(false);
        }