|
|
@@ -55,7 +55,7 @@ namespace Procurement.Controllers
|
|
|
|
|
|
[Route("purorddetails")]
|
|
|
[HttpGet]
|
|
|
- public async Task<IActionResult> GetPurOrdDetails(string domain, string purord, string type)
|
|
|
+ public async Task<IActionResult> GetPurOrdDetails(string domain, string purord, string type, string shipnbr = "")
|
|
|
{
|
|
|
ResultCode code = ResultCode.Success, subCode = ResultCode.Success;
|
|
|
string subMsg = "";
|
|
|
@@ -65,7 +65,8 @@ namespace Procurement.Controllers
|
|
|
SqlParameter[] parameters = {
|
|
|
new SqlParameter { ParameterName = "@Domain", Value = domain,SqlDbType=SqlDbType.VarChar},
|
|
|
new SqlParameter { ParameterName = "@PurOrd", Value = purord,SqlDbType=SqlDbType.VarChar},
|
|
|
- new SqlParameter { ParameterName = "@Type", Value = type,SqlDbType=SqlDbType.VarChar}
|
|
|
+ new SqlParameter { ParameterName = "@Type", Value = type,SqlDbType=SqlDbType.VarChar},
|
|
|
+ new SqlParameter { ParameterName = "@ShipNbr", Value = shipnbr,SqlDbType=SqlDbType.VarChar},
|
|
|
};
|
|
|
items = await _repository.GetListByProcAsync("pr_WMS_GetPurOrdDetails", parameters);
|
|
|
}
|