diff --git a/BatchInputTest1/App.config b/BatchInputTest1/App.config
index 731f6de6c291e303814b02808f34140fe560e8e4..d36422534caae1f9b3dbf45b898ab748b0a2e04f 100644
--- a/BatchInputTest1/App.config
+++ b/BatchInputTest1/App.config
@@ -1,6 +1,62 @@
-
+
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/BatchInputTest1/BatchInputTest1.csproj b/BatchInputTest1/BatchInputTest1.csproj
index 067d45adb3e5e9a246c1aae82d5d10e9f44c6187..00215fa41264ad9fcbeba630aa94c5dc7135f80c 100644
--- a/BatchInputTest1/BatchInputTest1.csproj
+++ b/BatchInputTest1/BatchInputTest1.csproj
@@ -32,8 +32,42 @@
4
+
+ ..\packages\DBConnection.1.0.6891.22996\lib\net461\DBConnection.dll
+
+
+ ..\packages\EntityFramework.6.2.0\lib\net45\EntityFramework.dll
+
+
+ ..\packages\EntityFramework.6.2.0\lib\net45\EntityFramework.SqlServer.dll
+
+
+ ..\packages\ini-parser.2.5.2\lib\net20\INIFileParser.dll
+
+
+ ..\packages\log4net.2.0.8\lib\net45-full\log4net.dll
+
+
+ ..\packages\Newtonsoft.Json.12.0.2\lib\net45\Newtonsoft.Json.dll
+
+
+ ..\packages\Oracle.ManagedDataAccess.12.2.1100\lib\net40\Oracle.ManagedDataAccess.dll
+ True
+
+
+ ..\packages\Oracle.ManagedDataAccess.EntityFramework.12.2.1100\lib\net45\Oracle.ManagedDataAccess.EntityFramework.dll
+ True
+
+
+
+ ..\packages\Microsoft.AspNet.WebApi.Client.5.2.7\lib\net45\System.Net.Http.Formatting.dll
+
+
+
+
+
@@ -42,11 +76,55 @@
+
+
+ True
+ True
+ Reference.svcmap
+
+
+
+ Reference.svcmap
+
+
+ Reference.svcmap
+
+
+ Reference.svcmap
+
+
+ Reference.svcmap
+
+
+ Reference.svcmap
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ WCF Proxy Generator
+ Reference.cs
+
+
+
+
\ No newline at end of file
diff --git a/BatchInputTest1/BatchLoad.cs b/BatchInputTest1/BatchLoad.cs
new file mode 100644
index 0000000000000000000000000000000000000000..659fdbe5e9f7a1e312fb31df76499391f59520cf
--- /dev/null
+++ b/BatchInputTest1/BatchLoad.cs
@@ -0,0 +1,1620 @@
+using Oracle.ManagedDataAccess.Client;
+using DBConnection;
+using System;
+using System.Collections.Generic;
+using System.Linq;
+using System.Web.Http;
+using System.Net;
+using System.Text;
+using System.IO;
+using System.Threading.Tasks;
+using System.Web.Script.Serialization;
+using Newtonsoft.Json;
+using BatchInputTest1.BatchInputService;
+
+namespace BatchInputTest1
+{
+ class BatchLoad
+ {
+
+ // What is voucher_type = "PI"? ubw_interface = "PB"?
+ private const string usrname = "ITADMIN", pwd = "", company = "VU", config = "PREVIEW", ubw_interface = "PB", voucher_type = "PI";
+ int voucher_no;
+ OracleConnection conn;
+
+
+ private const string default_currency = "CAD", default_apar_type = "R", default_apar_id = "1000000";
+ public BatchLoad()
+ {
+ conn = GetOracleConnection();
+ conn.Open();
+ }
+
+ // https://ubw-accept02.unit4cloud.com/ca_viu_acpt02_webapi/v1/query/general-ledger-transactions?companyId=VU&select=customerOrSupplierId%2C%20account%2C%20column5%2C%20column6%2C%20amount%2C%20transactionDate%2C%20transactionNumber%2C%20updatedAt&filter=transactionType%20eq%20'SL'%20and%20account%20eq%20'1235'&posted=true
+
+
+
+ public void PerformAccountTypeChange()
+ {
+
+ int period;
+ string batchId;
+ //double amount;
+ //string stuid;
+ // voucher numbers cannot be re-used - errors result.
+ // functionally this means that a voucher number is synonymous with a "batch"
+ //
+ voucher_no = GetNextVoucherNo();
+
+ period = 201907;
+
+ batchId = "SLED_TRANSFER_TEST_X";
+ //string charge_type = "TUI";
+ //string payment_type = "CSH";
+
+ WSCredentials creds = new WSCredentials();
+ creds.Username = usrname;
+ creds.Password = pwd;
+ creds.Client = company;
+ BatchInputSoapClient soap = new BatchInputSoapClient();
+
+ BatchInputSaveResponse resp = new BatchInputSaveResponse();
+ List dto_list = new List();
+ List parameters = new List();
+ ProcessParameters parameter1 = new ProcessParameters();
+ ProcessParameters parameter2 = new ProcessParameters();
+ ProcessParameters parameter3 = new ProcessParameters();
+ ProcessParameters parameter4 = new ProcessParameters();
+
+ BatchInputDTO pay_dr_dto = new BatchInputDTO();
+ BatchInputDTO pay_cr_dto = new BatchInputDTO();
+
+ BatchInputProcessType bipt = new BatchInputProcessType();
+ parameter1.Name = "interface";
+ parameter1.Value = ubw_interface;
+
+ //parameter2.Name = "BatchId";
+ //parameter2.Value = batchId;
+
+ parameter3.Name = "Client";
+ parameter3.Value = company;
+
+ parameter4.Name = "SequenceNo";
+ parameter4.Value = "1";
+
+ parameters.Add(parameter1);
+ //parameters.Add(parameter2);
+ //parameters.Add(parameter3);
+ //parameters.Add(parameter4);
+ Console.WriteLine("AAA");
+ bipt.ParameterList = parameters.ToArray();
+ Console.WriteLine("BBB");
+
+ AddTransferDebit(pay_dr_dto, 1,2);
+ AddTransferCredit(pay_cr_dto, 2, 1);
+
+
+ // dto_list.Clear();
+ dto_list.Add(pay_dr_dto);
+ dto_list.Add(pay_cr_dto);
+
+ Console.WriteLine("--------ATTEMPT SAVE TRANSFER TRANSACTION----------");
+ bipt.ReportVariant = 99;
+
+ resp = soap.SaveTransactions(dto_list.ToArray(), bipt, period, batchId, creds);
+ Console.WriteLine("--------SERVER RESPONSE----------");
+ Console.WriteLine(JsonConvert.SerializeObject(resp));
+ Console.WriteLine("OK");
+
+ }
+
+
+ public void PerformLoad()
+ {
+
+ int period;
+ string batchId;
+ //double amount;
+ //string stuid;
+ // voucher numbers cannot be re-used - errors result.
+ // functionally this means that a voucher number is synonymous with a "batch"
+ //
+ voucher_no = GetNextVoucherNo();
+
+ period = 201907;
+
+ batchId = "SLED_CHARGE_TEST_3";
+ //string charge_type = "TUI";
+ //string payment_type = "CSH";
+
+ WSCredentials creds = new WSCredentials();
+ creds.Username = usrname;
+ creds.Password = pwd;
+ creds.Client = company;
+ BatchInputSoapClient soap = new BatchInputSoapClient();
+
+ BatchInputSaveResponse resp = new BatchInputSaveResponse();
+ List dto_list = new List();
+ List parameters = new List();
+ ProcessParameters parameter1 = new ProcessParameters();
+ ProcessParameters parameter2 = new ProcessParameters();
+ ProcessParameters parameter3 = new ProcessParameters();
+ ProcessParameters parameter4 = new ProcessParameters();
+
+ BatchInputDTO chg_dr_dto = new BatchInputDTO();
+ BatchInputDTO chg_cr_dto = new BatchInputDTO();
+
+ BatchInputDTO chg_dr_dto2 = new BatchInputDTO();
+ BatchInputDTO chg_cr_dto2 = new BatchInputDTO();
+ BatchInputDTO chg_dr_dto3 = new BatchInputDTO();
+ BatchInputDTO chg_cr_dto3 = new BatchInputDTO();
+
+ BatchInputDTO pay_dr_dto = new BatchInputDTO();
+ BatchInputDTO pay_cr_dto = new BatchInputDTO();
+
+ BatchInputProcessType bipt = new BatchInputProcessType();
+ parameter1.Name = "interface";
+ parameter1.Value = ubw_interface;
+
+ //parameter2.Name = "BatchId";
+ //parameter2.Value = batchId;
+
+ parameter3.Name = "Client";
+ parameter3.Value = company;
+
+ parameter4.Name = "SequenceNo";
+ parameter4.Value = "1";
+
+ parameters.Add(parameter1);
+ //parameters.Add(parameter2);
+ //parameters.Add(parameter3);
+ //parameters.Add(parameter4);
+ Console.WriteLine("AAA");
+ bipt.ParameterList = parameters.ToArray();
+ Console.WriteLine("BBB");
+
+ //
+ //amount = 123.67;
+ //stuid = "567151485";
+ //AddDefaultARDebitToDTO(chg_dr_dto, charge_type, amount, stuid);
+ //AddDefaultARCreditToDTO(chg_cr_dto, charge_type, (amount*-1), stuid);
+
+ //amount = 96.59;
+ //stuid = "567151485";
+ //AddDefaultPaymentDebitToDTO(pay_dr_dto, payment_type, amount, stuid);
+ //AddDefaultPaymentCreditToDTO(pay_cr_dto, payment_type, (amount*-1), stuid);
+
+ AddChargeDebitFromTxn(chg_dr_dto, 2045212, 3581366,1,2);
+ AddChargeCreditFromTxn(chg_cr_dto, 2045212, 3581366,2,1);
+ AddChargeDebitFromTxn(chg_dr_dto2, 1539500, 2581904,3,4);
+ AddChargeCreditFromTxn(chg_cr_dto2, 1539500, 2581904,4,3);
+ AddChargeDebitFromTxn(chg_dr_dto3, 1491909, 2508879,5,6);
+ AddChargeCreditFromTxn(chg_cr_dto3, 1491909, 2508879,6,5);
+
+
+ //AddPaymentDebitFromTxn(pay_dr_dto, 1333940);
+ //AddPaymentCreditFromTxn(pay_cr_dto, 1333940);
+
+ // OTHR, GAP
+ //dto_list.Add(chg_dr_dto);
+ //dto_list.Add(chg_cr_dto);
+
+ // PARK, PRK
+ //dto_list.Add(chg_dr_dto2);
+ //dto_list.Add(chg_cr_dto2);
+
+ // APP, APF
+ //dto_list.Add(chg_dr_dto3);
+ //dto_list.Add(chg_cr_dto3);
+
+ //dto_list.Add(pay_dr_dto);
+ //dto_list.Add(pay_cr_dto);
+
+
+
+ //Console.WriteLine("--------DTO 1 - DEBIT----------");
+ //Console.WriteLine(JsonConvert.SerializeObject(chg_dr_dto));
+ //Console.WriteLine("--------DTO 2 - CREDIT----------");
+ //Console.WriteLine(JsonConvert.SerializeObject(chg_cr_dto));
+ //Console.WriteLine("--------ATTEMPT SAVE CHARGE TRANSACTION----------");
+ //bipt.ReportVariant = 99;
+ //resp = soap.SaveTransactions(dto_list.ToArray(), bipt, period, batchId, creds);
+ //Console.WriteLine("--------SERVER RESPONSE----------");
+ //Console.WriteLine(JsonConvert.SerializeObject(resp));
+ //Console.WriteLine("OK");
+
+
+ AddPaymentDebitFromTxn(pay_dr_dto, 1353012);
+ AddPaymentCreditFromTxn(pay_cr_dto, 1353012);
+ // dto_list.Clear();
+ dto_list.Add(pay_dr_dto);
+ dto_list.Add(pay_cr_dto);
+ batchId = "SLED_PAYMENT_TEST_2";
+ Console.WriteLine("--------ATTEMPT SAVE PAYMENT TRANSACTION----------");
+ bipt.ReportVariant = 99;
+ resp = soap.SaveTransactions(dto_list.ToArray(), bipt, period, batchId, creds);
+ Console.WriteLine("--------SERVER RESPONSE----------");
+ Console.WriteLine(JsonConvert.SerializeObject(resp));
+ Console.WriteLine("OK");
+
+ }
+
+ public void PerformDelete()
+ {
+ string batchId;
+ batchId = "SLED_CHARGE_TEST_1";
+
+ WSCredentials creds = new WSCredentials();
+ creds.Username = usrname;
+ creds.Password = pwd;
+ creds.Client = company;
+ BatchInputSoapClient soap = new BatchInputSoapClient();
+ string resp;
+ resp = soap.DeleteBatchInput(batchId, ubw_interface, creds);
+ Console.WriteLine(resp);
+ }
+
+ public void AddTransferDebit(BatchInputDTO dto_in, int seq, int seq_ref)
+ {
+ double amount;
+ string charge_type;
+ string acct_type;
+ string stuid;
+ DateTime due_date;
+
+ charge_type = "PRK";
+ acct_type = "PARK";
+ amount = 123.45;
+ stuid = "567151485";
+ due_date = Convert.ToDateTime("10/20/2019");
+ // Purpose is to replicate the receipt of cash and the relieving of the AR.
+ // This simulation will use the CSH payment type - CASH
+ dto_in.Client = company;
+ dto_in.Interface = ubw_interface;
+ dto_in.VoucherType = voucher_type;
+ dto_in.ArrivalDate = Convert.ToDateTime("10/20/2019");
+ dto_in.ComplDelay = Convert.ToDateTime("10/20/2019");
+ dto_in.DiscDate = Convert.ToDateTime("10/20/2019");
+ dto_in.DueDate = due_date;
+ dto_in.TransDate = Convert.ToDateTime("10/20/2019");
+ dto_in.VoucherDate = Convert.ToDateTime("10/20/2019");
+
+ // Get the DR account from SLED_PAYMENT_TYPES
+ dto_in.Account = "1235"; // 1235?
+
+ // amount - Normally positive for DR
+ dto_in.Amount = amount;
+ dto_in.CurAmount = amount;
+ dto_in.Currency = default_currency;
+ //dto_in.AparId = default_apar_id; // The AparID for this? 1000000 is "Non Billable Customer.
+ dto_in.AparId = stuid;
+ dto_in.AparType = default_apar_type; // 'R' from acuheader table for apar_id 1000000
+ // UBW WO will depend on nature of the charge.
+ //
+ dto_in.Dim1 = "9000"; //COSTC = 9000 as per SLED integration documents on SLED_CHARGE_TYPES
+ dto_in.Dim2 = "10"; //FUND = 10 as per SLED integration documents on SLED_CHARGE_TYPES
+ dto_in.Dim5 = charge_type;
+ dto_in.Dim6 = acct_type;
+ // dim 3 and 4 are now fixed with no Attribute attached. No descriptions.
+ //dto_in.Dim3 = "357795"; // My RESNO
+ //dto_in.Dim4 = "11000-1-1"; // No work order is defined in the SLED integration documents - Presidents office
+
+ dto_in.ExtInvRef = "SLEDTEST";
+ dto_in.Responsible = "ITADMIN";
+ dto_in.TaxCode = "0"; // 0 = No Tax (CR/CR05)
+ dto_in.TaxSystem = "N"; // N = Not applicable (CR/CR31)
+ dto_in.Description = "Transfer Debit - Debit AR";
+ dto_in.TransType = "AR";
+ dto_in.DcFlag = 1; // 1 = Debit, -1 = Credit
+ dto_in.SequenceNo = seq;
+ dto_in.SequenceRef = seq_ref;
+ dto_in.VoucherNo = voucher_no; // something other than 0?
+
+ }
+
+
+ public void AddTransferCredit(BatchInputDTO dto_in, int seq, int seq_ref)
+ {
+ double amount;
+ string charge_type;
+ string acct_type;
+ string stuid;
+ DateTime due_date;
+
+ charge_type = "TUI";
+ acct_type = "TUIT";
+ amount = (123.45 * -1); // negative for credit side
+ stuid = "567151485";
+ due_date = Convert.ToDateTime("10/20/2019");
+
+ dto_in.Client = company;
+ dto_in.Interface = ubw_interface;
+ dto_in.VoucherType = voucher_type;
+ dto_in.ArrivalDate = Convert.ToDateTime("10/20/2019");
+ dto_in.ComplDelay = Convert.ToDateTime("10/20/2019");
+ dto_in.DiscDate = Convert.ToDateTime("10/20/2019");
+ dto_in.DueDate = due_date;
+ dto_in.TransDate = Convert.ToDateTime("10/20/2019");
+ dto_in.VoucherDate = Convert.ToDateTime("10/20/2019");
+ dto_in.Account = "1235";
+ //dto_in.Account = "2074"; // 2074 is the identified account in SLED integration documentation.
+ // Is "CLEARING - TUITION FEES CLEARING - rule = 12
+ // #### --> 921 in FRS
+
+ // amount - normally negative for CR
+ dto_in.Amount = amount; // Not clear on why this has to be negative if DcFlag is set
+ dto_in.CurAmount = amount;// Not clear on why this has to be negative if DcFlag is set
+ dto_in.Currency = default_currency;
+ dto_in.AparId = stuid;
+ dto_in.AparType = "R";
+ dto_in.Dim1 = "9000"; //COSTC
+ dto_in.Dim2 = "10"; //FUND
+ dto_in.Dim5 = charge_type;
+ dto_in.Dim6 = acct_type;
+ dto_in.ExtInvRef = "SLEDTEST";
+ dto_in.Responsible = "ITADMIN";
+ dto_in.TaxCode = "0";
+ dto_in.TaxSystem = "N";
+ dto_in.TransType = "AR";
+ dto_in.Description = "Transfer Credit - Credit AR";
+ dto_in.DcFlag = -1;
+ dto_in.SequenceNo = seq;
+ dto_in.SequenceRef = seq_ref;
+ dto_in.VoucherNo = voucher_no; // something other than 0?
+ }
+
+ public void AddChargeDebitFromTxn(BatchInputDTO dto_in, long chargeno, long transaction_no, int seq, int seq_ref)
+ {
+ double amount;
+ string charge_type;
+ string acct_type;
+ string stuid;
+ DateTime due_date;
+
+ charge_type = GetTxnChargeTypeDtl(chargeno, transaction_no);
+ acct_type = GetTxnAcctType(chargeno, transaction_no);
+ amount = GetTxnChargeAmount(chargeno, transaction_no);
+ stuid = GetTxnStuId(chargeno, transaction_no);
+ due_date = GetTxnDueDate(chargeno, transaction_no);
+ // Purpose is to replicate the receipt of cash and the relieving of the AR.
+ // This simulation will use the CSH payment type - CASH
+ dto_in.Client = company;
+ dto_in.Interface = ubw_interface;
+ dto_in.VoucherType = voucher_type;
+ dto_in.ArrivalDate = Convert.ToDateTime("10/20/2019");
+ dto_in.ComplDelay = Convert.ToDateTime("10/20/2019");
+ dto_in.DiscDate = Convert.ToDateTime("10/20/2019");
+ dto_in.DueDate = due_date;
+ dto_in.TransDate = Convert.ToDateTime("10/20/2019");
+ dto_in.VoucherDate = Convert.ToDateTime("10/20/2019");
+
+ // Get the DR account from SLED_PAYMENT_TYPES
+ dto_in.Account = GetChargeTypeDRAcct(charge_type); // 1235?
+
+ // amount - Normally positive for DR
+ dto_in.Amount = amount;
+ dto_in.CurAmount = amount;
+ dto_in.Currency = default_currency;
+ //dto_in.AparId = default_apar_id; // The AparID for this? 1000000 is "Non Billable Customer.
+ dto_in.AparId = stuid;
+ dto_in.AparType = default_apar_type; // 'R' from acuheader table for apar_id 1000000
+ // UBW WO will depend on nature of the charge.
+ //
+ dto_in.Dim1 = "9000"; //COSTC = 9000 as per SLED integration documents on SLED_CHARGE_TYPES
+ dto_in.Dim2 = "10"; //FUND = 10 as per SLED integration documents on SLED_CHARGE_TYPES
+ dto_in.Dim5 = charge_type;
+ dto_in.Dim6 = acct_type;
+ // dim 3 and 4 are now fixed with no Attribute attached. No descriptions.
+ //dto_in.Dim3 = "357795"; // My RESNO
+ //dto_in.Dim4 = "11000-1-1"; // No work order is defined in the SLED integration documents - Presidents office
+
+ dto_in.ExtInvRef = "SLEDTEST";
+ dto_in.Responsible = "ITADMIN";
+ dto_in.TaxCode = "0"; // 0 = No Tax (CR/CR05)
+ dto_in.TaxSystem = "N"; // N = Not applicable (CR/CR31)
+ dto_in.Description = "Charge Debit - Debit AR";
+ dto_in.TransType = "AR";
+ dto_in.DcFlag = 1; // 1 = Debit, -1 = Credit
+ dto_in.SequenceNo = seq;
+ dto_in.SequenceRef = seq_ref;
+ dto_in.VoucherNo = voucher_no; // something other than 0?
+
+ }
+
+
+ // This is the CREDIT side of the AR charge transaction.
+ // Negative value (dto_in.DcFlag = -1) to indicate CREDIT
+ public void AddChargeCreditFromTxn(BatchInputDTO dto_in, long chargeno, long transaction_no, int seq, int seq_ref)
+ {
+
+ double amount;
+ string charge_type;
+ string acct_type;
+ string stuid;
+ DateTime due_date;
+
+ charge_type = GetTxnChargeTypeDtl(chargeno, transaction_no);
+ acct_type = GetTxnAcctType(chargeno, transaction_no);
+ amount = (GetTxnChargeAmount(chargeno, transaction_no) * -1); // negative for credit side
+ stuid = GetTxnStuId(chargeno, transaction_no);
+ due_date = GetTxnDueDate(chargeno, transaction_no);
+
+ dto_in.Client = company;
+ dto_in.Interface = ubw_interface;
+ dto_in.VoucherType = voucher_type;
+ dto_in.ArrivalDate = Convert.ToDateTime("10/20/2019");
+ dto_in.ComplDelay = Convert.ToDateTime("10/20/2019");
+ dto_in.DiscDate = Convert.ToDateTime("10/20/2019");
+ dto_in.DueDate = due_date;
+ dto_in.TransDate = Convert.ToDateTime("10/20/2019");
+ dto_in.VoucherDate = Convert.ToDateTime("10/20/2019");
+ dto_in.Account = GetChargeTypeCRAcct(charge_type);
+ //dto_in.Account = "2074"; // 2074 is the identified account in SLED integration documentation.
+ // Is "CLEARING - TUITION FEES CLEARING - rule = 12
+ // #### --> 921 in FRS
+
+
+ // amount - normally negative for CR
+ dto_in.Amount = amount; // Not clear on why this has to be negative if DcFlag is set
+ dto_in.CurAmount = amount;// Not clear on why this has to be negative if DcFlag is set
+ dto_in.Currency = default_currency;
+ dto_in.AparId = stuid;
+ dto_in.AparType = "R";
+ dto_in.Dim1 = "9000"; //COSTC
+ dto_in.Dim2 = "10"; //FUND
+ dto_in.ExtInvRef = "SLEDTEST";
+ dto_in.Responsible = "ITADMIN";
+ dto_in.TaxCode = "0";
+ dto_in.TaxSystem = "N";
+ dto_in.TransType = "GL";
+ dto_in.Description = "Charge Credit - Credit Tuition Clearing";
+ dto_in.DcFlag = -1;
+ dto_in.SequenceNo = seq;
+ dto_in.SequenceRef = seq_ref;
+ dto_in.VoucherNo = voucher_no; // something other than 0?
+ }
+
+
+ public void AddPaymentDebitFromTxn(BatchInputDTO dto_in, long paymentno)
+ {
+ DateTime pay_date = GetPayDate(paymentno);
+ double amount = GetPayAmount(paymentno);
+ string stuid = GetPayStuId(paymentno);
+ string payment_type = GetTxnPaymentTypeDtl(paymentno);
+ // Purpose is to replicate the receipt of cash and the relieving of the AR.
+ // This simulation will use the CSH payment type - CASH
+ dto_in.Client = company;
+ dto_in.Interface = ubw_interface;
+ dto_in.VoucherType = voucher_type;
+ dto_in.ArrivalDate = Convert.ToDateTime("10/20/2019");
+ dto_in.ComplDelay = Convert.ToDateTime("10/20/2019");
+ dto_in.DiscDate = Convert.ToDateTime("10/20/2019");
+ dto_in.DueDate = Convert.ToDateTime("10/20/2019");
+ dto_in.TransDate = Convert.ToDateTime("10/20/2019"); //pay_date;
+ dto_in.VoucherDate = Convert.ToDateTime("10/20/2019");
+
+ // Get the DR account from SLED_PAYMENT_TYPES
+ dto_in.Account = GetPaymentTypeDRAcct(payment_type);
+ //dto_in.Account = "1000"; // Bank - General - Cash received is in the bank.
+ // Uses rule Balance Sheet (2) - dim1=COSTC, dim2=FUND
+
+ // amount - Normally positive for DR
+ dto_in.Amount = amount;
+ dto_in.CurAmount = amount;
+ dto_in.Currency = default_currency;
+ dto_in.AparId = stuid;
+ dto_in.AparType = default_apar_type; // 'R' from acuheader table for apar_id 1000000
+ // UBW WO will depend on nature of the charge.
+ //
+ dto_in.Dim1 = "9000"; //COSTC = 9000 as per SLED integration documents on SLED_CHARGE_TYPES
+ dto_in.Dim2 = "10"; //FUND = 10 as per SLED integration documents on SLED_CHARGE_TYPES
+
+ // dim 3 and 4 are now fixed with no Attribute attached. No descriptions.
+ //dto_in.Dim3 = "357795"; // My RESNO
+ //dto_in.Dim4 = "11000-1-1"; // No work order is defined in the SLED integration documents - Presidents office
+
+ dto_in.ExtInvRef = "SLEDTEST";
+ dto_in.Responsible = "ITADMIN";
+ dto_in.TaxCode = "0"; // 0 = No Tax (CR/CR05)
+ dto_in.TaxSystem = "N"; // N = Not applicable (CR/CR31)
+ dto_in.Description = "Payment Debit - Debit Cash";
+ dto_in.TransType = "GL";
+ dto_in.DcFlag = 1; // 1 = Debit, -1 = Credit
+ dto_in.SequenceNo = 3;
+ dto_in.SequenceRef = 4;
+ dto_in.VoucherNo = voucher_no; // something other than 0?
+ //dto_in.VoucherRef = 3000007;
+ }
+
+
+ public void AddPaymentCreditFromTxn(BatchInputDTO dto_in, long paymentno)
+ {
+ DateTime pay_date = GetPayDate(paymentno);
+ double amount = (GetPayAmount(paymentno) * -1);
+ string stuid = GetPayStuId(paymentno);
+ string payment_type = GetTxnPaymentTypeDtl(paymentno);
+
+ dto_in.Client = company;
+ dto_in.Interface = ubw_interface;
+ dto_in.VoucherType = voucher_type;
+ dto_in.ArrivalDate = Convert.ToDateTime("10/20/2019");
+ dto_in.ComplDelay = Convert.ToDateTime("10/20/2019");
+ dto_in.DiscDate = Convert.ToDateTime("10/20/2019");
+ dto_in.DueDate = Convert.ToDateTime("10/20/2019");
+ dto_in.TransDate = pay_date;
+ dto_in.VoucherDate = Convert.ToDateTime("10/20/2019");
+
+ dto_in.Account = GetPaymentTypeCRAcct(payment_type);
+
+ //dto_in.Account = "1235"; // 1235 - Student Ledger AR
+ // rule = 2, dim1=COSTC, dim2=FUND
+
+ // Normally negative amount - Credit
+ dto_in.Amount = amount; // Not clear on why this has to be negative if DcFlag is set
+ dto_in.CurAmount = amount;// Not clear on why this has to be negative if DcFlag is set
+ dto_in.Currency = default_currency;
+ dto_in.AparId = stuid;
+ dto_in.AparType = "R"; //
+
+ // rule = 2, dim1=COSTC, dim2=FUND
+ dto_in.Dim1 = "9000"; //COSTC
+ dto_in.Dim2 = "10"; //FUND
+ dto_in.Dim5 = "CSH";
+ dto_in.Dim6 = "PARK";
+ dto_in.ExtInvRef = "SLEDTEST";
+ dto_in.Responsible = "ITADMIN";
+ dto_in.TaxCode = "0";
+ dto_in.TaxSystem = "N";
+ dto_in.TransType = "AR";
+ dto_in.Description = "Payment Credit - Credit AR";
+ dto_in.DcFlag = -1;
+ dto_in.SequenceNo = 4;
+ dto_in.SequenceRef = 4;
+ dto_in.VoucherNo = voucher_no; // something other than 0?
+ dto_in.VoucherRef = 300007;
+ }
+
+
+ public void AddDefaultPaymentDebitToDTO(BatchInputDTO dto_in, string payment_type, double amount, string stuid)
+ {
+
+ // Purpose is to replicate the receipt of cash and the relieving of the AR.
+ // This simulation will use the CSH payment type - CASH
+ dto_in.Client = company;
+ dto_in.Interface = ubw_interface;
+ dto_in.VoucherType = voucher_type;
+ dto_in.ArrivalDate = Convert.ToDateTime("10/20/2019");
+ dto_in.ComplDelay = Convert.ToDateTime("10/20/2019");
+ dto_in.DiscDate = Convert.ToDateTime("10/20/2019");
+ dto_in.DueDate = Convert.ToDateTime("10/20/2019");
+ dto_in.TransDate = Convert.ToDateTime("10/20/2019");
+ dto_in.VoucherDate = Convert.ToDateTime("10/20/2019");
+
+ // Get the DR account from SLED_PAYMENT_TYPES
+ dto_in.Account = GetPaymentTypeDRAcct(payment_type);
+ //dto_in.Account = "1000"; // Bank - General - Cash received is in the bank.
+ // Uses rule Balance Sheet (2) - dim1=COSTC, dim2=FUND
+
+ // amount - Normally positive for DR
+ dto_in.Amount = amount;
+ dto_in.CurAmount = amount;
+ dto_in.Currency = default_currency;
+ dto_in.AparId = default_apar_id; // The AparID for this? 1000000 is "Non Billable Customer.
+ dto_in.AparType = default_apar_type; // 'R' from acuheader table for apar_id 1000000
+ // UBW WO will depend on nature of the charge.
+ //
+ dto_in.Dim1 = "9000"; //COSTC = 9000 as per SLED integration documents on SLED_CHARGE_TYPES
+ dto_in.Dim2 = "10"; //FUND = 10 as per SLED integration documents on SLED_CHARGE_TYPES
+
+ // dim 3 and 4 are now fixed with no Attribute attached. No descriptions.
+ //dto_in.Dim3 = "357795"; // My RESNO
+ //dto_in.Dim4 = "11000-1-1"; // No work order is defined in the SLED integration documents - Presidents office
+
+ dto_in.ExtInvRef = "SLEDTEST";
+ dto_in.Responsible = "ITADMIN";
+ dto_in.TaxCode = "0"; // 0 = No Tax (CR/CR05)
+ dto_in.TaxSystem = "N"; // N = Not applicable (CR/CR31)
+ dto_in.Description = "Payment Debit - Debit Cash";
+ dto_in.TransType = "GL";
+ dto_in.DcFlag = 1; // 1 = Debit, -1 = Credit
+ dto_in.SequenceNo = 3;
+ dto_in.SequenceRef = 4;
+ dto_in.VoucherNo = voucher_no; // something other than 0?
+
+
+ /*
+ dto_in.Account = ; // 8 Character GL account code. (must be valid in COA)
+ dto_in.Account2 = ; // 8 Char GL acct for tax calc. Only for tax txns
+ dto_in.Address = ; // Used only with Sundry suppliers/customers.
+ dto_in.AllocationKey = ; //ID for accrual key. Must be valid.
+ dto_in.Amount = ; // amount in company currency
+ dto_in.AparId = ; // Supplier/Customer number
+ dto_in.AparName = ; // Supplier/Customer name (only for sundry)
+ dto_in.AparType = ; // (P = Supplier, R=Customer, (!P)&(!R)=not AP/AR)
+ dto_in.ArrivalDate = ; // date the invoice was received
+ dto_in.ArriveId = ; // The current line's registration number
+ dto_in.BaCountryCode = ;
+ dto_in.BankAccount = ;
+ dto_in.BankAccType = ;
+ dto_in.BaseAmount = ;
+ dto_in.BaseCurr = ;
+ dto_in.ClearingCode = ;
+ dto_in.Client = ;
+ dto_in.ClientRef = ;
+ dto_in.Collection = ;
+ dto_in.Commitment = ;
+ dto_in.Complaint = ;
+ dto_in.ComplDelay = ;
+ dto_in.ContractId = ;
+ dto_in.CountryCode = ;
+ dto_in.CurAmount = ;
+ dto_in.CurrDoc = ;
+ dto_in.Currency = ;
+ dto_in.CurrLicence = ;
+ dto_in.DcFlag = ;
+ dto_in.Description = ;
+ dto_in.Dim1 = ;
+ dto_in.Dim2 = ;
+ dto_in.Dim3 = ;
+ dto_in.Dim4 = ;
+ dto_in.Dim5 = ;
+ dto_in.Dim6 = ;
+ dto_in.Dim7 = ;
+ dto_in.DiscDate = ;
+ dto_in.Discount = ;
+ dto_in.DueDate = ;
+ dto_in.ErrorFlag = ;
+ dto_in.ExchRate = ;
+ dto_in.ExchRate2 = ;
+ dto_in.ExchRate3 = ;
+ dto_in.ExRef = ;
+ dto_in.ExtArchRefCol = ;
+ dto_in.ExtensionData = ;
+ dto_in.ExtInvRef = ;
+ dto_in.FactorShort = ;
+ dto_in.ForeignBank = ;
+ dto_in.Interface = ;
+ dto_in.IntruleId = ;
+ dto_in.Kid = ;
+ dto_in.Number1 = ;
+ dto_in.OrigReference = ;
+ dto_in.PayCurrency = ;
+ dto_in.PayFlag = ;
+ dto_in.PayMethod = ;
+ dto_in.PayPlanId = ;
+ dto_in.PayTempId = ;
+ dto_in.PayTransfer = ;
+ dto_in.PeriodNo = ;
+ dto_in.Place = ;
+ dto_in.Province = ;
+ dto_in.RemittId = ;
+ dto_in.RemLevel = ;
+ dto_in.Responsible = ;
+ dto_in.SequenceNo = ;
+ dto_in.SequenceRef = ;
+ dto_in.Status = ;
+ dto_in.Swift = ;
+ dto_in.TaxCode = ;
+ dto_in.TaxId = ;
+ dto_in.TaxSystem = ;
+ dto_in.TransDate = ;
+ dto_in.TransType = ;
+ dto_in.Value1 = ;
+ dto_in.Value2 = ;
+ dto_in.Value3 = ;
+ dto_in.VatRegNo = ;
+ dto_in.VoucherDate = ;
+ dto_in.VoucherNo = ;
+ dto_in.VoucherRef = ;
+ dto_in.VoucherType = ;
+ dto_in.ZipCode = ;
+ */
+ }
+
+
+ // This is the CREDIT side of the AR charge transaction.
+ // Negative value (dto_in.DcFlag = -1) to indicate CREDIT
+ public void AddDefaultPaymentCreditToDTO(BatchInputDTO dto_in, string payment_type, double amount, string stuid)
+ {
+
+ dto_in.Client = company;
+ dto_in.Interface = ubw_interface;
+ dto_in.VoucherType = voucher_type;
+ dto_in.ArrivalDate = Convert.ToDateTime("10/20/2019");
+ dto_in.ComplDelay = Convert.ToDateTime("10/20/2019");
+ dto_in.DiscDate = Convert.ToDateTime("10/20/2019");
+ dto_in.DueDate = Convert.ToDateTime("10/20/2019");
+ dto_in.TransDate = Convert.ToDateTime("10/20/2019");
+ dto_in.VoucherDate = Convert.ToDateTime("10/20/2019");
+
+ dto_in.Account = GetPaymentTypeCRAcct(payment_type);
+
+ //dto_in.Account = "1235"; // 1235 - Student Ledger AR
+ // rule = 2, dim1=COSTC, dim2=FUND
+
+ // Normally negative amount - Credit
+ dto_in.Amount = amount; // Not clear on why this has to be negative if DcFlag is set
+ dto_in.CurAmount = amount;// Not clear on why this has to be negative if DcFlag is set
+ dto_in.Currency = default_currency;
+ dto_in.AparId = default_apar_id;
+ dto_in.AparType = ""; //
+
+ // rule = 2, dim1=COSTC, dim2=FUND
+ dto_in.Dim1 = "9000"; //COSTC
+ dto_in.Dim2 = "10"; //FUND
+ dto_in.ExtInvRef = "SLEDTEST";
+ dto_in.Responsible = "ITADMIN";
+ dto_in.TaxCode = "0";
+ dto_in.TaxSystem = "N";
+ dto_in.TransType = "GL";
+ dto_in.Description = "Payment Credit - Credit AR";
+ dto_in.DcFlag = -1;
+ dto_in.SequenceNo = 4;
+ dto_in.SequenceRef = 3;
+ dto_in.VoucherNo = voucher_no; // something other than 0?
+ /*
+ dto_in.Account = ; // 8 Character GL account code. (must be valid in COA)
+ dto_in.Account2 = ; // 8 Char GL acct for tax calc. Only for tax txns
+ dto_in.Address = ; // Used only with Sundry suppliers/customers.
+ dto_in.AllocationKey = ; //ID for accrual key. Must be valid.
+ dto_in.Amount = ; // amount in company currency
+ dto_in.AparId = ; // Supplier/Customer number
+ dto_in.AparName = ; // Supplier/Customer name (only for sundry)
+ dto_in.AparType = ; // (P = Supplier, R=Customer, (!P)&(!R)=not AP/AR)
+ dto_in.ArrivalDate = ; // date the invoice was received
+ dto_in.ArriveId = ; // The current line's registration number
+ dto_in.BaCountryCode = ;
+ dto_in.BankAccount = ;
+ dto_in.BankAccType = ;
+ dto_in.BaseAmount = ;
+ dto_in.BaseCurr = ;
+ dto_in.ClearingCode = ;
+ dto_in.Client = ;
+ dto_in.ClientRef = ;
+ dto_in.Collection = ;
+ dto_in.Commitment = ;
+ dto_in.Complaint = ;
+ dto_in.ComplDelay = ;
+ dto_in.ContractId = ;
+ dto_in.CountryCode = ;
+ dto_in.CurAmount = ;
+ dto_in.CurrDoc = ;
+ dto_in.Currency = ;
+ dto_in.CurrLicence = ;
+ dto_in.DcFlag = ;
+ dto_in.Description = ;
+ dto_in.Dim1 = ;
+ dto_in.Dim2 = ;
+ dto_in.Dim3 = ;
+ dto_in.Dim4 = ;
+ dto_in.Dim5 = ;
+ dto_in.Dim6 = ;
+ dto_in.Dim7 = ;
+ dto_in.DiscDate = ;
+ dto_in.Discount = ;
+ dto_in.DueDate = ;
+ dto_in.ErrorFlag = ;
+ dto_in.ExchRate = ;
+ dto_in.ExchRate2 = ;
+ dto_in.ExchRate3 = ;
+ dto_in.ExRef = ;
+ dto_in.ExtArchRefCol = ;
+ dto_in.ExtensionData = ;
+ dto_in.ExtInvRef = ;
+ dto_in.FactorShort = ;
+ dto_in.ForeignBank = ;
+ dto_in.Interface = ;
+ dto_in.IntruleId = ;
+ dto_in.Kid = ;
+ dto_in.Number1 = ;
+ dto_in.OrigReference = ;
+ dto_in.PayCurrency = ;
+ dto_in.PayFlag = ;
+ dto_in.PayMethod = ;
+ dto_in.PayPlanId = ;
+ dto_in.PayTempId = ;
+ dto_in.PayTransfer = ;
+ dto_in.PeriodNo = ;
+ dto_in.Place = ;
+ dto_in.Province = ;
+ dto_in.RemittId = ;
+ dto_in.RemLevel = ;
+ dto_in.Responsible = ;
+ dto_in.SequenceNo = ;
+ dto_in.SequenceRef = ;
+ dto_in.Status = ;
+ dto_in.Swift = ;
+ dto_in.TaxCode = ;
+ dto_in.TaxId = ;
+ dto_in.TaxSystem = ;
+ dto_in.TransDate = ;
+ dto_in.TransType = ;
+ dto_in.Value1 = ;
+ dto_in.Value2 = ;
+ dto_in.Value3 = ;
+ dto_in.VatRegNo = ;
+ dto_in.VoucherDate = ;
+ dto_in.VoucherNo = ;
+ dto_in.VoucherRef = ;
+ dto_in.VoucherType = ;
+ dto_in.ZipCode = ;
+ */
+ }
+
+
+ // A default "charge" debit.
+ public void AddDefaultARDebitToDTO(BatchInputDTO dto_in, string charge_type, double amount, string stuid)
+ {
+
+ // Purpose is to make a default debit to AR. Creating a receivable from a ficticious charge.
+ dto_in.Client = company;
+ dto_in.Interface = ubw_interface;
+ dto_in.VoucherType = voucher_type;
+ dto_in.ArrivalDate = Convert.ToDateTime("10/20/2019");
+ dto_in.ComplDelay = Convert.ToDateTime("10/20/2019");
+ dto_in.DiscDate = Convert.ToDateTime("10/20/2019");
+ dto_in.DueDate = Convert.ToDateTime("10/20/2019");
+ dto_in.TransDate = Convert.ToDateTime("10/20/2019");
+ dto_in.VoucherDate = Convert.ToDateTime("10/20/2019");
+
+ dto_in.Account = GetChargeTypeDRAcct(charge_type);
+ //dto_in.Account = "1235"; // This (1235) is AR SLED - Type = GL.
+ // Account rule above makes dim1=COSTC, dim2=FUND,
+ // #### --->> 849 in FRS
+
+ // amount here - Normally positive.
+ dto_in.Amount = amount;
+ dto_in.CurAmount = amount;
+ dto_in.Currency = default_currency;
+ dto_in.AparId = default_apar_id; // The AparID for this? 1000000 is "Non Billable Customer.
+ dto_in.AparType = default_apar_type; // 'R' from acuheader table for apar_id 1000000
+ // UBW WO will depend on nature of the charge.
+ //
+ dto_in.Dim1 = "9000"; //COSTC = 9000 as per SLED integration documents on SLED_CHARGE_TYPES
+ dto_in.Dim2 = "10"; //FUND = 10 as per SLED integration documents on SLED_CHARGE_TYPES
+
+ // dim 3 and 4 are now fixed with no aAttrbute ttached. No descriptions.
+ //dto_in.Dim3 = "357795"; // My RESNO
+ //dto_in.Dim4 = "11000-1-1"; // No work order is defined in the SLED integration documents - Presidents office
+
+ dto_in.ExtInvRef = "SLEDTEST";
+ dto_in.Responsible = "ITADMIN";
+ dto_in.TaxCode = "0"; // 0 = No Tax (CR/CR05)
+ dto_in.TaxSystem = "N"; // N = Not applicable (CR/CR31)
+ dto_in.Description = "Charge Debit - Debit AR";
+ dto_in.TransType = "GL";
+ dto_in.DcFlag = 1; // 1 = Debit, -1 = Credit
+ dto_in.SequenceNo = 1;
+ dto_in.SequenceRef = 2;
+ dto_in.VoucherNo = voucher_no; // something other than 0?
+
+
+ /*
+ dto_in.Account = ; // 8 Character GL account code. (must be valid in COA)
+ dto_in.Account2 = ; // 8 Char GL acct for tax calc. Only for tax txns
+ dto_in.Address = ; // Used only with Sundry suppliers/customers.
+ dto_in.AllocationKey = ; //ID for accrual key. Must be valid.
+ dto_in.Amount = ; // amount in company currency
+ dto_in.AparId = ; // Supplier/Customer number
+ dto_in.AparName = ; // Supplier/Customer name (only for sundry)
+ dto_in.AparType = ; // (P = Supplier, R=Customer, (!P)&(!R)=not AP/AR)
+ dto_in.ArrivalDate = ; // date the invoice was received
+ dto_in.ArriveId = ; // The current line's registration number
+ dto_in.BaCountryCode = ;
+ dto_in.BankAccount = ;
+ dto_in.BankAccType = ;
+ dto_in.BaseAmount = ;
+ dto_in.BaseCurr = ;
+ dto_in.ClearingCode = ;
+ dto_in.Client = ;
+ dto_in.ClientRef = ;
+ dto_in.Collection = ;
+ dto_in.Commitment = ;
+ dto_in.Complaint = ;
+ dto_in.ComplDelay = ;
+ dto_in.ContractId = ;
+ dto_in.CountryCode = ;
+ dto_in.CurAmount = ;
+ dto_in.CurrDoc = ;
+ dto_in.Currency = ;
+ dto_in.CurrLicence = ;
+ dto_in.DcFlag = ;
+ dto_in.Description = ;
+ dto_in.Dim1 = ;
+ dto_in.Dim2 = ;
+ dto_in.Dim3 = ;
+ dto_in.Dim4 = ;
+ dto_in.Dim5 = ;
+ dto_in.Dim6 = ;
+ dto_in.Dim7 = ;
+ dto_in.DiscDate = ;
+ dto_in.Discount = ;
+ dto_in.DueDate = ;
+ dto_in.ErrorFlag = ;
+ dto_in.ExchRate = ;
+ dto_in.ExchRate2 = ;
+ dto_in.ExchRate3 = ;
+ dto_in.ExRef = ;
+ dto_in.ExtArchRefCol = ;
+ dto_in.ExtensionData = ;
+ dto_in.ExtInvRef = ;
+ dto_in.FactorShort = ;
+ dto_in.ForeignBank = ;
+ dto_in.Interface = ;
+ dto_in.IntruleId = ;
+ dto_in.Kid = ;
+ dto_in.Number1 = ;
+ dto_in.OrigReference = ;
+ dto_in.PayCurrency = ;
+ dto_in.PayFlag = ;
+ dto_in.PayMethod = ;
+ dto_in.PayPlanId = ;
+ dto_in.PayTempId = ;
+ dto_in.PayTransfer = ;
+ dto_in.PeriodNo = ;
+ dto_in.Place = ;
+ dto_in.Province = ;
+ dto_in.RemittId = ;
+ dto_in.RemLevel = ;
+ dto_in.Responsible = ;
+ dto_in.SequenceNo = ;
+ dto_in.SequenceRef = ;
+ dto_in.Status = ;
+ dto_in.Swift = ;
+ dto_in.TaxCode = ;
+ dto_in.TaxId = ;
+ dto_in.TaxSystem = ;
+ dto_in.TransDate = ;
+ dto_in.TransType = ;
+ dto_in.Value1 = ;
+ dto_in.Value2 = ;
+ dto_in.Value3 = ;
+ dto_in.VatRegNo = ;
+ dto_in.VoucherDate = ;
+ dto_in.VoucherNo = ;
+ dto_in.VoucherRef = ;
+ dto_in.VoucherType = ;
+ dto_in.ZipCode = ;
+ */
+ }
+
+
+ // This is the CREDIT side of the AR charge transaction.
+ // Negative value (dto_in.DcFlag = -1) to indicate CREDIT
+ public void AddDefaultARCreditToDTO(BatchInputDTO dto_in, string charge_type, double amount, string stuid)
+ {
+ dto_in.Client = company;
+ dto_in.Interface = ubw_interface;
+ dto_in.VoucherType = voucher_type;
+ dto_in.ArrivalDate = Convert.ToDateTime("10/20/2019");
+ dto_in.ComplDelay = Convert.ToDateTime("10/20/2019");
+ dto_in.DiscDate = Convert.ToDateTime("10/20/2019");
+ dto_in.DueDate = Convert.ToDateTime("10/20/2019");
+ dto_in.TransDate = Convert.ToDateTime("10/20/2019");
+ dto_in.VoucherDate = Convert.ToDateTime("10/20/2019");
+ dto_in.Account = GetChargeTypeCRAcct(charge_type);
+ //dto_in.Account = "2074"; // 2074 is the identified account in SLED integration documentation.
+ // Is "CLEARING - TUITION FEES CLEARING - rule = 12
+ // #### --> 921 in FRS
+
+
+ // amount - normally negative for CR
+ dto_in.Amount = amount; // Not clear on why this has to be negative if DcFlag is set
+ dto_in.CurAmount = amount;// Not clear on why this has to be negative if DcFlag is set
+ dto_in.Currency = default_currency;
+ dto_in.AparId = default_apar_id;
+ dto_in.AparType = "";
+ dto_in.Dim1 = "9000"; //COSTC
+ dto_in.Dim2 = "10"; //FUND
+ dto_in.ExtInvRef = "SLEDTEST";
+ dto_in.Responsible = "ITADMIN";
+ dto_in.TaxCode = "0";
+ dto_in.TaxSystem = "N";
+ dto_in.TransType = "GL";
+ dto_in.Description = "Charge Credit - Credit Tuition Clearing";
+ dto_in.DcFlag = -1;
+ dto_in.SequenceNo = 2;
+ dto_in.SequenceRef = 1;
+ dto_in.VoucherNo = voucher_no; // something other than 0?
+ /*
+ dto_in.Account = ; // 8 Character GL account code. (must be valid in COA)
+ dto_in.Account2 = ; // 8 Char GL acct for tax calc. Only for tax txns
+ dto_in.Address = ; // Used only with Sundry suppliers/customers.
+ dto_in.AllocationKey = ; //ID for accrual key. Must be valid.
+ dto_in.Amount = ; // amount in company currency
+ dto_in.AparId = ; // Supplier/Customer number
+ dto_in.AparName = ; // Supplier/Customer name (only for sundry)
+ dto_in.AparType = ; // (P = Supplier, R=Customer, (!P)&(!R)=not AP/AR)
+ dto_in.ArrivalDate = ; // date the invoice was received
+ dto_in.ArriveId = ; // The current line's registration number
+ dto_in.BaCountryCode = ;
+ dto_in.BankAccount = ;
+ dto_in.BankAccType = ;
+ dto_in.BaseAmount = ;
+ dto_in.BaseCurr = ;
+ dto_in.ClearingCode = ;
+ dto_in.Client = ;
+ dto_in.ClientRef = ;
+ dto_in.Collection = ;
+ dto_in.Commitment = ;
+ dto_in.Complaint = ;
+ dto_in.ComplDelay = ;
+ dto_in.ContractId = ;
+ dto_in.CountryCode = ;
+ dto_in.CurAmount = ;
+ dto_in.CurrDoc = ;
+ dto_in.Currency = ;
+ dto_in.CurrLicence = ;
+ dto_in.DcFlag = ;
+ dto_in.Description = ;
+ dto_in.Dim1 = ;
+ dto_in.Dim2 = ;
+ dto_in.Dim3 = ;
+ dto_in.Dim4 = ;
+ dto_in.Dim5 = ;
+ dto_in.Dim6 = ;
+ dto_in.Dim7 = ;
+ dto_in.DiscDate = ;
+ dto_in.Discount = ;
+ dto_in.DueDate = ;
+ dto_in.ErrorFlag = ;
+ dto_in.ExchRate = ;
+ dto_in.ExchRate2 = ;
+ dto_in.ExchRate3 = ;
+ dto_in.ExRef = ;
+ dto_in.ExtArchRefCol = ;
+ dto_in.ExtensionData = ;
+ dto_in.ExtInvRef = ;
+ dto_in.FactorShort = ;
+ dto_in.ForeignBank = ;
+ dto_in.Interface = ;
+ dto_in.IntruleId = ;
+ dto_in.Kid = ;
+ dto_in.Number1 = ;
+ dto_in.OrigReference = ;
+ dto_in.PayCurrency = ;
+ dto_in.PayFlag = ;
+ dto_in.PayMethod = ;
+ dto_in.PayPlanId = ;
+ dto_in.PayTempId = ;
+ dto_in.PayTransfer = ;
+ dto_in.PeriodNo = ;
+ dto_in.Place = ;
+ dto_in.Province = ;
+ dto_in.RemittId = ;
+ dto_in.RemLevel = ;
+ dto_in.Responsible = ;
+ dto_in.SequenceNo = ;
+ dto_in.SequenceRef = ;
+ dto_in.Status = ;
+ dto_in.Swift = ;
+ dto_in.TaxCode = ;
+ dto_in.TaxId = ;
+ dto_in.TaxSystem = ;
+ dto_in.TransDate = ;
+ dto_in.TransType = ;
+ dto_in.Value1 = ;
+ dto_in.Value2 = ;
+ dto_in.Value3 = ;
+ dto_in.VatRegNo = ;
+ dto_in.VoucherDate = ;
+ dto_in.VoucherNo = ;
+ dto_in.VoucherRef = ;
+ dto_in.VoucherType = ;
+ dto_in.ZipCode = ;
+ */
+ }
+
+ public void AddDefaultDebitToDTO(BatchInputDTO dto_in)
+ {
+ dto_in.Client = company;
+ dto_in.Interface = ubw_interface;
+ dto_in.VoucherType = voucher_type;
+ dto_in.ArrivalDate = Convert.ToDateTime("10/20/2019");
+ dto_in.ComplDelay = Convert.ToDateTime("10/20/2019");
+ dto_in.DiscDate = Convert.ToDateTime("10/20/2019");
+ dto_in.DueDate = Convert.ToDateTime("10/20/2019");
+ dto_in.TransDate = Convert.ToDateTime("10/20/2019");
+ dto_in.VoucherDate = Convert.ToDateTime("10/20/2019");
+ dto_in.Account = "6500";
+ dto_in.Amount = 100.00;
+ dto_in.CurAmount = 100.00;
+ dto_in.Currency = default_currency;
+ dto_in.AparId = default_apar_id;
+ dto_in.AparType = "";
+ dto_in.Dim1 = "1000"; //COSTC
+ dto_in.Dim2 = "10"; //FUND
+ dto_in.Dim3 = "357795";
+ dto_in.Dim4 = "101000-1-10";
+ dto_in.ExtInvRef = "TEST";
+ dto_in.Responsible = "ITADMIN";
+ dto_in.TaxCode = "P1";
+ dto_in.TransType = "AR";
+ dto_in.DcFlag = 1;
+ dto_in.SequenceNo = 1;
+ dto_in.SequenceRef = 2;
+
+ /*
+ dto_in.Account = ; // 8 Character GL account code. (must be valid in COA)
+ dto_in.Account2 = ; // 8 Char GL acct for tax calc. Only for tax txns
+ dto_in.Address = ; // Used only with Sundry suppliers/customers.
+ dto_in.AllocationKey = ; //ID for accrual key. Must be valid.
+ dto_in.Amount = ; // amount in company currency
+ dto_in.AparId = ; // Supplier/Customer number
+ dto_in.AparName = ; // Supplier/Customer name (only for sundry)
+ dto_in.AparType = ; // (P = Supplier, R=Customer, (!P)&(!R)=not AP/AR)
+ dto_in.ArrivalDate = ; // date the invoice was received
+ dto_in.ArriveId = ; // The current line's registration number
+ dto_in.BaCountryCode = ;
+ dto_in.BankAccount = ;
+ dto_in.BankAccType = ;
+ dto_in.BaseAmount = ;
+ dto_in.BaseCurr = ;
+ dto_in.ClearingCode = ;
+ dto_in.Client = ;
+ dto_in.ClientRef = ;
+ dto_in.Collection = ;
+ dto_in.Commitment = ;
+ dto_in.Complaint = ;
+ dto_in.ComplDelay = ;
+ dto_in.ContractId = ;
+ dto_in.CountryCode = ;
+ dto_in.CurAmount = ;
+ dto_in.CurrDoc = ;
+ dto_in.Currency = ;
+ dto_in.CurrLicence = ;
+ dto_in.DcFlag = ;
+ dto_in.Description = ;
+ dto_in.Dim1 = ;
+ dto_in.Dim2 = ;
+ dto_in.Dim3 = ;
+ dto_in.Dim4 = ;
+ dto_in.Dim5 = ;
+ dto_in.Dim6 = ;
+ dto_in.Dim7 = ;
+ dto_in.DiscDate = ;
+ dto_in.Discount = ;
+ dto_in.DueDate = ;
+ dto_in.ErrorFlag = ;
+ dto_in.ExchRate = ;
+ dto_in.ExchRate2 = ;
+ dto_in.ExchRate3 = ;
+ dto_in.ExRef = ;
+ dto_in.ExtArchRefCol = ;
+ dto_in.ExtensionData = ;
+ dto_in.ExtInvRef = ;
+ dto_in.FactorShort = ;
+ dto_in.ForeignBank = ;
+ dto_in.Interface = ;
+ dto_in.IntruleId = ;
+ dto_in.Kid = ;
+ dto_in.Number1 = ;
+ dto_in.OrigReference = ;
+ dto_in.PayCurrency = ;
+ dto_in.PayFlag = ;
+ dto_in.PayMethod = ;
+ dto_in.PayPlanId = ;
+ dto_in.PayTempId = ;
+ dto_in.PayTransfer = ;
+ dto_in.PeriodNo = ;
+ dto_in.Place = ;
+ dto_in.Province = ;
+ dto_in.RemittId = ;
+ dto_in.RemLevel = ;
+ dto_in.Responsible = ;
+ dto_in.SequenceNo = ;
+ dto_in.SequenceRef = ;
+ dto_in.Status = ;
+ dto_in.Swift = ;
+ dto_in.TaxCode = ;
+ dto_in.TaxId = ;
+ dto_in.TaxSystem = ;
+ dto_in.TransDate = ;
+ dto_in.TransType = ;
+ dto_in.Value1 = ;
+ dto_in.Value2 = ;
+ dto_in.Value3 = ;
+ dto_in.VatRegNo = ;
+ dto_in.VoucherDate = ;
+ dto_in.VoucherNo = ;
+ dto_in.VoucherRef = ;
+ dto_in.VoucherType = ;
+ dto_in.ZipCode = ;
+ */
+ }
+
+
+ // This is the CREDIT side of the transaction. This uses a negative value to indicate CREDIT
+ public void AddDefaultCreditToDTO(BatchInputDTO dto_in)
+ {
+ dto_in.Client = company;
+ dto_in.Interface = ubw_interface;
+ dto_in.VoucherType = voucher_type;
+ dto_in.ArrivalDate = Convert.ToDateTime("10/20/2019");
+ dto_in.ComplDelay = Convert.ToDateTime("10/20/2019");
+ dto_in.DiscDate = Convert.ToDateTime("10/20/2019");
+ dto_in.DueDate = Convert.ToDateTime("10/20/2019");
+ dto_in.TransDate = Convert.ToDateTime("10/20/2019");
+ dto_in.VoucherDate = Convert.ToDateTime("10/20/2019");
+ dto_in.Account = "9700";
+ dto_in.Amount = -100.00;
+ dto_in.CurAmount = -100.00;
+ dto_in.Currency = default_currency;
+ dto_in.AparId = default_apar_id;
+ dto_in.AparType = "";
+ dto_in.Dim1 = "9000"; //COSTC
+ dto_in.Dim2 = "10"; //FUND
+ dto_in.ExtInvRef = "TEST";
+ dto_in.Responsible = "ITADMIN";
+ dto_in.TaxCode = "P1";
+ dto_in.TransType = "PO";
+ dto_in.DcFlag = -1;
+ dto_in.SequenceNo = 2;
+ dto_in.SequenceRef = 1;
+ /*
+ dto_in.Account = ; // 8 Character GL account code. (must be valid in COA)
+ dto_in.Account2 = ; // 8 Char GL acct for tax calc. Only for tax txns
+ dto_in.Address = ; // Used only with Sundry suppliers/customers.
+ dto_in.AllocationKey = ; //ID for accrual key. Must be valid.
+ dto_in.Amount = ; // amount in company currency
+ dto_in.AparId = ; // Supplier/Customer number
+ dto_in.AparName = ; // Supplier/Customer name (only for sundry)
+ dto_in.AparType = ; // (P = Supplier, R=Customer, (!P)&(!R)=not AP/AR)
+ dto_in.ArrivalDate = ; // date the invoice was received
+ dto_in.ArriveId = ; // The current line's registration number
+ dto_in.BaCountryCode = ;
+ dto_in.BankAccount = ;
+ dto_in.BankAccType = ;
+ dto_in.BaseAmount = ;
+ dto_in.BaseCurr = ;
+ dto_in.ClearingCode = ;
+ dto_in.Client = ;
+ dto_in.ClientRef = ;
+ dto_in.Collection = ;
+ dto_in.Commitment = ;
+ dto_in.Complaint = ;
+ dto_in.ComplDelay = ;
+ dto_in.ContractId = ;
+ dto_in.CountryCode = ;
+ dto_in.CurAmount = ;
+ dto_in.CurrDoc = ;
+ dto_in.Currency = ;
+ dto_in.CurrLicence = ;
+ dto_in.DcFlag = ;
+ dto_in.Description = ;
+ dto_in.Dim1 = ;
+ dto_in.Dim2 = ;
+ dto_in.Dim3 = ;
+ dto_in.Dim4 = ;
+ dto_in.Dim5 = ;
+ dto_in.Dim6 = ;
+ dto_in.Dim7 = ;
+ dto_in.DiscDate = ;
+ dto_in.Discount = ;
+ dto_in.DueDate = ;
+ dto_in.ErrorFlag = ;
+ dto_in.ExchRate = ;
+ dto_in.ExchRate2 = ;
+ dto_in.ExchRate3 = ;
+ dto_in.ExRef = ;
+ dto_in.ExtArchRefCol = ;
+ dto_in.ExtensionData = ;
+ dto_in.ExtInvRef = ;
+ dto_in.FactorShort = ;
+ dto_in.ForeignBank = ;
+ dto_in.Interface = ;
+ dto_in.IntruleId = ;
+ dto_in.Kid = ;
+ dto_in.Number1 = ;
+ dto_in.OrigReference = ;
+ dto_in.PayCurrency = ;
+ dto_in.PayFlag = ;
+ dto_in.PayMethod = ;
+ dto_in.PayPlanId = ;
+ dto_in.PayTempId = ;
+ dto_in.PayTransfer = ;
+ dto_in.PeriodNo = ;
+ dto_in.Place = ;
+ dto_in.Province = ;
+ dto_in.RemittId = ;
+ dto_in.RemLevel = ;
+ dto_in.Responsible = ;
+ dto_in.SequenceNo = ;
+ dto_in.SequenceRef = ;
+ dto_in.Status = ;
+ dto_in.Swift = ;
+ dto_in.TaxCode = ;
+ dto_in.TaxId = ;
+ dto_in.TaxSystem = ;
+ dto_in.TransDate = ;
+ dto_in.TransType = ;
+ dto_in.Value1 = ;
+ dto_in.Value2 = ;
+ dto_in.Value3 = ;
+ dto_in.VatRegNo = ;
+ dto_in.VoucherDate = ;
+ dto_in.VoucherNo = ;
+ dto_in.VoucherRef = ;
+ dto_in.VoucherType = ;
+ dto_in.ZipCode = ;
+ */
+ }
+
+ public int GetNextVoucherNo()
+ {
+ OracleCommand cmd = conn.CreateCommand();
+ cmd.CommandText = "select frsmala.ubw_ar_voucher_no_seq.nextval as seq from dual";
+ OracleDataReader reader = cmd.ExecuteReader();
+ if (reader.HasRows)
+ {
+ if (reader.Read()) {
+ return reader.GetInt32(0);
+ } else
+ {
+ return -1;
+ }
+
+ }
+ else
+ {
+ return -1;
+ }
+ }
+
+
+ public OracleConnection GetOracleConnection()
+ {
+ DBConnectionOracle dbConnect = new DBConnectionOracle("DEVELOPMENT", "frsmala", "C:\\databases_config.ini");
+ return new OracleConnection(dbConnect.GetConnectionString());
+ }
+
+
+ public string GetChargeTypeCRWorkOrder(string chargetype)
+ {
+ OracleCommand cmd = conn.CreateCommand();
+ cmd.CommandText = "select bank_ubw_wo from frsmala.ubw_sled_charge_types_vw where chargetype=:chargetype";
+ cmd.Parameters.Add(new OracleParameter("chargetype", chargetype));
+ OracleDataReader reader = cmd.ExecuteReader();
+ if (reader.Read())
+ {
+ return reader.GetString(0);
+ }
+ else
+ {
+ return null;
+ }
+
+ }
+
+ public string GetChargeTypeCRAcct(string chargetype)
+ {
+ OracleCommand cmd = conn.CreateCommand();
+ cmd.CommandText = "select bank_ubw_acct from frsmala.ubw_sled_charge_types_vw where chargetype=:chargetype";
+ cmd.Parameters.Add(new OracleParameter("chargetype", chargetype));
+ OracleDataReader reader = cmd.ExecuteReader();
+ if (reader.Read())
+ {
+ return reader.GetString(0);
+ }
+ else
+ {
+ return null;
+ }
+
+ }
+
+ public string GetChargeTypeDRAcct(string chargetype)
+ {
+ OracleCommand cmd = conn.CreateCommand();
+ cmd.CommandText = "select receivable_ubw_acct from frsmala.ubw_sled_charge_types_vw where chargetype=:chargetype";
+ cmd.Parameters.Add(new OracleParameter("chargetype", chargetype));
+ OracleDataReader reader = cmd.ExecuteReader();
+ if (reader.Read())
+ {
+ return reader.GetString(0);
+ }
+ else
+ {
+ return null;
+ }
+
+ }
+
+
+
+ public string GetPaymentTypeDRAcct(string paytype)
+ {
+ OracleCommand cmd = conn.CreateCommand();
+ cmd.CommandText = "select bank_ubw_acct from frsmala.ubw_sled_payment_types_vw where paytype=:paytype";
+ cmd.Parameters.Add(new OracleParameter("paytype", paytype));
+ OracleDataReader reader = cmd.ExecuteReader();
+ if (reader.Read())
+ {
+ return reader.GetString(0);
+ }
+ else
+ {
+ return null;
+ }
+
+ }
+
+ public string GetPaymentTypeCRAcct(string paytype)
+ {
+
+ OracleCommand cmd = conn.CreateCommand();
+ cmd.CommandText = "select receivable_ubw_acct from frsmala.ubw_sled_payment_types_vw where paytype=:paytype";
+ cmd.Parameters.Add(new OracleParameter("paytype", paytype));
+ OracleDataReader reader = cmd.ExecuteReader();
+ if (reader.Read())
+ {
+ return reader.GetString(0);
+ }
+ else
+ {
+ return null;
+ }
+
+ }
+
+
+ public string GetTxnChargeTypeDtl(long chargeno, long transaction_no)
+ {
+
+ OracleCommand cmd = conn.CreateCommand();
+ cmd.CommandText = "select chargetype from frsmala.sled_charges where chargeno=:chargeno and transaction_no=:transaction_no";
+ cmd.Parameters.Add(new OracleParameter("chargeno", chargeno));
+ cmd.Parameters.Add(new OracleParameter("transaction_no", transaction_no));
+ OracleDataReader reader = cmd.ExecuteReader();
+ if (reader.Read())
+ {
+ return reader.GetString(0);
+ }
+ else
+ {
+ return null;
+ }
+
+ }
+
+ public string GetTxnPaymentTypeDtl(long paymentno)
+ {
+
+ OracleCommand cmd = conn.CreateCommand();
+ cmd.CommandText = "select paytype from frsmala.sled_payments where paymentno=:paymentno";
+ cmd.Parameters.Add(new OracleParameter("paymentno", paymentno));
+
+ OracleDataReader reader = cmd.ExecuteReader();
+ if (reader.Read())
+ {
+ return reader.GetString(0);
+ }
+ else
+ {
+ return null;
+ }
+
+ }
+
+ public double GetTxnChargeAmount(long chargeno, long transaction_no)
+ {
+ OracleCommand cmd = conn.CreateCommand();
+ cmd.CommandText = "select amount from frsmala.sled_charges where chargeno=:chargeno and transaction_no=:transaction_no";
+ cmd.Parameters.Add(new OracleParameter("chargeno", chargeno));
+ cmd.Parameters.Add(new OracleParameter("transaction_no", transaction_no));
+ OracleDataReader reader = cmd.ExecuteReader();
+ if (reader.Read())
+ {
+ return reader.GetDouble(0);
+ }
+ else
+ {
+ return 0;
+ }
+ }
+
+ public double GetPayAmount(long paymentno)
+ {
+ OracleCommand cmd = conn.CreateCommand();
+ cmd.CommandText = "select amount from frsmala.sled_payments where paymentno=:paymentno";
+ cmd.Parameters.Add(new OracleParameter("paymentno", paymentno));
+
+ OracleDataReader reader = cmd.ExecuteReader();
+ if (reader.Read())
+ {
+ return reader.GetDouble(0);
+ }
+ else
+ {
+ return 0;
+ }
+ }
+
+ public string GetTxnStuId(long chargeno, long transaction_no)
+ {
+ OracleCommand cmd = conn.CreateCommand();
+ cmd.CommandText = "select b.stuid from frsmala.sled_charges a, srs.stu_root b where a.chargeno=:chargeno and a.transaction_no=:transaction_no and b.stuisn = a.stuisn";
+ cmd.Parameters.Add(new OracleParameter("chargeno", chargeno));
+ cmd.Parameters.Add(new OracleParameter("transaction_no", transaction_no));
+ OracleDataReader reader = cmd.ExecuteReader();
+ if (reader.Read())
+ {
+ return reader.GetString(0);
+ }
+ else
+ {
+ return null;
+ }
+ }
+
+
+ public string GetPayStuId(long paymentno)
+ {
+ OracleCommand cmd = conn.CreateCommand();
+ cmd.CommandText = "select b.stuid from frsmala.sled_payments a, srs.stu_root b where a.paymentno=:paymentno and b.stuisn = a.stuisn";
+ cmd.Parameters.Add(new OracleParameter("paymentno", paymentno));
+
+ OracleDataReader reader = cmd.ExecuteReader();
+ if (reader.Read())
+ {
+ return reader.GetString(0);
+ }
+ else
+ {
+ return null;
+ }
+ }
+
+ public DateTime GetTxnDueDate(long chargeno, long transaction_no)
+ {
+ OracleCommand cmd = conn.CreateCommand();
+ cmd.CommandText = "select a.charge_due_date from frsmala.sled_charges a where a.chargeno=:chargeno and a.transaction_no=:transaction_no";
+ cmd.Parameters.Add(new OracleParameter("chargeno", chargeno));
+ cmd.Parameters.Add(new OracleParameter("transaction_no", transaction_no));
+ OracleDataReader reader = cmd.ExecuteReader();
+ if (reader.Read())
+ {
+ return reader.GetDateTime(0);
+ }
+ else
+ {
+ return DateTime.Now;
+ }
+ }
+
+
+ public string GetTxnAcctType(long chargeno, long transaction_no)
+ {
+ OracleCommand cmd = conn.CreateCommand();
+ cmd.CommandText = "select a.account_type from frsmala.sled_charges a where a.chargeno=:chargeno and a.transaction_no=:transaction_no";
+ cmd.Parameters.Add(new OracleParameter("chargeno", chargeno));
+ cmd.Parameters.Add(new OracleParameter("transaction_no", transaction_no));
+ OracleDataReader reader = cmd.ExecuteReader();
+ if (reader.Read())
+ {
+ return reader.GetString(0);
+ }
+ else
+ {
+ return null;
+ }
+ }
+
+ public DateTime GetPayDate(long paymentno)
+ {
+ OracleCommand cmd = conn.CreateCommand();
+ cmd.CommandText = "select a.payment_date from frsmala.sled_payments a where a.paymentno=:paymentno";
+ cmd.Parameters.Add(new OracleParameter("paymentno", paymentno));
+
+ OracleDataReader reader = cmd.ExecuteReader();
+ if (reader.Read())
+ {
+ return reader.GetDateTime(0);
+ }
+ else
+ {
+ return DateTime.Now;
+ }
+ }
+ }
+}
diff --git a/BatchInputTest1/Connected Services/BatchInputService/BatchInput1.wsdl b/BatchInputTest1/Connected Services/BatchInputService/BatchInput1.wsdl
new file mode 100644
index 0000000000000000000000000000000000000000..77c0932f227af92dc78dc629d5d07c01a257eb07
--- /dev/null
+++ b/BatchInputTest1/Connected Services/BatchInputService/BatchInput1.wsdl
@@ -0,0 +1,285 @@
+
+
+ Version V201605. First version of BatchInput Web Service
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Check if can delete BatchInput
+
+
+
+
+ Delete BatchInput
+
+
+
+
+ Saves transactions to be imported
+
+
+
+
+ Diagnostics method that checks for presence of nessecary components and database connection
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Version V201605. First version of BatchInput Web Service
+
+
+
+
+
\ No newline at end of file
diff --git a/BatchInputTest1/Connected Services/BatchInputService/BatchInputTest1.BatchInputService.AboutResponse.datasource b/BatchInputTest1/Connected Services/BatchInputService/BatchInputTest1.BatchInputService.AboutResponse.datasource
new file mode 100644
index 0000000000000000000000000000000000000000..d6c5de7c8444e84f66321cacad1e956a3c8a8287
--- /dev/null
+++ b/BatchInputTest1/Connected Services/BatchInputService/BatchInputTest1.BatchInputService.AboutResponse.datasource
@@ -0,0 +1,10 @@
+
+
+
+ BatchInputTest1.BatchInputService.AboutResponse, Connected Services.BatchInputService.Reference.cs.dll, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null
+
\ No newline at end of file
diff --git a/BatchInputTest1/Connected Services/BatchInputService/BatchInputTest1.BatchInputService.BatchInputSaveResponse.datasource b/BatchInputTest1/Connected Services/BatchInputService/BatchInputTest1.BatchInputService.BatchInputSaveResponse.datasource
new file mode 100644
index 0000000000000000000000000000000000000000..50aa0641cf06ca8d3ed4c6611d94af1db4c2954c
--- /dev/null
+++ b/BatchInputTest1/Connected Services/BatchInputService/BatchInputTest1.BatchInputService.BatchInputSaveResponse.datasource
@@ -0,0 +1,10 @@
+
+
+
+ BatchInputTest1.BatchInputService.BatchInputSaveResponse, Connected Services.BatchInputService.Reference.cs.dll, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null
+
\ No newline at end of file
diff --git a/BatchInputTest1/Connected Services/BatchInputService/BatchInputTest1.BatchInputService.CanDeleteBatchInputResponse.datasource b/BatchInputTest1/Connected Services/BatchInputService/BatchInputTest1.BatchInputService.CanDeleteBatchInputResponse.datasource
new file mode 100644
index 0000000000000000000000000000000000000000..69ac4bd41f9eaec4c62f287905a6c4c4c5bcc65b
--- /dev/null
+++ b/BatchInputTest1/Connected Services/BatchInputService/BatchInputTest1.BatchInputService.CanDeleteBatchInputResponse.datasource
@@ -0,0 +1,10 @@
+
+
+
+ BatchInputTest1.BatchInputService.CanDeleteBatchInputResponse, Connected Services.BatchInputService.Reference.cs.dll, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null
+
\ No newline at end of file
diff --git a/BatchInputTest1/Connected Services/BatchInputService/BatchInputTest1.BatchInputService.DeleteBatchInputResponse.datasource b/BatchInputTest1/Connected Services/BatchInputService/BatchInputTest1.BatchInputService.DeleteBatchInputResponse.datasource
new file mode 100644
index 0000000000000000000000000000000000000000..f787f905d543d4c2a76895b6a49bcc9ba3a76d30
--- /dev/null
+++ b/BatchInputTest1/Connected Services/BatchInputService/BatchInputTest1.BatchInputService.DeleteBatchInputResponse.datasource
@@ -0,0 +1,10 @@
+
+
+
+ BatchInputTest1.BatchInputService.DeleteBatchInputResponse, Connected Services.BatchInputService.Reference.cs.dll, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null
+
\ No newline at end of file
diff --git a/BatchInputTest1/Connected Services/BatchInputService/BatchInputTest1.BatchInputService.SaveTransactionsResponse.datasource b/BatchInputTest1/Connected Services/BatchInputService/BatchInputTest1.BatchInputService.SaveTransactionsResponse.datasource
new file mode 100644
index 0000000000000000000000000000000000000000..f2bb45c0034c64ee01f6264901e0d2ab653f4457
--- /dev/null
+++ b/BatchInputTest1/Connected Services/BatchInputService/BatchInputTest1.BatchInputService.SaveTransactionsResponse.datasource
@@ -0,0 +1,10 @@
+
+
+
+ BatchInputTest1.BatchInputService.SaveTransactionsResponse, Connected Services.BatchInputService.Reference.cs.dll, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null
+
\ No newline at end of file
diff --git a/BatchInputTest1/Connected Services/BatchInputService/Reference.cs b/BatchInputTest1/Connected Services/BatchInputService/Reference.cs
new file mode 100644
index 0000000000000000000000000000000000000000..dde5d9ff9b641e7d860f3d009922546165d406bd
--- /dev/null
+++ b/BatchInputTest1/Connected Services/BatchInputService/Reference.cs
@@ -0,0 +1,2132 @@
+//------------------------------------------------------------------------------
+//
+// This code was generated by a tool.
+// Runtime Version:4.0.30319.42000
+//
+// Changes to this file may cause incorrect behavior and will be lost if
+// the code is regenerated.
+//
+//------------------------------------------------------------------------------
+
+namespace BatchInputTest1.BatchInputService {
+ using System.Runtime.Serialization;
+ using System;
+
+
+ [System.Diagnostics.DebuggerStepThroughAttribute()]
+ [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Runtime.Serialization", "4.0.0.0")]
+ [System.Runtime.Serialization.DataContractAttribute(Name="WSCredentials", Namespace="http://services.agresso.com/BatchInputService/BatchInput")]
+ [System.SerializableAttribute()]
+ public partial class WSCredentials : object, System.Runtime.Serialization.IExtensibleDataObject, System.ComponentModel.INotifyPropertyChanged {
+
+ [System.NonSerializedAttribute()]
+ private System.Runtime.Serialization.ExtensionDataObject extensionDataField;
+
+ [System.Runtime.Serialization.OptionalFieldAttribute()]
+ private string UsernameField;
+
+ [System.Runtime.Serialization.OptionalFieldAttribute()]
+ private string ClientField;
+
+ [System.Runtime.Serialization.OptionalFieldAttribute()]
+ private string PasswordField;
+
+ [global::System.ComponentModel.BrowsableAttribute(false)]
+ public System.Runtime.Serialization.ExtensionDataObject ExtensionData {
+ get {
+ return this.extensionDataField;
+ }
+ set {
+ this.extensionDataField = value;
+ }
+ }
+
+ [System.Runtime.Serialization.DataMemberAttribute(EmitDefaultValue=false)]
+ public string Username {
+ get {
+ return this.UsernameField;
+ }
+ set {
+ if ((object.ReferenceEquals(this.UsernameField, value) != true)) {
+ this.UsernameField = value;
+ this.RaisePropertyChanged("Username");
+ }
+ }
+ }
+
+ [System.Runtime.Serialization.DataMemberAttribute(EmitDefaultValue=false, Order=1)]
+ public string Client {
+ get {
+ return this.ClientField;
+ }
+ set {
+ if ((object.ReferenceEquals(this.ClientField, value) != true)) {
+ this.ClientField = value;
+ this.RaisePropertyChanged("Client");
+ }
+ }
+ }
+
+ [System.Runtime.Serialization.DataMemberAttribute(EmitDefaultValue=false, Order=2)]
+ public string Password {
+ get {
+ return this.PasswordField;
+ }
+ set {
+ if ((object.ReferenceEquals(this.PasswordField, value) != true)) {
+ this.PasswordField = value;
+ this.RaisePropertyChanged("Password");
+ }
+ }
+ }
+
+ public event System.ComponentModel.PropertyChangedEventHandler PropertyChanged;
+
+ protected void RaisePropertyChanged(string propertyName) {
+ System.ComponentModel.PropertyChangedEventHandler propertyChanged = this.PropertyChanged;
+ if ((propertyChanged != null)) {
+ propertyChanged(this, new System.ComponentModel.PropertyChangedEventArgs(propertyName));
+ }
+ }
+ }
+
+ [System.Diagnostics.DebuggerStepThroughAttribute()]
+ [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Runtime.Serialization", "4.0.0.0")]
+ [System.Runtime.Serialization.DataContractAttribute(Name="BatchInputDTO", Namespace="http://services.agresso.com/BatchInputService/BatchInput")]
+ [System.SerializableAttribute()]
+ public partial class BatchInputDTO : object, System.Runtime.Serialization.IExtensibleDataObject, System.ComponentModel.INotifyPropertyChanged {
+
+ [System.NonSerializedAttribute()]
+ private System.Runtime.Serialization.ExtensionDataObject extensionDataField;
+
+ [System.Runtime.Serialization.OptionalFieldAttribute()]
+ private string AccountField;
+
+ [System.Runtime.Serialization.OptionalFieldAttribute()]
+ private string Account2Field;
+
+ [System.Runtime.Serialization.OptionalFieldAttribute()]
+ private string AddressField;
+
+ private int AllocationKeyField;
+
+ private double AmountField;
+
+ [System.Runtime.Serialization.OptionalFieldAttribute()]
+ private string AparIdField;
+
+ [System.Runtime.Serialization.OptionalFieldAttribute()]
+ private string AparNameField;
+
+ [System.Runtime.Serialization.OptionalFieldAttribute()]
+ private string AparTypeField;
+
+ private System.DateTime ArrivalDateField;
+
+ private int ArriveIdField;
+
+ [System.Runtime.Serialization.OptionalFieldAttribute()]
+ private string BaCountryCodeField;
+
+ [System.Runtime.Serialization.OptionalFieldAttribute()]
+ private string BankAccountField;
+
+ [System.Runtime.Serialization.OptionalFieldAttribute()]
+ private string BankAccTypeField;
+
+ private double BaseAmountField;
+
+ private double BaseCurrField;
+
+ [System.Runtime.Serialization.OptionalFieldAttribute()]
+ private string ClearingCodeField;
+
+ [System.Runtime.Serialization.OptionalFieldAttribute()]
+ private string ClientField;
+
+ [System.Runtime.Serialization.OptionalFieldAttribute()]
+ private string ClientRefField;
+
+ private bool CollectionField;
+
+ [System.Runtime.Serialization.OptionalFieldAttribute()]
+ private string CommitmentField;
+
+ [System.Runtime.Serialization.OptionalFieldAttribute()]
+ private string ComplaintField;
+
+ private System.DateTime ComplDelayField;
+
+ [System.Runtime.Serialization.OptionalFieldAttribute()]
+ private string ContractIdField;
+
+ [System.Runtime.Serialization.OptionalFieldAttribute()]
+ private string CountryCodeField;
+
+ private double CurAmountField;
+
+ [System.Runtime.Serialization.OptionalFieldAttribute()]
+ private string CurrDocField;
+
+ [System.Runtime.Serialization.OptionalFieldAttribute()]
+ private string CurrencyField;
+
+ [System.Runtime.Serialization.OptionalFieldAttribute()]
+ private string CurrLicenceField;
+
+ private int DcFlagField;
+
+ [System.Runtime.Serialization.OptionalFieldAttribute()]
+ private string DescriptionField;
+
+ [System.Runtime.Serialization.OptionalFieldAttribute()]
+ private string Dim1Field;
+
+ [System.Runtime.Serialization.OptionalFieldAttribute()]
+ private string Dim2Field;
+
+ [System.Runtime.Serialization.OptionalFieldAttribute()]
+ private string Dim3Field;
+
+ [System.Runtime.Serialization.OptionalFieldAttribute()]
+ private string Dim4Field;
+
+ [System.Runtime.Serialization.OptionalFieldAttribute()]
+ private string Dim5Field;
+
+ [System.Runtime.Serialization.OptionalFieldAttribute()]
+ private string Dim6Field;
+
+ [System.Runtime.Serialization.OptionalFieldAttribute()]
+ private string Dim7Field;
+
+ private System.DateTime DiscDateField;
+
+ private double DiscountField;
+
+ private System.DateTime DueDateField;
+
+ private bool ErrorFlagField;
+
+ private double ExchRateField;
+
+ private double ExchRate2Field;
+
+ private double ExchRate3Field;
+
+ [System.Runtime.Serialization.OptionalFieldAttribute()]
+ private string ExtArchRefColField;
+
+ [System.Runtime.Serialization.OptionalFieldAttribute()]
+ private string ExtInvRefField;
+
+ [System.Runtime.Serialization.OptionalFieldAttribute()]
+ private string ExRefField;
+
+ [System.Runtime.Serialization.OptionalFieldAttribute()]
+ private string FactorShortField;
+
+ [System.Runtime.Serialization.OptionalFieldAttribute()]
+ private string ForeignBankField;
+
+ [System.Runtime.Serialization.OptionalFieldAttribute()]
+ private string InterfaceField;
+
+ [System.Runtime.Serialization.OptionalFieldAttribute()]
+ private string IntruleIdField;
+
+ [System.Runtime.Serialization.OptionalFieldAttribute()]
+ private string KidField;
+
+ private int Number1Field;
+
+ private int OrigReferenceField;
+
+ [System.Runtime.Serialization.OptionalFieldAttribute()]
+ private string PayCurrencyField;
+
+ private bool PayFlagField;
+
+ [System.Runtime.Serialization.OptionalFieldAttribute()]
+ private string PayMethodField;
+
+ private int PayPlanIdField;
+
+ [System.Runtime.Serialization.OptionalFieldAttribute()]
+ private string PayTempIdField;
+
+ [System.Runtime.Serialization.OptionalFieldAttribute()]
+ private string PayTransferField;
+
+ private int PeriodNoField;
+
+ [System.Runtime.Serialization.OptionalFieldAttribute()]
+ private string PlaceField;
+
+ [System.Runtime.Serialization.OptionalFieldAttribute()]
+ private string ProvinceField;
+
+ private int RemittIdField;
+
+ [System.Runtime.Serialization.OptionalFieldAttribute()]
+ private string RemLevelField;
+
+ [System.Runtime.Serialization.OptionalFieldAttribute()]
+ private string ResponsibleField;
+
+ private int SequenceNoField;
+
+ private int SequenceRefField;
+
+ [System.Runtime.Serialization.OptionalFieldAttribute()]
+ private string StatusField;
+
+ [System.Runtime.Serialization.OptionalFieldAttribute()]
+ private string SwiftField;
+
+ [System.Runtime.Serialization.OptionalFieldAttribute()]
+ private string TaxCodeField;
+
+ private bool TaxIdField;
+
+ [System.Runtime.Serialization.OptionalFieldAttribute()]
+ private string TaxSystemField;
+
+ private System.DateTime TransDateField;
+
+ [System.Runtime.Serialization.OptionalFieldAttribute()]
+ private string TransTypeField;
+
+ private double Value1Field;
+
+ private double Value2Field;
+
+ private double Value3Field;
+
+ [System.Runtime.Serialization.OptionalFieldAttribute()]
+ private string VatRegNoField;
+
+ private System.DateTime VoucherDateField;
+
+ private int VoucherNoField;
+
+ private int VoucherRefField;
+
+ [System.Runtime.Serialization.OptionalFieldAttribute()]
+ private string VoucherTypeField;
+
+ [System.Runtime.Serialization.OptionalFieldAttribute()]
+ private string ZipCodeField;
+
+ [global::System.ComponentModel.BrowsableAttribute(false)]
+ public System.Runtime.Serialization.ExtensionDataObject ExtensionData {
+ get {
+ return this.extensionDataField;
+ }
+ set {
+ this.extensionDataField = value;
+ }
+ }
+
+ [System.Runtime.Serialization.DataMemberAttribute(EmitDefaultValue=false)]
+ public string Account {
+ get {
+ return this.AccountField;
+ }
+ set {
+ if ((object.ReferenceEquals(this.AccountField, value) != true)) {
+ this.AccountField = value;
+ this.RaisePropertyChanged("Account");
+ }
+ }
+ }
+
+ [System.Runtime.Serialization.DataMemberAttribute(EmitDefaultValue=false)]
+ public string Account2 {
+ get {
+ return this.Account2Field;
+ }
+ set {
+ if ((object.ReferenceEquals(this.Account2Field, value) != true)) {
+ this.Account2Field = value;
+ this.RaisePropertyChanged("Account2");
+ }
+ }
+ }
+
+ [System.Runtime.Serialization.DataMemberAttribute(EmitDefaultValue=false)]
+ public string Address {
+ get {
+ return this.AddressField;
+ }
+ set {
+ if ((object.ReferenceEquals(this.AddressField, value) != true)) {
+ this.AddressField = value;
+ this.RaisePropertyChanged("Address");
+ }
+ }
+ }
+
+ [System.Runtime.Serialization.DataMemberAttribute(IsRequired=true)]
+ public int AllocationKey {
+ get {
+ return this.AllocationKeyField;
+ }
+ set {
+ if ((this.AllocationKeyField.Equals(value) != true)) {
+ this.AllocationKeyField = value;
+ this.RaisePropertyChanged("AllocationKey");
+ }
+ }
+ }
+
+ [System.Runtime.Serialization.DataMemberAttribute(IsRequired=true)]
+ public double Amount {
+ get {
+ return this.AmountField;
+ }
+ set {
+ if ((this.AmountField.Equals(value) != true)) {
+ this.AmountField = value;
+ this.RaisePropertyChanged("Amount");
+ }
+ }
+ }
+
+ [System.Runtime.Serialization.DataMemberAttribute(EmitDefaultValue=false)]
+ public string AparId {
+ get {
+ return this.AparIdField;
+ }
+ set {
+ if ((object.ReferenceEquals(this.AparIdField, value) != true)) {
+ this.AparIdField = value;
+ this.RaisePropertyChanged("AparId");
+ }
+ }
+ }
+
+ [System.Runtime.Serialization.DataMemberAttribute(EmitDefaultValue=false)]
+ public string AparName {
+ get {
+ return this.AparNameField;
+ }
+ set {
+ if ((object.ReferenceEquals(this.AparNameField, value) != true)) {
+ this.AparNameField = value;
+ this.RaisePropertyChanged("AparName");
+ }
+ }
+ }
+
+ [System.Runtime.Serialization.DataMemberAttribute(EmitDefaultValue=false)]
+ public string AparType {
+ get {
+ return this.AparTypeField;
+ }
+ set {
+ if ((object.ReferenceEquals(this.AparTypeField, value) != true)) {
+ this.AparTypeField = value;
+ this.RaisePropertyChanged("AparType");
+ }
+ }
+ }
+
+ [System.Runtime.Serialization.DataMemberAttribute(IsRequired=true)]
+ public System.DateTime ArrivalDate {
+ get {
+ return this.ArrivalDateField;
+ }
+ set {
+ if ((this.ArrivalDateField.Equals(value) != true)) {
+ this.ArrivalDateField = value;
+ this.RaisePropertyChanged("ArrivalDate");
+ }
+ }
+ }
+
+ [System.Runtime.Serialization.DataMemberAttribute(IsRequired=true)]
+ public int ArriveId {
+ get {
+ return this.ArriveIdField;
+ }
+ set {
+ if ((this.ArriveIdField.Equals(value) != true)) {
+ this.ArriveIdField = value;
+ this.RaisePropertyChanged("ArriveId");
+ }
+ }
+ }
+
+ [System.Runtime.Serialization.DataMemberAttribute(EmitDefaultValue=false)]
+ public string BaCountryCode {
+ get {
+ return this.BaCountryCodeField;
+ }
+ set {
+ if ((object.ReferenceEquals(this.BaCountryCodeField, value) != true)) {
+ this.BaCountryCodeField = value;
+ this.RaisePropertyChanged("BaCountryCode");
+ }
+ }
+ }
+
+ [System.Runtime.Serialization.DataMemberAttribute(EmitDefaultValue=false)]
+ public string BankAccount {
+ get {
+ return this.BankAccountField;
+ }
+ set {
+ if ((object.ReferenceEquals(this.BankAccountField, value) != true)) {
+ this.BankAccountField = value;
+ this.RaisePropertyChanged("BankAccount");
+ }
+ }
+ }
+
+ [System.Runtime.Serialization.DataMemberAttribute(EmitDefaultValue=false, Order=12)]
+ public string BankAccType {
+ get {
+ return this.BankAccTypeField;
+ }
+ set {
+ if ((object.ReferenceEquals(this.BankAccTypeField, value) != true)) {
+ this.BankAccTypeField = value;
+ this.RaisePropertyChanged("BankAccType");
+ }
+ }
+ }
+
+ [System.Runtime.Serialization.DataMemberAttribute(IsRequired=true, Order=13)]
+ public double BaseAmount {
+ get {
+ return this.BaseAmountField;
+ }
+ set {
+ if ((this.BaseAmountField.Equals(value) != true)) {
+ this.BaseAmountField = value;
+ this.RaisePropertyChanged("BaseAmount");
+ }
+ }
+ }
+
+ [System.Runtime.Serialization.DataMemberAttribute(IsRequired=true, Order=14)]
+ public double BaseCurr {
+ get {
+ return this.BaseCurrField;
+ }
+ set {
+ if ((this.BaseCurrField.Equals(value) != true)) {
+ this.BaseCurrField = value;
+ this.RaisePropertyChanged("BaseCurr");
+ }
+ }
+ }
+
+ [System.Runtime.Serialization.DataMemberAttribute(EmitDefaultValue=false, Order=15)]
+ public string ClearingCode {
+ get {
+ return this.ClearingCodeField;
+ }
+ set {
+ if ((object.ReferenceEquals(this.ClearingCodeField, value) != true)) {
+ this.ClearingCodeField = value;
+ this.RaisePropertyChanged("ClearingCode");
+ }
+ }
+ }
+
+ [System.Runtime.Serialization.DataMemberAttribute(EmitDefaultValue=false, Order=16)]
+ public string Client {
+ get {
+ return this.ClientField;
+ }
+ set {
+ if ((object.ReferenceEquals(this.ClientField, value) != true)) {
+ this.ClientField = value;
+ this.RaisePropertyChanged("Client");
+ }
+ }
+ }
+
+ [System.Runtime.Serialization.DataMemberAttribute(EmitDefaultValue=false, Order=17)]
+ public string ClientRef {
+ get {
+ return this.ClientRefField;
+ }
+ set {
+ if ((object.ReferenceEquals(this.ClientRefField, value) != true)) {
+ this.ClientRefField = value;
+ this.RaisePropertyChanged("ClientRef");
+ }
+ }
+ }
+
+ [System.Runtime.Serialization.DataMemberAttribute(IsRequired=true, Order=18)]
+ public bool Collection {
+ get {
+ return this.CollectionField;
+ }
+ set {
+ if ((this.CollectionField.Equals(value) != true)) {
+ this.CollectionField = value;
+ this.RaisePropertyChanged("Collection");
+ }
+ }
+ }
+
+ [System.Runtime.Serialization.DataMemberAttribute(EmitDefaultValue=false, Order=19)]
+ public string Commitment {
+ get {
+ return this.CommitmentField;
+ }
+ set {
+ if ((object.ReferenceEquals(this.CommitmentField, value) != true)) {
+ this.CommitmentField = value;
+ this.RaisePropertyChanged("Commitment");
+ }
+ }
+ }
+
+ [System.Runtime.Serialization.DataMemberAttribute(EmitDefaultValue=false, Order=20)]
+ public string Complaint {
+ get {
+ return this.ComplaintField;
+ }
+ set {
+ if ((object.ReferenceEquals(this.ComplaintField, value) != true)) {
+ this.ComplaintField = value;
+ this.RaisePropertyChanged("Complaint");
+ }
+ }
+ }
+
+ [System.Runtime.Serialization.DataMemberAttribute(IsRequired=true, Order=21)]
+ public System.DateTime ComplDelay {
+ get {
+ return this.ComplDelayField;
+ }
+ set {
+ if ((this.ComplDelayField.Equals(value) != true)) {
+ this.ComplDelayField = value;
+ this.RaisePropertyChanged("ComplDelay");
+ }
+ }
+ }
+
+ [System.Runtime.Serialization.DataMemberAttribute(EmitDefaultValue=false, Order=22)]
+ public string ContractId {
+ get {
+ return this.ContractIdField;
+ }
+ set {
+ if ((object.ReferenceEquals(this.ContractIdField, value) != true)) {
+ this.ContractIdField = value;
+ this.RaisePropertyChanged("ContractId");
+ }
+ }
+ }
+
+ [System.Runtime.Serialization.DataMemberAttribute(EmitDefaultValue=false, Order=23)]
+ public string CountryCode {
+ get {
+ return this.CountryCodeField;
+ }
+ set {
+ if ((object.ReferenceEquals(this.CountryCodeField, value) != true)) {
+ this.CountryCodeField = value;
+ this.RaisePropertyChanged("CountryCode");
+ }
+ }
+ }
+
+ [System.Runtime.Serialization.DataMemberAttribute(IsRequired=true, Order=24)]
+ public double CurAmount {
+ get {
+ return this.CurAmountField;
+ }
+ set {
+ if ((this.CurAmountField.Equals(value) != true)) {
+ this.CurAmountField = value;
+ this.RaisePropertyChanged("CurAmount");
+ }
+ }
+ }
+
+ [System.Runtime.Serialization.DataMemberAttribute(EmitDefaultValue=false, Order=25)]
+ public string CurrDoc {
+ get {
+ return this.CurrDocField;
+ }
+ set {
+ if ((object.ReferenceEquals(this.CurrDocField, value) != true)) {
+ this.CurrDocField = value;
+ this.RaisePropertyChanged("CurrDoc");
+ }
+ }
+ }
+
+ [System.Runtime.Serialization.DataMemberAttribute(EmitDefaultValue=false, Order=26)]
+ public string Currency {
+ get {
+ return this.CurrencyField;
+ }
+ set {
+ if ((object.ReferenceEquals(this.CurrencyField, value) != true)) {
+ this.CurrencyField = value;
+ this.RaisePropertyChanged("Currency");
+ }
+ }
+ }
+
+ [System.Runtime.Serialization.DataMemberAttribute(EmitDefaultValue=false, Order=27)]
+ public string CurrLicence {
+ get {
+ return this.CurrLicenceField;
+ }
+ set {
+ if ((object.ReferenceEquals(this.CurrLicenceField, value) != true)) {
+ this.CurrLicenceField = value;
+ this.RaisePropertyChanged("CurrLicence");
+ }
+ }
+ }
+
+ [System.Runtime.Serialization.DataMemberAttribute(IsRequired=true, Order=28)]
+ public int DcFlag {
+ get {
+ return this.DcFlagField;
+ }
+ set {
+ if ((this.DcFlagField.Equals(value) != true)) {
+ this.DcFlagField = value;
+ this.RaisePropertyChanged("DcFlag");
+ }
+ }
+ }
+
+ [System.Runtime.Serialization.DataMemberAttribute(EmitDefaultValue=false, Order=29)]
+ public string Description {
+ get {
+ return this.DescriptionField;
+ }
+ set {
+ if ((object.ReferenceEquals(this.DescriptionField, value) != true)) {
+ this.DescriptionField = value;
+ this.RaisePropertyChanged("Description");
+ }
+ }
+ }
+
+ [System.Runtime.Serialization.DataMemberAttribute(EmitDefaultValue=false, Order=30)]
+ public string Dim1 {
+ get {
+ return this.Dim1Field;
+ }
+ set {
+ if ((object.ReferenceEquals(this.Dim1Field, value) != true)) {
+ this.Dim1Field = value;
+ this.RaisePropertyChanged("Dim1");
+ }
+ }
+ }
+
+ [System.Runtime.Serialization.DataMemberAttribute(EmitDefaultValue=false, Order=31)]
+ public string Dim2 {
+ get {
+ return this.Dim2Field;
+ }
+ set {
+ if ((object.ReferenceEquals(this.Dim2Field, value) != true)) {
+ this.Dim2Field = value;
+ this.RaisePropertyChanged("Dim2");
+ }
+ }
+ }
+
+ [System.Runtime.Serialization.DataMemberAttribute(EmitDefaultValue=false, Order=32)]
+ public string Dim3 {
+ get {
+ return this.Dim3Field;
+ }
+ set {
+ if ((object.ReferenceEquals(this.Dim3Field, value) != true)) {
+ this.Dim3Field = value;
+ this.RaisePropertyChanged("Dim3");
+ }
+ }
+ }
+
+ [System.Runtime.Serialization.DataMemberAttribute(EmitDefaultValue=false, Order=33)]
+ public string Dim4 {
+ get {
+ return this.Dim4Field;
+ }
+ set {
+ if ((object.ReferenceEquals(this.Dim4Field, value) != true)) {
+ this.Dim4Field = value;
+ this.RaisePropertyChanged("Dim4");
+ }
+ }
+ }
+
+ [System.Runtime.Serialization.DataMemberAttribute(EmitDefaultValue=false, Order=34)]
+ public string Dim5 {
+ get {
+ return this.Dim5Field;
+ }
+ set {
+ if ((object.ReferenceEquals(this.Dim5Field, value) != true)) {
+ this.Dim5Field = value;
+ this.RaisePropertyChanged("Dim5");
+ }
+ }
+ }
+
+ [System.Runtime.Serialization.DataMemberAttribute(EmitDefaultValue=false, Order=35)]
+ public string Dim6 {
+ get {
+ return this.Dim6Field;
+ }
+ set {
+ if ((object.ReferenceEquals(this.Dim6Field, value) != true)) {
+ this.Dim6Field = value;
+ this.RaisePropertyChanged("Dim6");
+ }
+ }
+ }
+
+ [System.Runtime.Serialization.DataMemberAttribute(EmitDefaultValue=false, Order=36)]
+ public string Dim7 {
+ get {
+ return this.Dim7Field;
+ }
+ set {
+ if ((object.ReferenceEquals(this.Dim7Field, value) != true)) {
+ this.Dim7Field = value;
+ this.RaisePropertyChanged("Dim7");
+ }
+ }
+ }
+
+ [System.Runtime.Serialization.DataMemberAttribute(IsRequired=true, Order=37)]
+ public System.DateTime DiscDate {
+ get {
+ return this.DiscDateField;
+ }
+ set {
+ if ((this.DiscDateField.Equals(value) != true)) {
+ this.DiscDateField = value;
+ this.RaisePropertyChanged("DiscDate");
+ }
+ }
+ }
+
+ [System.Runtime.Serialization.DataMemberAttribute(IsRequired=true, Order=38)]
+ public double Discount {
+ get {
+ return this.DiscountField;
+ }
+ set {
+ if ((this.DiscountField.Equals(value) != true)) {
+ this.DiscountField = value;
+ this.RaisePropertyChanged("Discount");
+ }
+ }
+ }
+
+ [System.Runtime.Serialization.DataMemberAttribute(IsRequired=true, Order=39)]
+ public System.DateTime DueDate {
+ get {
+ return this.DueDateField;
+ }
+ set {
+ if ((this.DueDateField.Equals(value) != true)) {
+ this.DueDateField = value;
+ this.RaisePropertyChanged("DueDate");
+ }
+ }
+ }
+
+ [System.Runtime.Serialization.DataMemberAttribute(IsRequired=true, Order=40)]
+ public bool ErrorFlag {
+ get {
+ return this.ErrorFlagField;
+ }
+ set {
+ if ((this.ErrorFlagField.Equals(value) != true)) {
+ this.ErrorFlagField = value;
+ this.RaisePropertyChanged("ErrorFlag");
+ }
+ }
+ }
+
+ [System.Runtime.Serialization.DataMemberAttribute(IsRequired=true, Order=41)]
+ public double ExchRate {
+ get {
+ return this.ExchRateField;
+ }
+ set {
+ if ((this.ExchRateField.Equals(value) != true)) {
+ this.ExchRateField = value;
+ this.RaisePropertyChanged("ExchRate");
+ }
+ }
+ }
+
+ [System.Runtime.Serialization.DataMemberAttribute(IsRequired=true, Order=42)]
+ public double ExchRate2 {
+ get {
+ return this.ExchRate2Field;
+ }
+ set {
+ if ((this.ExchRate2Field.Equals(value) != true)) {
+ this.ExchRate2Field = value;
+ this.RaisePropertyChanged("ExchRate2");
+ }
+ }
+ }
+
+ [System.Runtime.Serialization.DataMemberAttribute(IsRequired=true, Order=43)]
+ public double ExchRate3 {
+ get {
+ return this.ExchRate3Field;
+ }
+ set {
+ if ((this.ExchRate3Field.Equals(value) != true)) {
+ this.ExchRate3Field = value;
+ this.RaisePropertyChanged("ExchRate3");
+ }
+ }
+ }
+
+ [System.Runtime.Serialization.DataMemberAttribute(EmitDefaultValue=false, Order=44)]
+ public string ExtArchRefCol {
+ get {
+ return this.ExtArchRefColField;
+ }
+ set {
+ if ((object.ReferenceEquals(this.ExtArchRefColField, value) != true)) {
+ this.ExtArchRefColField = value;
+ this.RaisePropertyChanged("ExtArchRefCol");
+ }
+ }
+ }
+
+ [System.Runtime.Serialization.DataMemberAttribute(EmitDefaultValue=false, Order=45)]
+ public string ExtInvRef {
+ get {
+ return this.ExtInvRefField;
+ }
+ set {
+ if ((object.ReferenceEquals(this.ExtInvRefField, value) != true)) {
+ this.ExtInvRefField = value;
+ this.RaisePropertyChanged("ExtInvRef");
+ }
+ }
+ }
+
+ [System.Runtime.Serialization.DataMemberAttribute(EmitDefaultValue=false, Order=46)]
+ public string ExRef {
+ get {
+ return this.ExRefField;
+ }
+ set {
+ if ((object.ReferenceEquals(this.ExRefField, value) != true)) {
+ this.ExRefField = value;
+ this.RaisePropertyChanged("ExRef");
+ }
+ }
+ }
+
+ [System.Runtime.Serialization.DataMemberAttribute(EmitDefaultValue=false, Order=47)]
+ public string FactorShort {
+ get {
+ return this.FactorShortField;
+ }
+ set {
+ if ((object.ReferenceEquals(this.FactorShortField, value) != true)) {
+ this.FactorShortField = value;
+ this.RaisePropertyChanged("FactorShort");
+ }
+ }
+ }
+
+ [System.Runtime.Serialization.DataMemberAttribute(EmitDefaultValue=false, Order=48)]
+ public string ForeignBank {
+ get {
+ return this.ForeignBankField;
+ }
+ set {
+ if ((object.ReferenceEquals(this.ForeignBankField, value) != true)) {
+ this.ForeignBankField = value;
+ this.RaisePropertyChanged("ForeignBank");
+ }
+ }
+ }
+
+ [System.Runtime.Serialization.DataMemberAttribute(EmitDefaultValue=false, Order=49)]
+ public string Interface {
+ get {
+ return this.InterfaceField;
+ }
+ set {
+ if ((object.ReferenceEquals(this.InterfaceField, value) != true)) {
+ this.InterfaceField = value;
+ this.RaisePropertyChanged("Interface");
+ }
+ }
+ }
+
+ [System.Runtime.Serialization.DataMemberAttribute(EmitDefaultValue=false, Order=50)]
+ public string IntruleId {
+ get {
+ return this.IntruleIdField;
+ }
+ set {
+ if ((object.ReferenceEquals(this.IntruleIdField, value) != true)) {
+ this.IntruleIdField = value;
+ this.RaisePropertyChanged("IntruleId");
+ }
+ }
+ }
+
+ [System.Runtime.Serialization.DataMemberAttribute(EmitDefaultValue=false, Order=51)]
+ public string Kid {
+ get {
+ return this.KidField;
+ }
+ set {
+ if ((object.ReferenceEquals(this.KidField, value) != true)) {
+ this.KidField = value;
+ this.RaisePropertyChanged("Kid");
+ }
+ }
+ }
+
+ [System.Runtime.Serialization.DataMemberAttribute(IsRequired=true, Order=52)]
+ public int Number1 {
+ get {
+ return this.Number1Field;
+ }
+ set {
+ if ((this.Number1Field.Equals(value) != true)) {
+ this.Number1Field = value;
+ this.RaisePropertyChanged("Number1");
+ }
+ }
+ }
+
+ [System.Runtime.Serialization.DataMemberAttribute(IsRequired=true, Order=53)]
+ public int OrigReference {
+ get {
+ return this.OrigReferenceField;
+ }
+ set {
+ if ((this.OrigReferenceField.Equals(value) != true)) {
+ this.OrigReferenceField = value;
+ this.RaisePropertyChanged("OrigReference");
+ }
+ }
+ }
+
+ [System.Runtime.Serialization.DataMemberAttribute(EmitDefaultValue=false, Order=54)]
+ public string PayCurrency {
+ get {
+ return this.PayCurrencyField;
+ }
+ set {
+ if ((object.ReferenceEquals(this.PayCurrencyField, value) != true)) {
+ this.PayCurrencyField = value;
+ this.RaisePropertyChanged("PayCurrency");
+ }
+ }
+ }
+
+ [System.Runtime.Serialization.DataMemberAttribute(IsRequired=true, Order=55)]
+ public bool PayFlag {
+ get {
+ return this.PayFlagField;
+ }
+ set {
+ if ((this.PayFlagField.Equals(value) != true)) {
+ this.PayFlagField = value;
+ this.RaisePropertyChanged("PayFlag");
+ }
+ }
+ }
+
+ [System.Runtime.Serialization.DataMemberAttribute(EmitDefaultValue=false, Order=56)]
+ public string PayMethod {
+ get {
+ return this.PayMethodField;
+ }
+ set {
+ if ((object.ReferenceEquals(this.PayMethodField, value) != true)) {
+ this.PayMethodField = value;
+ this.RaisePropertyChanged("PayMethod");
+ }
+ }
+ }
+
+ [System.Runtime.Serialization.DataMemberAttribute(IsRequired=true, Order=57)]
+ public int PayPlanId {
+ get {
+ return this.PayPlanIdField;
+ }
+ set {
+ if ((this.PayPlanIdField.Equals(value) != true)) {
+ this.PayPlanIdField = value;
+ this.RaisePropertyChanged("PayPlanId");
+ }
+ }
+ }
+
+ [System.Runtime.Serialization.DataMemberAttribute(EmitDefaultValue=false, Order=58)]
+ public string PayTempId {
+ get {
+ return this.PayTempIdField;
+ }
+ set {
+ if ((object.ReferenceEquals(this.PayTempIdField, value) != true)) {
+ this.PayTempIdField = value;
+ this.RaisePropertyChanged("PayTempId");
+ }
+ }
+ }
+
+ [System.Runtime.Serialization.DataMemberAttribute(EmitDefaultValue=false, Order=59)]
+ public string PayTransfer {
+ get {
+ return this.PayTransferField;
+ }
+ set {
+ if ((object.ReferenceEquals(this.PayTransferField, value) != true)) {
+ this.PayTransferField = value;
+ this.RaisePropertyChanged("PayTransfer");
+ }
+ }
+ }
+
+ [System.Runtime.Serialization.DataMemberAttribute(IsRequired=true, Order=60)]
+ public int PeriodNo {
+ get {
+ return this.PeriodNoField;
+ }
+ set {
+ if ((this.PeriodNoField.Equals(value) != true)) {
+ this.PeriodNoField = value;
+ this.RaisePropertyChanged("PeriodNo");
+ }
+ }
+ }
+
+ [System.Runtime.Serialization.DataMemberAttribute(EmitDefaultValue=false, Order=61)]
+ public string Place {
+ get {
+ return this.PlaceField;
+ }
+ set {
+ if ((object.ReferenceEquals(this.PlaceField, value) != true)) {
+ this.PlaceField = value;
+ this.RaisePropertyChanged("Place");
+ }
+ }
+ }
+
+ [System.Runtime.Serialization.DataMemberAttribute(EmitDefaultValue=false, Order=62)]
+ public string Province {
+ get {
+ return this.ProvinceField;
+ }
+ set {
+ if ((object.ReferenceEquals(this.ProvinceField, value) != true)) {
+ this.ProvinceField = value;
+ this.RaisePropertyChanged("Province");
+ }
+ }
+ }
+
+ [System.Runtime.Serialization.DataMemberAttribute(IsRequired=true, Order=63)]
+ public int RemittId {
+ get {
+ return this.RemittIdField;
+ }
+ set {
+ if ((this.RemittIdField.Equals(value) != true)) {
+ this.RemittIdField = value;
+ this.RaisePropertyChanged("RemittId");
+ }
+ }
+ }
+
+ [System.Runtime.Serialization.DataMemberAttribute(EmitDefaultValue=false, Order=64)]
+ public string RemLevel {
+ get {
+ return this.RemLevelField;
+ }
+ set {
+ if ((object.ReferenceEquals(this.RemLevelField, value) != true)) {
+ this.RemLevelField = value;
+ this.RaisePropertyChanged("RemLevel");
+ }
+ }
+ }
+
+ [System.Runtime.Serialization.DataMemberAttribute(EmitDefaultValue=false, Order=65)]
+ public string Responsible {
+ get {
+ return this.ResponsibleField;
+ }
+ set {
+ if ((object.ReferenceEquals(this.ResponsibleField, value) != true)) {
+ this.ResponsibleField = value;
+ this.RaisePropertyChanged("Responsible");
+ }
+ }
+ }
+
+ [System.Runtime.Serialization.DataMemberAttribute(IsRequired=true, Order=66)]
+ public int SequenceNo {
+ get {
+ return this.SequenceNoField;
+ }
+ set {
+ if ((this.SequenceNoField.Equals(value) != true)) {
+ this.SequenceNoField = value;
+ this.RaisePropertyChanged("SequenceNo");
+ }
+ }
+ }
+
+ [System.Runtime.Serialization.DataMemberAttribute(IsRequired=true, Order=67)]
+ public int SequenceRef {
+ get {
+ return this.SequenceRefField;
+ }
+ set {
+ if ((this.SequenceRefField.Equals(value) != true)) {
+ this.SequenceRefField = value;
+ this.RaisePropertyChanged("SequenceRef");
+ }
+ }
+ }
+
+ [System.Runtime.Serialization.DataMemberAttribute(EmitDefaultValue=false, Order=68)]
+ public string Status {
+ get {
+ return this.StatusField;
+ }
+ set {
+ if ((object.ReferenceEquals(this.StatusField, value) != true)) {
+ this.StatusField = value;
+ this.RaisePropertyChanged("Status");
+ }
+ }
+ }
+
+ [System.Runtime.Serialization.DataMemberAttribute(EmitDefaultValue=false, Order=69)]
+ public string Swift {
+ get {
+ return this.SwiftField;
+ }
+ set {
+ if ((object.ReferenceEquals(this.SwiftField, value) != true)) {
+ this.SwiftField = value;
+ this.RaisePropertyChanged("Swift");
+ }
+ }
+ }
+
+ [System.Runtime.Serialization.DataMemberAttribute(EmitDefaultValue=false, Order=70)]
+ public string TaxCode {
+ get {
+ return this.TaxCodeField;
+ }
+ set {
+ if ((object.ReferenceEquals(this.TaxCodeField, value) != true)) {
+ this.TaxCodeField = value;
+ this.RaisePropertyChanged("TaxCode");
+ }
+ }
+ }
+
+ [System.Runtime.Serialization.DataMemberAttribute(IsRequired=true, Order=71)]
+ public bool TaxId {
+ get {
+ return this.TaxIdField;
+ }
+ set {
+ if ((this.TaxIdField.Equals(value) != true)) {
+ this.TaxIdField = value;
+ this.RaisePropertyChanged("TaxId");
+ }
+ }
+ }
+
+ [System.Runtime.Serialization.DataMemberAttribute(EmitDefaultValue=false, Order=72)]
+ public string TaxSystem {
+ get {
+ return this.TaxSystemField;
+ }
+ set {
+ if ((object.ReferenceEquals(this.TaxSystemField, value) != true)) {
+ this.TaxSystemField = value;
+ this.RaisePropertyChanged("TaxSystem");
+ }
+ }
+ }
+
+ [System.Runtime.Serialization.DataMemberAttribute(IsRequired=true, Order=73)]
+ public System.DateTime TransDate {
+ get {
+ return this.TransDateField;
+ }
+ set {
+ if ((this.TransDateField.Equals(value) != true)) {
+ this.TransDateField = value;
+ this.RaisePropertyChanged("TransDate");
+ }
+ }
+ }
+
+ [System.Runtime.Serialization.DataMemberAttribute(EmitDefaultValue=false, Order=74)]
+ public string TransType {
+ get {
+ return this.TransTypeField;
+ }
+ set {
+ if ((object.ReferenceEquals(this.TransTypeField, value) != true)) {
+ this.TransTypeField = value;
+ this.RaisePropertyChanged("TransType");
+ }
+ }
+ }
+
+ [System.Runtime.Serialization.DataMemberAttribute(IsRequired=true, Order=75)]
+ public double Value1 {
+ get {
+ return this.Value1Field;
+ }
+ set {
+ if ((this.Value1Field.Equals(value) != true)) {
+ this.Value1Field = value;
+ this.RaisePropertyChanged("Value1");
+ }
+ }
+ }
+
+ [System.Runtime.Serialization.DataMemberAttribute(IsRequired=true, Order=76)]
+ public double Value2 {
+ get {
+ return this.Value2Field;
+ }
+ set {
+ if ((this.Value2Field.Equals(value) != true)) {
+ this.Value2Field = value;
+ this.RaisePropertyChanged("Value2");
+ }
+ }
+ }
+
+ [System.Runtime.Serialization.DataMemberAttribute(IsRequired=true, Order=77)]
+ public double Value3 {
+ get {
+ return this.Value3Field;
+ }
+ set {
+ if ((this.Value3Field.Equals(value) != true)) {
+ this.Value3Field = value;
+ this.RaisePropertyChanged("Value3");
+ }
+ }
+ }
+
+ [System.Runtime.Serialization.DataMemberAttribute(EmitDefaultValue=false, Order=78)]
+ public string VatRegNo {
+ get {
+ return this.VatRegNoField;
+ }
+ set {
+ if ((object.ReferenceEquals(this.VatRegNoField, value) != true)) {
+ this.VatRegNoField = value;
+ this.RaisePropertyChanged("VatRegNo");
+ }
+ }
+ }
+
+ [System.Runtime.Serialization.DataMemberAttribute(IsRequired=true, Order=79)]
+ public System.DateTime VoucherDate {
+ get {
+ return this.VoucherDateField;
+ }
+ set {
+ if ((this.VoucherDateField.Equals(value) != true)) {
+ this.VoucherDateField = value;
+ this.RaisePropertyChanged("VoucherDate");
+ }
+ }
+ }
+
+ [System.Runtime.Serialization.DataMemberAttribute(IsRequired=true, Order=80)]
+ public int VoucherNo {
+ get {
+ return this.VoucherNoField;
+ }
+ set {
+ if ((this.VoucherNoField.Equals(value) != true)) {
+ this.VoucherNoField = value;
+ this.RaisePropertyChanged("VoucherNo");
+ }
+ }
+ }
+
+ [System.Runtime.Serialization.DataMemberAttribute(IsRequired=true, Order=81)]
+ public int VoucherRef {
+ get {
+ return this.VoucherRefField;
+ }
+ set {
+ if ((this.VoucherRefField.Equals(value) != true)) {
+ this.VoucherRefField = value;
+ this.RaisePropertyChanged("VoucherRef");
+ }
+ }
+ }
+
+ [System.Runtime.Serialization.DataMemberAttribute(EmitDefaultValue=false, Order=82)]
+ public string VoucherType {
+ get {
+ return this.VoucherTypeField;
+ }
+ set {
+ if ((object.ReferenceEquals(this.VoucherTypeField, value) != true)) {
+ this.VoucherTypeField = value;
+ this.RaisePropertyChanged("VoucherType");
+ }
+ }
+ }
+
+ [System.Runtime.Serialization.DataMemberAttribute(EmitDefaultValue=false, Order=83)]
+ public string ZipCode {
+ get {
+ return this.ZipCodeField;
+ }
+ set {
+ if ((object.ReferenceEquals(this.ZipCodeField, value) != true)) {
+ this.ZipCodeField = value;
+ this.RaisePropertyChanged("ZipCode");
+ }
+ }
+ }
+
+ public event System.ComponentModel.PropertyChangedEventHandler PropertyChanged;
+
+ protected void RaisePropertyChanged(string propertyName) {
+ System.ComponentModel.PropertyChangedEventHandler propertyChanged = this.PropertyChanged;
+ if ((propertyChanged != null)) {
+ propertyChanged(this, new System.ComponentModel.PropertyChangedEventArgs(propertyName));
+ }
+ }
+ }
+
+ [System.Diagnostics.DebuggerStepThroughAttribute()]
+ [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Runtime.Serialization", "4.0.0.0")]
+ [System.Runtime.Serialization.DataContractAttribute(Name="BatchInputProcessType", Namespace="http://services.agresso.com/BatchInputService/BatchInput")]
+ [System.SerializableAttribute()]
+ public partial class BatchInputProcessType : object, System.Runtime.Serialization.IExtensibleDataObject, System.ComponentModel.INotifyPropertyChanged {
+
+ [System.NonSerializedAttribute()]
+ private System.Runtime.Serialization.ExtensionDataObject extensionDataField;
+
+ [System.Runtime.Serialization.OptionalFieldAttribute()]
+ private BatchInputTest1.BatchInputService.ProcessParameters[] ParameterListField;
+
+ private int ReportVariantField;
+
+ [global::System.ComponentModel.BrowsableAttribute(false)]
+ public System.Runtime.Serialization.ExtensionDataObject ExtensionData {
+ get {
+ return this.extensionDataField;
+ }
+ set {
+ this.extensionDataField = value;
+ }
+ }
+
+ [System.Runtime.Serialization.DataMemberAttribute(EmitDefaultValue=false)]
+ public BatchInputTest1.BatchInputService.ProcessParameters[] ParameterList {
+ get {
+ return this.ParameterListField;
+ }
+ set {
+ if ((object.ReferenceEquals(this.ParameterListField, value) != true)) {
+ this.ParameterListField = value;
+ this.RaisePropertyChanged("ParameterList");
+ }
+ }
+ }
+
+ [System.Runtime.Serialization.DataMemberAttribute(IsRequired=true)]
+ public int ReportVariant {
+ get {
+ return this.ReportVariantField;
+ }
+ set {
+ if ((this.ReportVariantField.Equals(value) != true)) {
+ this.ReportVariantField = value;
+ this.RaisePropertyChanged("ReportVariant");
+ }
+ }
+ }
+
+ public event System.ComponentModel.PropertyChangedEventHandler PropertyChanged;
+
+ protected void RaisePropertyChanged(string propertyName) {
+ System.ComponentModel.PropertyChangedEventHandler propertyChanged = this.PropertyChanged;
+ if ((propertyChanged != null)) {
+ propertyChanged(this, new System.ComponentModel.PropertyChangedEventArgs(propertyName));
+ }
+ }
+ }
+
+ [System.Diagnostics.DebuggerStepThroughAttribute()]
+ [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Runtime.Serialization", "4.0.0.0")]
+ [System.Runtime.Serialization.DataContractAttribute(Name="ProcessParameters", Namespace="http://services.agresso.com/BatchInputService/BatchInput")]
+ [System.SerializableAttribute()]
+ public partial class ProcessParameters : object, System.Runtime.Serialization.IExtensibleDataObject, System.ComponentModel.INotifyPropertyChanged {
+
+ [System.NonSerializedAttribute()]
+ private System.Runtime.Serialization.ExtensionDataObject extensionDataField;
+
+ [System.Runtime.Serialization.OptionalFieldAttribute()]
+ private string NameField;
+
+ [System.Runtime.Serialization.OptionalFieldAttribute()]
+ private string ValueField;
+
+ [global::System.ComponentModel.BrowsableAttribute(false)]
+ public System.Runtime.Serialization.ExtensionDataObject ExtensionData {
+ get {
+ return this.extensionDataField;
+ }
+ set {
+ this.extensionDataField = value;
+ }
+ }
+
+ [System.Runtime.Serialization.DataMemberAttribute(EmitDefaultValue=false)]
+ public string Name {
+ get {
+ return this.NameField;
+ }
+ set {
+ if ((object.ReferenceEquals(this.NameField, value) != true)) {
+ this.NameField = value;
+ this.RaisePropertyChanged("Name");
+ }
+ }
+ }
+
+ [System.Runtime.Serialization.DataMemberAttribute(EmitDefaultValue=false)]
+ public string Value {
+ get {
+ return this.ValueField;
+ }
+ set {
+ if ((object.ReferenceEquals(this.ValueField, value) != true)) {
+ this.ValueField = value;
+ this.RaisePropertyChanged("Value");
+ }
+ }
+ }
+
+ public event System.ComponentModel.PropertyChangedEventHandler PropertyChanged;
+
+ protected void RaisePropertyChanged(string propertyName) {
+ System.ComponentModel.PropertyChangedEventHandler propertyChanged = this.PropertyChanged;
+ if ((propertyChanged != null)) {
+ propertyChanged(this, new System.ComponentModel.PropertyChangedEventArgs(propertyName));
+ }
+ }
+ }
+
+ [System.Diagnostics.DebuggerStepThroughAttribute()]
+ [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Runtime.Serialization", "4.0.0.0")]
+ [System.Runtime.Serialization.DataContractAttribute(Name="BatchInputSaveResponse", Namespace="http://services.agresso.com/BatchInputService/BatchInput")]
+ [System.SerializableAttribute()]
+ public partial class BatchInputSaveResponse : object, System.Runtime.Serialization.IExtensibleDataObject, System.ComponentModel.INotifyPropertyChanged {
+
+ [System.NonSerializedAttribute()]
+ private System.Runtime.Serialization.ExtensionDataObject extensionDataField;
+
+ [System.Runtime.Serialization.OptionalFieldAttribute()]
+ private string BatchIdField;
+
+ private int OrderNoField;
+
+ [System.Runtime.Serialization.OptionalFieldAttribute()]
+ private string ReturnResponseField;
+
+ private int ReturnCodeField;
+
+ [System.Runtime.Serialization.OptionalFieldAttribute()]
+ private string ReturnTextField;
+
+ [global::System.ComponentModel.BrowsableAttribute(false)]
+ public System.Runtime.Serialization.ExtensionDataObject ExtensionData {
+ get {
+ return this.extensionDataField;
+ }
+ set {
+ this.extensionDataField = value;
+ }
+ }
+
+ [System.Runtime.Serialization.DataMemberAttribute(EmitDefaultValue=false)]
+ public string BatchId {
+ get {
+ return this.BatchIdField;
+ }
+ set {
+ if ((object.ReferenceEquals(this.BatchIdField, value) != true)) {
+ this.BatchIdField = value;
+ this.RaisePropertyChanged("BatchId");
+ }
+ }
+ }
+
+ [System.Runtime.Serialization.DataMemberAttribute(IsRequired=true)]
+ public int OrderNo {
+ get {
+ return this.OrderNoField;
+ }
+ set {
+ if ((this.OrderNoField.Equals(value) != true)) {
+ this.OrderNoField = value;
+ this.RaisePropertyChanged("OrderNo");
+ }
+ }
+ }
+
+ [System.Runtime.Serialization.DataMemberAttribute(EmitDefaultValue=false)]
+ public string ReturnResponse {
+ get {
+ return this.ReturnResponseField;
+ }
+ set {
+ if ((object.ReferenceEquals(this.ReturnResponseField, value) != true)) {
+ this.ReturnResponseField = value;
+ this.RaisePropertyChanged("ReturnResponse");
+ }
+ }
+ }
+
+ [System.Runtime.Serialization.DataMemberAttribute(IsRequired=true, Order=3)]
+ public int ReturnCode {
+ get {
+ return this.ReturnCodeField;
+ }
+ set {
+ if ((this.ReturnCodeField.Equals(value) != true)) {
+ this.ReturnCodeField = value;
+ this.RaisePropertyChanged("ReturnCode");
+ }
+ }
+ }
+
+ [System.Runtime.Serialization.DataMemberAttribute(EmitDefaultValue=false, Order=4)]
+ public string ReturnText {
+ get {
+ return this.ReturnTextField;
+ }
+ set {
+ if ((object.ReferenceEquals(this.ReturnTextField, value) != true)) {
+ this.ReturnTextField = value;
+ this.RaisePropertyChanged("ReturnText");
+ }
+ }
+ }
+
+ public event System.ComponentModel.PropertyChangedEventHandler PropertyChanged;
+
+ protected void RaisePropertyChanged(string propertyName) {
+ System.ComponentModel.PropertyChangedEventHandler propertyChanged = this.PropertyChanged;
+ if ((propertyChanged != null)) {
+ propertyChanged(this, new System.ComponentModel.PropertyChangedEventArgs(propertyName));
+ }
+ }
+ }
+
+ [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")]
+ [System.ServiceModel.ServiceContractAttribute(Namespace="http://services.agresso.com/BatchInputService/BatchInput", ConfigurationName="BatchInputService.BatchInputSoap")]
+ public interface BatchInputSoap {
+
+ // CODEGEN: Generating message contract since element name batchId from namespace http://services.agresso.com/BatchInputService/BatchInput is not marked nillable
+ [System.ServiceModel.OperationContractAttribute(Action="http://services.agresso.com/BatchInputService/BatchInput/CanDeleteBatchInput", ReplyAction="*")]
+ BatchInputTest1.BatchInputService.CanDeleteBatchInputResponse CanDeleteBatchInput(BatchInputTest1.BatchInputService.CanDeleteBatchInputRequest request);
+
+ [System.ServiceModel.OperationContractAttribute(Action="http://services.agresso.com/BatchInputService/BatchInput/CanDeleteBatchInput", ReplyAction="*")]
+ System.Threading.Tasks.Task CanDeleteBatchInputAsync(BatchInputTest1.BatchInputService.CanDeleteBatchInputRequest request);
+
+ // CODEGEN: Generating message contract since element name batchId from namespace http://services.agresso.com/BatchInputService/BatchInput is not marked nillable
+ [System.ServiceModel.OperationContractAttribute(Action="http://services.agresso.com/BatchInputService/BatchInput/DeleteBatchInput", ReplyAction="*")]
+ BatchInputTest1.BatchInputService.DeleteBatchInputResponse DeleteBatchInput(BatchInputTest1.BatchInputService.DeleteBatchInputRequest request);
+
+ [System.ServiceModel.OperationContractAttribute(Action="http://services.agresso.com/BatchInputService/BatchInput/DeleteBatchInput", ReplyAction="*")]
+ System.Threading.Tasks.Task DeleteBatchInputAsync(BatchInputTest1.BatchInputService.DeleteBatchInputRequest request);
+
+ // CODEGEN: Generating message contract since element name batchInput from namespace http://services.agresso.com/BatchInputService/BatchInput is not marked nillable
+ [System.ServiceModel.OperationContractAttribute(Action="http://services.agresso.com/BatchInputService/BatchInput/SaveTransactions", ReplyAction="*")]
+ BatchInputTest1.BatchInputService.SaveTransactionsResponse SaveTransactions(BatchInputTest1.BatchInputService.SaveTransactionsRequest request);
+
+ [System.ServiceModel.OperationContractAttribute(Action="http://services.agresso.com/BatchInputService/BatchInput/SaveTransactions", ReplyAction="*")]
+ System.Threading.Tasks.Task SaveTransactionsAsync(BatchInputTest1.BatchInputService.SaveTransactionsRequest request);
+
+ // CODEGEN: Generating message contract since element name AboutResult from namespace http://services.agresso.com/BatchInputService/BatchInput is not marked nillable
+ [System.ServiceModel.OperationContractAttribute(Action="http://services.agresso.com/BatchInputService/BatchInput/About", ReplyAction="*")]
+ BatchInputTest1.BatchInputService.AboutResponse About(BatchInputTest1.BatchInputService.AboutRequest request);
+
+ [System.ServiceModel.OperationContractAttribute(Action="http://services.agresso.com/BatchInputService/BatchInput/About", ReplyAction="*")]
+ System.Threading.Tasks.Task AboutAsync(BatchInputTest1.BatchInputService.AboutRequest request);
+ }
+
+ [System.Diagnostics.DebuggerStepThroughAttribute()]
+ [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")]
+ [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)]
+ [System.ServiceModel.MessageContractAttribute(IsWrapped=false)]
+ public partial class CanDeleteBatchInputRequest {
+
+ [System.ServiceModel.MessageBodyMemberAttribute(Name="CanDeleteBatchInput", Namespace="http://services.agresso.com/BatchInputService/BatchInput", Order=0)]
+ public BatchInputTest1.BatchInputService.CanDeleteBatchInputRequestBody Body;
+
+ public CanDeleteBatchInputRequest() {
+ }
+
+ public CanDeleteBatchInputRequest(BatchInputTest1.BatchInputService.CanDeleteBatchInputRequestBody Body) {
+ this.Body = Body;
+ }
+ }
+
+ [System.Diagnostics.DebuggerStepThroughAttribute()]
+ [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")]
+ [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)]
+ [System.Runtime.Serialization.DataContractAttribute(Namespace="http://services.agresso.com/BatchInputService/BatchInput")]
+ public partial class CanDeleteBatchInputRequestBody {
+
+ [System.Runtime.Serialization.DataMemberAttribute(EmitDefaultValue=false, Order=0)]
+ public string batchId;
+
+ [System.Runtime.Serialization.DataMemberAttribute(EmitDefaultValue=false, Order=1)]
+ public string interfaceId;
+
+ [System.Runtime.Serialization.DataMemberAttribute(EmitDefaultValue=false, Order=2)]
+ public BatchInputTest1.BatchInputService.WSCredentials credentials;
+
+ public CanDeleteBatchInputRequestBody() {
+ }
+
+ public CanDeleteBatchInputRequestBody(string batchId, string interfaceId, BatchInputTest1.BatchInputService.WSCredentials credentials) {
+ this.batchId = batchId;
+ this.interfaceId = interfaceId;
+ this.credentials = credentials;
+ }
+ }
+
+ [System.Diagnostics.DebuggerStepThroughAttribute()]
+ [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")]
+ [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)]
+ [System.ServiceModel.MessageContractAttribute(IsWrapped=false)]
+ public partial class CanDeleteBatchInputResponse {
+
+ [System.ServiceModel.MessageBodyMemberAttribute(Name="CanDeleteBatchInputResponse", Namespace="http://services.agresso.com/BatchInputService/BatchInput", Order=0)]
+ public BatchInputTest1.BatchInputService.CanDeleteBatchInputResponseBody Body;
+
+ public CanDeleteBatchInputResponse() {
+ }
+
+ public CanDeleteBatchInputResponse(BatchInputTest1.BatchInputService.CanDeleteBatchInputResponseBody Body) {
+ this.Body = Body;
+ }
+ }
+
+ [System.Diagnostics.DebuggerStepThroughAttribute()]
+ [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")]
+ [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)]
+ [System.Runtime.Serialization.DataContractAttribute(Namespace="http://services.agresso.com/BatchInputService/BatchInput")]
+ public partial class CanDeleteBatchInputResponseBody {
+
+ [System.Runtime.Serialization.DataMemberAttribute(EmitDefaultValue=false, Order=0)]
+ public string CanDeleteBatchInputResult;
+
+ public CanDeleteBatchInputResponseBody() {
+ }
+
+ public CanDeleteBatchInputResponseBody(string CanDeleteBatchInputResult) {
+ this.CanDeleteBatchInputResult = CanDeleteBatchInputResult;
+ }
+ }
+
+ [System.Diagnostics.DebuggerStepThroughAttribute()]
+ [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")]
+ [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)]
+ [System.ServiceModel.MessageContractAttribute(IsWrapped=false)]
+ public partial class DeleteBatchInputRequest {
+
+ [System.ServiceModel.MessageBodyMemberAttribute(Name="DeleteBatchInput", Namespace="http://services.agresso.com/BatchInputService/BatchInput", Order=0)]
+ public BatchInputTest1.BatchInputService.DeleteBatchInputRequestBody Body;
+
+ public DeleteBatchInputRequest() {
+ }
+
+ public DeleteBatchInputRequest(BatchInputTest1.BatchInputService.DeleteBatchInputRequestBody Body) {
+ this.Body = Body;
+ }
+ }
+
+ [System.Diagnostics.DebuggerStepThroughAttribute()]
+ [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")]
+ [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)]
+ [System.Runtime.Serialization.DataContractAttribute(Namespace="http://services.agresso.com/BatchInputService/BatchInput")]
+ public partial class DeleteBatchInputRequestBody {
+
+ [System.Runtime.Serialization.DataMemberAttribute(EmitDefaultValue=false, Order=0)]
+ public string batchId;
+
+ [System.Runtime.Serialization.DataMemberAttribute(EmitDefaultValue=false, Order=1)]
+ public string interfaceId;
+
+ [System.Runtime.Serialization.DataMemberAttribute(EmitDefaultValue=false, Order=2)]
+ public BatchInputTest1.BatchInputService.WSCredentials credentials;
+
+ public DeleteBatchInputRequestBody() {
+ }
+
+ public DeleteBatchInputRequestBody(string batchId, string interfaceId, BatchInputTest1.BatchInputService.WSCredentials credentials) {
+ this.batchId = batchId;
+ this.interfaceId = interfaceId;
+ this.credentials = credentials;
+ }
+ }
+
+ [System.Diagnostics.DebuggerStepThroughAttribute()]
+ [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")]
+ [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)]
+ [System.ServiceModel.MessageContractAttribute(IsWrapped=false)]
+ public partial class DeleteBatchInputResponse {
+
+ [System.ServiceModel.MessageBodyMemberAttribute(Name="DeleteBatchInputResponse", Namespace="http://services.agresso.com/BatchInputService/BatchInput", Order=0)]
+ public BatchInputTest1.BatchInputService.DeleteBatchInputResponseBody Body;
+
+ public DeleteBatchInputResponse() {
+ }
+
+ public DeleteBatchInputResponse(BatchInputTest1.BatchInputService.DeleteBatchInputResponseBody Body) {
+ this.Body = Body;
+ }
+ }
+
+ [System.Diagnostics.DebuggerStepThroughAttribute()]
+ [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")]
+ [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)]
+ [System.Runtime.Serialization.DataContractAttribute(Namespace="http://services.agresso.com/BatchInputService/BatchInput")]
+ public partial class DeleteBatchInputResponseBody {
+
+ [System.Runtime.Serialization.DataMemberAttribute(EmitDefaultValue=false, Order=0)]
+ public string DeleteBatchInputResult;
+
+ public DeleteBatchInputResponseBody() {
+ }
+
+ public DeleteBatchInputResponseBody(string DeleteBatchInputResult) {
+ this.DeleteBatchInputResult = DeleteBatchInputResult;
+ }
+ }
+
+ [System.Diagnostics.DebuggerStepThroughAttribute()]
+ [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")]
+ [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)]
+ [System.ServiceModel.MessageContractAttribute(IsWrapped=false)]
+ public partial class SaveTransactionsRequest {
+
+ [System.ServiceModel.MessageBodyMemberAttribute(Name="SaveTransactions", Namespace="http://services.agresso.com/BatchInputService/BatchInput", Order=0)]
+ public BatchInputTest1.BatchInputService.SaveTransactionsRequestBody Body;
+
+ public SaveTransactionsRequest() {
+ }
+
+ public SaveTransactionsRequest(BatchInputTest1.BatchInputService.SaveTransactionsRequestBody Body) {
+ this.Body = Body;
+ }
+ }
+
+ [System.Diagnostics.DebuggerStepThroughAttribute()]
+ [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")]
+ [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)]
+ [System.Runtime.Serialization.DataContractAttribute(Namespace="http://services.agresso.com/BatchInputService/BatchInput")]
+ public partial class SaveTransactionsRequestBody {
+
+ [System.Runtime.Serialization.DataMemberAttribute(EmitDefaultValue=false, Order=0)]
+ public BatchInputTest1.BatchInputService.BatchInputDTO[] batchInput;
+
+ [System.Runtime.Serialization.DataMemberAttribute(EmitDefaultValue=false, Order=1)]
+ public BatchInputTest1.BatchInputService.BatchInputProcessType parameters;
+
+ [System.Runtime.Serialization.DataMemberAttribute(Order=2)]
+ public int period;
+
+ [System.Runtime.Serialization.DataMemberAttribute(EmitDefaultValue=false, Order=3)]
+ public string batchId;
+
+ [System.Runtime.Serialization.DataMemberAttribute(EmitDefaultValue=false, Order=4)]
+ public BatchInputTest1.BatchInputService.WSCredentials credentials;
+
+ public SaveTransactionsRequestBody() {
+ }
+
+ public SaveTransactionsRequestBody(BatchInputTest1.BatchInputService.BatchInputDTO[] batchInput, BatchInputTest1.BatchInputService.BatchInputProcessType parameters, int period, string batchId, BatchInputTest1.BatchInputService.WSCredentials credentials) {
+ this.batchInput = batchInput;
+ this.parameters = parameters;
+ this.period = period;
+ this.batchId = batchId;
+ this.credentials = credentials;
+ }
+ }
+
+ [System.Diagnostics.DebuggerStepThroughAttribute()]
+ [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")]
+ [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)]
+ [System.ServiceModel.MessageContractAttribute(IsWrapped=false)]
+ public partial class SaveTransactionsResponse {
+
+ [System.ServiceModel.MessageBodyMemberAttribute(Name="SaveTransactionsResponse", Namespace="http://services.agresso.com/BatchInputService/BatchInput", Order=0)]
+ public BatchInputTest1.BatchInputService.SaveTransactionsResponseBody Body;
+
+ public SaveTransactionsResponse() {
+ }
+
+ public SaveTransactionsResponse(BatchInputTest1.BatchInputService.SaveTransactionsResponseBody Body) {
+ this.Body = Body;
+ }
+ }
+
+ [System.Diagnostics.DebuggerStepThroughAttribute()]
+ [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")]
+ [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)]
+ [System.Runtime.Serialization.DataContractAttribute(Namespace="http://services.agresso.com/BatchInputService/BatchInput")]
+ public partial class SaveTransactionsResponseBody {
+
+ [System.Runtime.Serialization.DataMemberAttribute(EmitDefaultValue=false, Order=0)]
+ public BatchInputTest1.BatchInputService.BatchInputSaveResponse SaveTransactionsResult;
+
+ public SaveTransactionsResponseBody() {
+ }
+
+ public SaveTransactionsResponseBody(BatchInputTest1.BatchInputService.BatchInputSaveResponse SaveTransactionsResult) {
+ this.SaveTransactionsResult = SaveTransactionsResult;
+ }
+ }
+
+ [System.Diagnostics.DebuggerStepThroughAttribute()]
+ [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")]
+ [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)]
+ [System.ServiceModel.MessageContractAttribute(IsWrapped=false)]
+ public partial class AboutRequest {
+
+ [System.ServiceModel.MessageBodyMemberAttribute(Name="About", Namespace="http://services.agresso.com/BatchInputService/BatchInput", Order=0)]
+ public BatchInputTest1.BatchInputService.AboutRequestBody Body;
+
+ public AboutRequest() {
+ }
+
+ public AboutRequest(BatchInputTest1.BatchInputService.AboutRequestBody Body) {
+ this.Body = Body;
+ }
+ }
+
+ [System.Diagnostics.DebuggerStepThroughAttribute()]
+ [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")]
+ [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)]
+ [System.Runtime.Serialization.DataContractAttribute()]
+ public partial class AboutRequestBody {
+
+ public AboutRequestBody() {
+ }
+ }
+
+ [System.Diagnostics.DebuggerStepThroughAttribute()]
+ [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")]
+ [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)]
+ [System.ServiceModel.MessageContractAttribute(IsWrapped=false)]
+ public partial class AboutResponse {
+
+ [System.ServiceModel.MessageBodyMemberAttribute(Name="AboutResponse", Namespace="http://services.agresso.com/BatchInputService/BatchInput", Order=0)]
+ public BatchInputTest1.BatchInputService.AboutResponseBody Body;
+
+ public AboutResponse() {
+ }
+
+ public AboutResponse(BatchInputTest1.BatchInputService.AboutResponseBody Body) {
+ this.Body = Body;
+ }
+ }
+
+ [System.Diagnostics.DebuggerStepThroughAttribute()]
+ [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")]
+ [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)]
+ [System.Runtime.Serialization.DataContractAttribute(Namespace="http://services.agresso.com/BatchInputService/BatchInput")]
+ public partial class AboutResponseBody {
+
+ [System.Runtime.Serialization.DataMemberAttribute(EmitDefaultValue=false, Order=0)]
+ public string AboutResult;
+
+ public AboutResponseBody() {
+ }
+
+ public AboutResponseBody(string AboutResult) {
+ this.AboutResult = AboutResult;
+ }
+ }
+
+ [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")]
+ public interface BatchInputSoapChannel : BatchInputTest1.BatchInputService.BatchInputSoap, System.ServiceModel.IClientChannel {
+ }
+
+ [System.Diagnostics.DebuggerStepThroughAttribute()]
+ [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")]
+ public partial class BatchInputSoapClient : System.ServiceModel.ClientBase, BatchInputTest1.BatchInputService.BatchInputSoap {
+
+ public BatchInputSoapClient() {
+ }
+
+ public BatchInputSoapClient(string endpointConfigurationName) :
+ base(endpointConfigurationName) {
+ }
+
+ public BatchInputSoapClient(string endpointConfigurationName, string remoteAddress) :
+ base(endpointConfigurationName, remoteAddress) {
+ }
+
+ public BatchInputSoapClient(string endpointConfigurationName, System.ServiceModel.EndpointAddress remoteAddress) :
+ base(endpointConfigurationName, remoteAddress) {
+ }
+
+ public BatchInputSoapClient(System.ServiceModel.Channels.Binding binding, System.ServiceModel.EndpointAddress remoteAddress) :
+ base(binding, remoteAddress) {
+ }
+
+ [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)]
+ BatchInputTest1.BatchInputService.CanDeleteBatchInputResponse BatchInputTest1.BatchInputService.BatchInputSoap.CanDeleteBatchInput(BatchInputTest1.BatchInputService.CanDeleteBatchInputRequest request) {
+ return base.Channel.CanDeleteBatchInput(request);
+ }
+
+ public string CanDeleteBatchInput(string batchId, string interfaceId, BatchInputTest1.BatchInputService.WSCredentials credentials) {
+ BatchInputTest1.BatchInputService.CanDeleteBatchInputRequest inValue = new BatchInputTest1.BatchInputService.CanDeleteBatchInputRequest();
+ inValue.Body = new BatchInputTest1.BatchInputService.CanDeleteBatchInputRequestBody();
+ inValue.Body.batchId = batchId;
+ inValue.Body.interfaceId = interfaceId;
+ inValue.Body.credentials = credentials;
+ BatchInputTest1.BatchInputService.CanDeleteBatchInputResponse retVal = ((BatchInputTest1.BatchInputService.BatchInputSoap)(this)).CanDeleteBatchInput(inValue);
+ return retVal.Body.CanDeleteBatchInputResult;
+ }
+
+ [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)]
+ System.Threading.Tasks.Task BatchInputTest1.BatchInputService.BatchInputSoap.CanDeleteBatchInputAsync(BatchInputTest1.BatchInputService.CanDeleteBatchInputRequest request) {
+ return base.Channel.CanDeleteBatchInputAsync(request);
+ }
+
+ public System.Threading.Tasks.Task CanDeleteBatchInputAsync(string batchId, string interfaceId, BatchInputTest1.BatchInputService.WSCredentials credentials) {
+ BatchInputTest1.BatchInputService.CanDeleteBatchInputRequest inValue = new BatchInputTest1.BatchInputService.CanDeleteBatchInputRequest();
+ inValue.Body = new BatchInputTest1.BatchInputService.CanDeleteBatchInputRequestBody();
+ inValue.Body.batchId = batchId;
+ inValue.Body.interfaceId = interfaceId;
+ inValue.Body.credentials = credentials;
+ return ((BatchInputTest1.BatchInputService.BatchInputSoap)(this)).CanDeleteBatchInputAsync(inValue);
+ }
+
+ [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)]
+ BatchInputTest1.BatchInputService.DeleteBatchInputResponse BatchInputTest1.BatchInputService.BatchInputSoap.DeleteBatchInput(BatchInputTest1.BatchInputService.DeleteBatchInputRequest request) {
+ return base.Channel.DeleteBatchInput(request);
+ }
+
+ public string DeleteBatchInput(string batchId, string interfaceId, BatchInputTest1.BatchInputService.WSCredentials credentials) {
+ BatchInputTest1.BatchInputService.DeleteBatchInputRequest inValue = new BatchInputTest1.BatchInputService.DeleteBatchInputRequest();
+ inValue.Body = new BatchInputTest1.BatchInputService.DeleteBatchInputRequestBody();
+ inValue.Body.batchId = batchId;
+ inValue.Body.interfaceId = interfaceId;
+ inValue.Body.credentials = credentials;
+ BatchInputTest1.BatchInputService.DeleteBatchInputResponse retVal = ((BatchInputTest1.BatchInputService.BatchInputSoap)(this)).DeleteBatchInput(inValue);
+ return retVal.Body.DeleteBatchInputResult;
+ }
+
+ [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)]
+ System.Threading.Tasks.Task BatchInputTest1.BatchInputService.BatchInputSoap.DeleteBatchInputAsync(BatchInputTest1.BatchInputService.DeleteBatchInputRequest request) {
+ return base.Channel.DeleteBatchInputAsync(request);
+ }
+
+ public System.Threading.Tasks.Task DeleteBatchInputAsync(string batchId, string interfaceId, BatchInputTest1.BatchInputService.WSCredentials credentials) {
+ BatchInputTest1.BatchInputService.DeleteBatchInputRequest inValue = new BatchInputTest1.BatchInputService.DeleteBatchInputRequest();
+ inValue.Body = new BatchInputTest1.BatchInputService.DeleteBatchInputRequestBody();
+ inValue.Body.batchId = batchId;
+ inValue.Body.interfaceId = interfaceId;
+ inValue.Body.credentials = credentials;
+ return ((BatchInputTest1.BatchInputService.BatchInputSoap)(this)).DeleteBatchInputAsync(inValue);
+ }
+
+ [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)]
+ BatchInputTest1.BatchInputService.SaveTransactionsResponse BatchInputTest1.BatchInputService.BatchInputSoap.SaveTransactions(BatchInputTest1.BatchInputService.SaveTransactionsRequest request) {
+ return base.Channel.SaveTransactions(request);
+ }
+
+ public BatchInputTest1.BatchInputService.BatchInputSaveResponse SaveTransactions(BatchInputTest1.BatchInputService.BatchInputDTO[] batchInput, BatchInputTest1.BatchInputService.BatchInputProcessType parameters, int period, string batchId, BatchInputTest1.BatchInputService.WSCredentials credentials) {
+ BatchInputTest1.BatchInputService.SaveTransactionsRequest inValue = new BatchInputTest1.BatchInputService.SaveTransactionsRequest();
+ inValue.Body = new BatchInputTest1.BatchInputService.SaveTransactionsRequestBody();
+ inValue.Body.batchInput = batchInput;
+ inValue.Body.parameters = parameters;
+ inValue.Body.period = period;
+ inValue.Body.batchId = batchId;
+ inValue.Body.credentials = credentials;
+ BatchInputTest1.BatchInputService.SaveTransactionsResponse retVal = ((BatchInputTest1.BatchInputService.BatchInputSoap)(this)).SaveTransactions(inValue);
+ return retVal.Body.SaveTransactionsResult;
+ }
+
+ [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)]
+ System.Threading.Tasks.Task BatchInputTest1.BatchInputService.BatchInputSoap.SaveTransactionsAsync(BatchInputTest1.BatchInputService.SaveTransactionsRequest request) {
+ return base.Channel.SaveTransactionsAsync(request);
+ }
+
+ public System.Threading.Tasks.Task SaveTransactionsAsync(BatchInputTest1.BatchInputService.BatchInputDTO[] batchInput, BatchInputTest1.BatchInputService.BatchInputProcessType parameters, int period, string batchId, BatchInputTest1.BatchInputService.WSCredentials credentials) {
+ BatchInputTest1.BatchInputService.SaveTransactionsRequest inValue = new BatchInputTest1.BatchInputService.SaveTransactionsRequest();
+ inValue.Body = new BatchInputTest1.BatchInputService.SaveTransactionsRequestBody();
+ inValue.Body.batchInput = batchInput;
+ inValue.Body.parameters = parameters;
+ inValue.Body.period = period;
+ inValue.Body.batchId = batchId;
+ inValue.Body.credentials = credentials;
+ return ((BatchInputTest1.BatchInputService.BatchInputSoap)(this)).SaveTransactionsAsync(inValue);
+ }
+
+ [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)]
+ BatchInputTest1.BatchInputService.AboutResponse BatchInputTest1.BatchInputService.BatchInputSoap.About(BatchInputTest1.BatchInputService.AboutRequest request) {
+ return base.Channel.About(request);
+ }
+
+ public string About() {
+ BatchInputTest1.BatchInputService.AboutRequest inValue = new BatchInputTest1.BatchInputService.AboutRequest();
+ inValue.Body = new BatchInputTest1.BatchInputService.AboutRequestBody();
+ BatchInputTest1.BatchInputService.AboutResponse retVal = ((BatchInputTest1.BatchInputService.BatchInputSoap)(this)).About(inValue);
+ return retVal.Body.AboutResult;
+ }
+
+ [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)]
+ System.Threading.Tasks.Task BatchInputTest1.BatchInputService.BatchInputSoap.AboutAsync(BatchInputTest1.BatchInputService.AboutRequest request) {
+ return base.Channel.AboutAsync(request);
+ }
+
+ public System.Threading.Tasks.Task AboutAsync() {
+ BatchInputTest1.BatchInputService.AboutRequest inValue = new BatchInputTest1.BatchInputService.AboutRequest();
+ inValue.Body = new BatchInputTest1.BatchInputService.AboutRequestBody();
+ return ((BatchInputTest1.BatchInputService.BatchInputSoap)(this)).AboutAsync(inValue);
+ }
+ }
+}
diff --git a/BatchInputTest1/Connected Services/BatchInputService/Reference.svcmap b/BatchInputTest1/Connected Services/BatchInputService/Reference.svcmap
new file mode 100644
index 0000000000000000000000000000000000000000..f562298226959faeebf0f5e86b3c9c0f293aa4d6
--- /dev/null
+++ b/BatchInputTest1/Connected Services/BatchInputService/Reference.svcmap
@@ -0,0 +1,31 @@
+
+
+
+ false
+ true
+ true
+
+ false
+ false
+ false
+
+
+ true
+ Auto
+ true
+ true
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/BatchInputTest1/Connected Services/BatchInputService/configuration.svcinfo b/BatchInputTest1/Connected Services/BatchInputService/configuration.svcinfo
new file mode 100644
index 0000000000000000000000000000000000000000..38e4cbe35a36ff7131e080dd8b916ac9b3658030
--- /dev/null
+++ b/BatchInputTest1/Connected Services/BatchInputService/configuration.svcinfo
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/BatchInputTest1/Connected Services/BatchInputService/configuration91.svcinfo b/BatchInputTest1/Connected Services/BatchInputService/configuration91.svcinfo
new file mode 100644
index 0000000000000000000000000000000000000000..2d37685a9489d8f59590fe5e1139de5a7c3ba7ae
--- /dev/null
+++ b/BatchInputTest1/Connected Services/BatchInputService/configuration91.svcinfo
@@ -0,0 +1,310 @@
+
+
+
+
+
+
+ BatchInputSoap
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ StrongWildcard
+
+
+
+
+
+ 65536
+
+
+
+
+
+
+
+
+ System.ServiceModel.Configuration.XmlDictionaryReaderQuotasElement
+
+
+ 0
+
+
+ 0
+
+
+ 0
+
+
+ 0
+
+
+ 0
+
+
+ System.Text.UTF8Encoding
+
+
+ Buffered
+
+
+
+
+
+ Text
+
+
+ System.ServiceModel.Configuration.BasicHttpSecurityElement
+
+
+ Transport
+
+
+ System.ServiceModel.Configuration.HttpTransportSecurityElement
+
+
+ None
+
+
+ None
+
+
+ System.Security.Authentication.ExtendedProtection.Configuration.ExtendedProtectionPolicyElement
+
+
+ Never
+
+
+ TransportSelected
+
+
+ (Collection)
+
+
+
+
+
+ System.ServiceModel.Configuration.BasicHttpMessageSecurityElement
+
+
+ UserName
+
+
+ Default
+
+
+
+
+
+
+ BatchInputSoap1
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ StrongWildcard
+
+
+
+
+
+ 65536
+
+
+
+
+
+
+
+
+ System.ServiceModel.Configuration.XmlDictionaryReaderQuotasElement
+
+
+ 0
+
+
+ 0
+
+
+ 0
+
+
+ 0
+
+
+ 0
+
+
+ System.Text.UTF8Encoding
+
+
+ Buffered
+
+
+
+
+
+ Text
+
+
+ System.ServiceModel.Configuration.BasicHttpSecurityElement
+
+
+ None
+
+
+ System.ServiceModel.Configuration.HttpTransportSecurityElement
+
+
+ None
+
+
+ None
+
+
+ System.Security.Authentication.ExtendedProtection.Configuration.ExtendedProtectionPolicyElement
+
+
+ Never
+
+
+ TransportSelected
+
+
+ (Collection)
+
+
+
+
+
+ System.ServiceModel.Configuration.BasicHttpMessageSecurityElement
+
+
+ UserName
+
+
+ Default
+
+
+
+
+
+
+
+
+ https://ubw-accept02.unit4cloud.com/ca_viu_acpt02_webservices/service.svc
+
+
+
+
+
+ basicHttpBinding
+
+
+ BatchInputSoap
+
+
+ BatchInputService.BatchInputSoap
+
+
+ System.ServiceModel.Configuration.AddressHeaderCollectionElement
+
+
+ <Header />
+
+
+ System.ServiceModel.Configuration.IdentityElement
+
+
+ System.ServiceModel.Configuration.UserPrincipalNameElement
+
+
+
+
+
+ System.ServiceModel.Configuration.ServicePrincipalNameElement
+
+
+
+
+
+ System.ServiceModel.Configuration.DnsElement
+
+
+
+
+
+ System.ServiceModel.Configuration.RsaElement
+
+
+
+
+
+ System.ServiceModel.Configuration.CertificateElement
+
+
+
+
+
+ System.ServiceModel.Configuration.CertificateReferenceElement
+
+
+ My
+
+
+ LocalMachine
+
+
+ FindBySubjectDistinguishedName
+
+
+
+
+
+ False
+
+
+ BatchInputSoap
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/BatchInputTest1/Program.cs b/BatchInputTest1/Program.cs
index 932b435e864d96c4e17bd4a933cbd7177b317d31..a92d6050b9a8d471681d05771bf2f545f024910c 100644
--- a/BatchInputTest1/Program.cs
+++ b/BatchInputTest1/Program.cs
@@ -10,6 +10,12 @@ namespace BatchInputTest1
{
static void Main(string[] args)
{
+
+ BatchLoad loader = new BatchLoad();
+ //loader.PerformLoad();
+ //loader.PerformDelete();
+ loader.PerformAccountTypeChange();
+
}
}
}
diff --git a/BatchInputTest1/database-5-32.ico b/BatchInputTest1/database-5-32.ico
new file mode 100644
index 0000000000000000000000000000000000000000..b342f37453cf7cda34feb8e1119e13b272c388c9
Binary files /dev/null and b/BatchInputTest1/database-5-32.ico differ
diff --git a/BatchInputTest1/packages.config b/BatchInputTest1/packages.config
new file mode 100644
index 0000000000000000000000000000000000000000..076f13f963784cdc7f0910397dd4b1f73eac1536
--- /dev/null
+++ b/BatchInputTest1/packages.config
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/sled_payments_ubw_vw.sql b/sled_payments_ubw_vw.sql
new file mode 100644
index 0000000000000000000000000000000000000000..73b348efe627f5aa9480b7465ab96024e7e7cc1e
--- /dev/null
+++ b/sled_payments_ubw_vw.sql
@@ -0,0 +1,23 @@
+/* Formatted on 10/18/2019 11:25:59 AM (QP5 v5.149.1003.31008) */
+SELECT a.*,
+ b.frs_obj as receivable_frs_obj,
+ b.ubw_acct as receivable_ubw_acct,
+ c.frs_cost_centre_1 as receivable_frs_cc,
+ c.ubw_work_order as receivable_ubw_wo,
+ d.frs_obj as bank_frs_obj,
+ d.ubw_acct as bank_ubw_acct,
+ e.frs_cost_centre_1 as bank_frs_cc,
+ e.ubw_work_order as bank_ubw_wo
+ FROM frsmala.sled_payment_types a,
+ frsmala.ubw_frs_obj_to_ubw_acct b,
+ frsmala.ubw_wo_to_frs_cc c,
+ frsmala.ubw_frs_obj_to_ubw_acct d,
+ frsmala.ubw_wo_to_frs_cc e
+ WHERE b.frs_obj(+) = SUBSTR (A.RECEIVABLE_CC, 6, 3)
+ AND c.frs_cost_centre_1(+) = SUBSTR (A.RECEIVABLE_CC, 2, 4)
+ AND d.frs_obj(+) = SUBSTR (A.BANK_CC, 6, 3)
+ AND e.frs_cost_centre_1(+) = SUBSTR (A.BANK_CC, 2, 4);
+
+ select * from AUTHDB.SEC_OBJS where obj_id like 'STU_CER%';
+
+
\ No newline at end of file