summaryrefslogtreecommitdiff
path: root/instrumentation.ts
diff options
context:
space:
mode:
authorjoonhoekim <26rote@gmail.com>2025-08-04 11:07:10 +0000
committerjoonhoekim <26rote@gmail.com>2025-08-04 11:07:10 +0000
commit305a29e0e245ed9de1a7f4d32e96634116dcda82 (patch)
treebba0f654d7072ab8b619ac08ccc4b988fef143f3 /instrumentation.ts
parent4dc27e9495b005b29b4d7a2ad404c8c0644769eb (diff)
(김준회) SOAP ECC 개선, 린터 오류 해결, 구매 기준정보(인코텀즈, 지불조건, 장소(출발지, 도착지)) Non-SAP 동기화 처리
Diffstat (limited to 'instrumentation.ts')
-rw-r--r--instrumentation.ts12
1 files changed, 12 insertions, 0 deletions
diff --git a/instrumentation.ts b/instrumentation.ts
index 97aa6143..db8da371 100644
--- a/instrumentation.ts
+++ b/instrumentation.ts
@@ -28,5 +28,17 @@ export async function register() {
console.error('Failed to start Knox master sync scheduler.');
// 스케줄러 실패해도 애플리케이션은 계속 실행
}
+
+ try {
+ // Procurement 동기화 스케줄러 시작 (지불조건, 인코텀즈, 선적/하역지)
+ const { startProcurementSyncScheduler } = await import(
+ './lib/nonsap-sync/procurement-sync-service'
+ );
+ await startProcurementSyncScheduler();
+
+ } catch {
+ console.error('Failed to start Procurement sync scheduler.');
+ // 스케줄러 실패해도 애플리케이션은 계속 실행
+ }
}
}