|
|
@ -312,21 +312,19 @@ public class IfsApiIssueAndReturnServiceImpl implements IfsApiIssueAndReturnServ |
|
|
params.put("domainUserID", domainUserID); |
|
|
params.put("domainUserID", domainUserID); |
|
|
params.put("ifsSiteID", otherTransactionIfsDto.getIfsSiteID()); |
|
|
params.put("ifsSiteID", otherTransactionIfsDto.getIfsSiteID()); |
|
|
params.put("ifsPartNo", otherTransactionIfsDto.getIfsPartNo()); |
|
|
params.put("ifsPartNo", otherTransactionIfsDto.getIfsPartNo()); |
|
|
|
|
|
params.put("ifsConfigurationID", "*"); |
|
|
params.put("ifsLocationNo", otherTransactionIfsDto.getIfsLocationNo()); |
|
|
params.put("ifsLocationNo", otherTransactionIfsDto.getIfsLocationNo()); |
|
|
params.put("ifsLotBatchNo", otherTransactionIfsDto.getIfsLotBatchNo()); |
|
|
params.put("ifsLotBatchNo", otherTransactionIfsDto.getIfsLotBatchNo()); |
|
|
params.put("ifsSerialNo", otherTransactionIfsDto.getIfsSerialNo()); |
|
|
params.put("ifsSerialNo", otherTransactionIfsDto.getIfsSerialNo()); |
|
|
params.put("ifsWdrNo", otherTransactionIfsDto.getIfsWdrNo()); |
|
|
|
|
|
params.put("ifsEngChgLevel", otherTransactionIfsDto.getIfsEngChgLevel()); |
|
|
params.put("ifsEngChgLevel", otherTransactionIfsDto.getIfsEngChgLevel()); |
|
|
params.put("ifsActivitySeq", otherTransactionIfsDto.getIfsActivitySeq()); |
|
|
|
|
|
|
|
|
params.put("ifsWdrNo", otherTransactionIfsDto.getIfsWdrNo()); |
|
|
params.put("ifsHandlingUntitID", otherTransactionIfsDto.getIfsHandlingUntitID()); |
|
|
params.put("ifsHandlingUntitID", otherTransactionIfsDto.getIfsHandlingUntitID()); |
|
|
params.put("ifsQuantity", otherTransactionIfsDto.getIfsQuantity()); |
|
|
|
|
|
params.put("ifsTransactionType", otherTransactionIfsDto.getIfsTransactionType()); |
|
|
|
|
|
params.put("ifsReason", otherTransactionIfsDto.getIfsReason()); |
|
|
|
|
|
params.put("ifsOperator", otherTransactionIfsDto.getIfsOperator()); |
|
|
|
|
|
|
|
|
params.put("ifsQtyReceived", otherTransactionIfsDto.getIfsQuantity()); |
|
|
|
|
|
params.put("ifsPartOwnershipDb", "COMPANY OWNED"); |
|
|
|
|
|
|
|
|
ObjectMapper objectMapper = new ObjectMapper(); |
|
|
ObjectMapper objectMapper = new ObjectMapper(); |
|
|
String jsonBody = objectMapper.writeValueAsString(params); |
|
|
String jsonBody = objectMapper.writeValueAsString(params); |
|
|
String ifsResponse = HttpUtils.doPost(ifsUrl + "OtherInbound", jsonBody, null); |
|
|
|
|
|
|
|
|
String ifsResponse = HttpUtils.doPost(ifsUrl + "ReceiveInventoryPart", jsonBody, null); |
|
|
|
|
|
|
|
|
return ifsResponse; |
|
|
return ifsResponse; |
|
|
} catch (Exception e) { |
|
|
} catch (Exception e) { |
|
|
|