private static void Simulate_AESCIS_11221() { var myExport = new MyExport(_appConfig.ConnectionMarket, _appConfig.ConnectionCsr, _clientConfig.ConnectionBillingAdmin); Simulate810Export(myExport); Simulate814Export(myExport); }
private static void Simulate_AESCIS_20523() { var myExport = new MyExport(_appConfig.ConnectionMarket, _appConfig.ConnectionCsr, _clientConfig.ConnectionBillingAdmin); GenerateEvents(new List <int> { 10 }); ProcessEvents(); // export 814 myExport.MyCreateMarket814(); }
private static void Simulate810Export(MyExport myExport) { var requestIds = new List <int> { 33496779, 32061771, 33496822 }; // copy records for 810 simulation, Customer, Premise, Meter, CustomerAdditionalInfo, AccountsReceivable, Address, Consumption, Invoice ... DB.ImportFiles(_mockDataDir, "AESCIS-11221-810", _appConfig.ConnectionCsr); MarkCustomerTransactionRequestsAsUnProcessed(requestIds); // export 810 myExport.MyCreateMarket810(); }
private static void Simulate814Export(MyExport myExport) { var requestIds = new List <int> { 33489671, 33057378 }; // copy records for 814 simulation, Customer, Premise, CustomerAdditionalInfo, AccountsReceivable, Address... DB.ImportFiles(_mockDataDir, "AESCIS-11221-814", _appConfig.ConnectionCsr); // mark Enrollment as 814 ready MarkCustomerTransactionRequestsAsUnProcessed(requestIds); // export 814 myExport.MyCreateMarket814(); }
private static void Simulate_AESCIS_19713() { var myExport = new MyExport(_appConfig.ConnectionMarket, _appConfig.ConnectionCsr, _clientConfig.ConnectionBillingAdmin); DB.ImportFiles(_mockDataDir, "New-C1", _appConfig.ConnectionCsr); PromoteEnrollCustomers(); GenerateEvents(new List <int> { 10 }); ProcessEvents(); // export 814 myExport.MyCreateMarket814(); }