summaryrefslogtreecommitdiff
path: root/lib/soap/ecc
diff options
context:
space:
mode:
authorjoonhoekim <26rote@gmail.com>2025-11-14 11:06:18 +0900
committerjoonhoekim <26rote@gmail.com>2025-11-14 11:06:18 +0900
commit4a4f41d5b206b64196f5cb5d79ca400f5452bb5f (patch)
tree964065443eefc654bba8ae624215e484142c6337 /lib/soap/ecc
parentc882df5fa1a181d5bfd133d5980993ac43079b72 (diff)
(김준회) Create PO 관련 검증 제거
Diffstat (limited to 'lib/soap/ecc')
-rw-r--r--lib/soap/ecc/send/create-po.ts8
1 files changed, 3 insertions, 5 deletions
diff --git a/lib/soap/ecc/send/create-po.ts b/lib/soap/ecc/send/create-po.ts
index 47894d50..0984a208 100644
--- a/lib/soap/ecc/send/create-po.ts
+++ b/lib/soap/ecc/send/create-po.ts
@@ -135,13 +135,11 @@ function validatePOData(poData: POCreateRequest): { isValid: boolean; errors: st
// ECC로 PO 생성 SOAP XML 전송하는 함수
async function sendPOToECC(poData: POCreateRequest): Promise<SoapSendResult> {
try {
- // 데이터 검증
+ // 데이터 검증 (경고만 출력, 전송은 계속 진행)
const validation = validatePOData(poData);
if (!validation.isValid) {
- return {
- success: false,
- message: `데이터 검증 실패: ${validation.errors.join(', ')}`
- };
+ console.warn('⚠️ PO 데이터 검증 경고 (전송은 계속 진행):', validation.errors.join(', '));
+ console.warn('⚠️ 검증 실패한 PO 데이터:', JSON.stringify(poData, null, 2));
}
// SOAP Body Content 생성