public virtual IEnumerable ViewDoc(PXAdapter adapter) { CARecon curRecon = CAReconRecords.Current; CAReconEntry graph = PXGraph.CreateInstance <CAReconEntry>(); graph.CAReconRecords.Current = curRecon; throw new PXRedirectRequiredException(graph, true, "Document") { Mode = PXBaseRedirectException.WindowMode.NewWindow }; }
public virtual IEnumerable Voided(PXAdapter adapter) { CARecon recon = CAReconRecords.Current; if (recon != null) { PXLongOperation.StartOperation(this, delegate() { CAReconEntry.ReconVoided(recon); }); CAReconRecords.View.RequestRefresh(); } return(adapter.Get()); }
public virtual IEnumerable ViewRecon(PXAdapter adapter) { if (CATranListRecords.Current.ReconNbr != null) { CAReconEntry graph = PXGraph.CreateInstance <CAReconEntry>(); CARecon recon = PXSelect <CARecon, Where <CARecon.reconNbr, Equal <Required <CATran.reconNbr> > > > .Select(graph, CATranListRecords.Current.ReconNbr); if (recon != null) { graph.CAReconRecords.Current = recon; throw new PXRedirectRequiredException(graph, "Reconciliation"); } } return(Filter.Select()); }