replace saving background tasks in DB
This commit is contained in:
parent
3353de1e5d
commit
e7d5bf0c7e
52 changed files with 1423 additions and 1306 deletions
|
@ -224,10 +224,15 @@ namespace WebsitePanel.Ecommerce.EnterpriseServer
|
|||
InvoiceController.UpdateInvoice(invoice.InvoiceId, invoice.InvoiceNumber, invoice.DueDate,
|
||||
invoice.Total, invoice.SubTotal, invoice.TaxationId, invoice.TaxAmount, invoice.Currency);
|
||||
//
|
||||
ES.TaskManager.TaskParameters[SystemTaskParams.PARAM_CONTRACT] = contract;
|
||||
ES.TaskManager.TaskParameters[SystemTaskParams.PARAM_INVOICE] = invoice;
|
||||
ES.TaskManager.TaskParameters[SystemTaskParams.PARAM_INVOICE_LINES] = invoiceLines;
|
||||
ES.TaskManager.TaskParameters[SystemTaskParams.PARAM_EXTRA_ARGS] = extraArgs;
|
||||
|
||||
Hashtable parameters = new Hashtable();
|
||||
|
||||
parameters.Add(SystemTaskParams.PARAM_CONTRACT, contract);
|
||||
parameters.Add(SystemTaskParams.PARAM_INVOICE, invoice);
|
||||
parameters.Add(SystemTaskParams.PARAM_INVOICE_LINES, invoiceLines);
|
||||
parameters.Add(SystemTaskParams.PARAM_EXTRA_ARGS, extraArgs);
|
||||
|
||||
TaskManager.UpdateParams(parameters);
|
||||
//
|
||||
return result;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue