update foc endpoints
This commit is contained in:
parent
874611cd18
commit
472cdf9409
|
|
@ -190,11 +190,11 @@ public class GetDiscountMaterialResponse
|
||||||
|
|
||||||
public class GetFOCResponse
|
public class GetFOCResponse
|
||||||
{
|
{
|
||||||
public string SalesOrgcCode { get; set; }
|
public string? SalesOrgcCode { get; set; }
|
||||||
public string FOCCode { get; set; }
|
public string FOCCode { get; set; }
|
||||||
public string FOCName { get; set; }
|
public string FOCName { get; set; }
|
||||||
public string DistributorChannelCode { get; set; }
|
public string? DistributorChannelCode { get; set; }
|
||||||
public string DistributorChannelName { get; set; }
|
public string? DistributorChannelName { get; set; }
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -842,11 +842,11 @@ public class MobileMasterDataService : IMobileMasterDataService
|
||||||
{
|
{
|
||||||
response.Items.Add(new GetFOCResponse
|
response.Items.Add(new GetFOCResponse
|
||||||
{
|
{
|
||||||
SalesOrgcCode = dr.GetString(0),
|
SalesOrgcCode =dr.IsDBNull(0) ? null : dr.GetString(0),
|
||||||
FOCCode = dr.GetString(1),
|
FOCCode = dr.GetString(1),
|
||||||
FOCName = dr.GetString(2),
|
FOCName = dr.GetString(2),
|
||||||
DistributorChannelCode = dr.GetString(3),
|
DistributorChannelCode = dr.IsDBNull(3) ? null : dr.GetString(3),
|
||||||
DistributorChannelName = dr.GetString(4)
|
DistributorChannelName = dr.IsDBNull(4) ? null : dr.GetString(4)
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
dr.Close();
|
dr.Close();
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user