|
@@ -1993,7 +1993,7 @@ namespace Efacto.Data.Repositories
|
|
|
|
|
|
using (var _command = _dbContext.Database.GetDbConnection().CreateCommand())
|
|
|
{
|
|
|
- string procedureName = (BtpCode == "PO" || BtpCode == "GT") ? "spPurchaseOrder_Register" : (BtpCode == "SO" || BtpCode == "SR" || BtpCode == "CS") ? "spSalesOrder_Register" : BtpCode == "SI" ? "spSalesInvoice_Register" : BtpCode == "PL" ? "spPickList_Register" : BtpCode == "NE" ? "spGateEntry_Register" : "spGoodsReceipt_Register";
|
|
|
+ string procedureName = (BtpCode == "PO" || BtpCode == "GT") ? "spPurchaseOrder_Register" : (BtpCode == "SO" || BtpCode == "SR" ) ? "spSalesOrder_Register" : (BtpCode == "SI" || BtpCode == "CS") ? "spSalesInvoice_Register" : BtpCode == "PL" ? "spPickList_Register" : BtpCode == "NE" ? "spGateEntry_Register" : "spGoodsReceipt_Register";
|
|
|
_command.CommandText = procedureName;
|
|
|
_command.CommandType = CommandType.StoredProcedure;
|
|
|
_command.Parameters.Clear();
|