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