public GLHistoryValidate() { GLSetup setup = glsetup.Current; LedgerList.SetProcessDelegate <PostGraph>(Validate); LedgerList.SetProcessCaption(Messages.ProcValidate); LedgerList.SetProcessAllCaption(Messages.ProcValidateAll); PXUIFieldAttribute.SetEnabled <Ledger.selected>(LedgerList.Cache, null, true); PXUIFieldAttribute.SetEnabled <Ledger.ledgerCD>(LedgerList.Cache, null, false); PXUIFieldAttribute.SetEnabled <Ledger.descr>(LedgerList.Cache, null, false); }
public GLHistoryValidate() { GLSetup setup = glsetup.Current; GLIntegrityCheckFilter filter = Filter.Current; LedgerList.SetProcessCaption(Messages.ProcValidate); LedgerList.SetProcessAllCaption(Messages.ProcValidateAll); LedgerList.SetProcessDelegate((PostGraph postGraph, Ledger ledger) => Validate(postGraph, ledger, filter)); PXUIFieldAttribute.SetEnabled <Ledger.selected>(LedgerList.Cache, null, true); PXUIFieldAttribute.SetEnabled <Ledger.ledgerCD>(LedgerList.Cache, null, false); PXUIFieldAttribute.SetEnabled <Ledger.descr>(LedgerList.Cache, null, false); }