public LienWaiverWarningDialogService(APInvoiceEntry graph, ApInvoiceEntryPayBillExtension extension) { this.graph = graph; lienWaiverDataProvider = new LienWaiverDataProvider(graph); jointPayeePayments = extension.JointPayeePayments; lienWaiverSetup = extension.LienWaiverSetup.Current; }
public LienWaiverGenerationDataProviderBase(PXGraph graph) { Graph = (APPaymentEntry)graph; LienWaiverSetup = graph.GetExtension <ApPaymentEntryLienWaiverExtension>().LienWaiverSetup.Current; LienWaiverDataProvider = graph.GetService <ILienWaiverDataProvider>(); TransactionRetriever = graph.GetService <ILienWaiverTransactionRetriever>(); }