public InvoiceModule() { unitOfWork = new UnitOfWork(); Invoice = new FluentInvoice(unitOfWork); InvoiceDetail = new FluentInvoiceDetail(unitOfWork); AccountReceivable = new FluentAccountReceivable(unitOfWork); GeneralLedger = new FluentGeneralLedger(unitOfWork); Customer = new FluentCustomer(unitOfWork); Supplier = new FluentSupplier(unitOfWork); AddressBook = new FluentAddressBook(unitOfWork); ContractInvoice = new FluentContractInvoice(unitOfWork); TaxRatesByCode = new FluentTaxRatesByCode(unitOfWork); CustomerLedger = new FluentCustomerLedger(unitOfWork); }
public PurchaseOrderModule() { unitOfWork = new UnitOfWork(); PurchaseOrder = new FluentPurchaseOrder(unitOfWork); PurchaseOrderDetail = new FluentPurchaseOrderDetail(unitOfWork); ChartOfAccount = new FluentChartOfAccount(unitOfWork); Supplier = new FluentSupplier(unitOfWork); Contract = new FluentContract(unitOfWork); AddressBook = new FluentAddressBook(unitOfWork); POQuote = new FluentPOQuote(unitOfWork); Buyer = new FluentBuyer(unitOfWork); TaxRatesByCode = new FluentTaxRatesByCode(unitOfWork); AccountReceivable = new FluentAccountReceivable(unitOfWork); Udc = new FluentUdc(unitOfWork); }