summaryrefslogtreecommitdiff
path: root/lib/soap/ecc/send/create-po.ts
diff options
context:
space:
mode:
Diffstat (limited to 'lib/soap/ecc/send/create-po.ts')
-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 생성