diff options
| author | joonhoekim <26rote@gmail.com> | 2025-11-06 15:50:45 +0900 |
|---|---|---|
| committer | joonhoekim <26rote@gmail.com> | 2025-11-06 15:50:45 +0900 |
| commit | ba43cd261d10c6b0c5218a9da3f946993b21de6e (patch) | |
| tree | f902939afcd7a2c15359dc0a75eda43dadd540da /lib/soap/mdg/send/vendor-master/action.ts | |
| parent | 9d00afc23fca94056ce630dfdd91e16010cad7aa (diff) | |
(김준회) 결재: 협력업체관리: 가입승인: 가입승인시 결재절차 구현 (템플릿 관련 부분은 미구현)
Diffstat (limited to 'lib/soap/mdg/send/vendor-master/action.ts')
| -rw-r--r-- | lib/soap/mdg/send/vendor-master/action.ts | 13 |
1 files changed, 12 insertions, 1 deletions
diff --git a/lib/soap/mdg/send/vendor-master/action.ts b/lib/soap/mdg/send/vendor-master/action.ts index bdb2d579..c73d78c5 100644 --- a/lib/soap/mdg/send/vendor-master/action.ts +++ b/lib/soap/mdg/send/vendor-master/action.ts @@ -36,7 +36,7 @@ function createVendorMasterSoapBodyContent(supplierMaster: Record<string, string } // MDG로 VENDOR 마스터 SOAP XML 전송하는 함수 (sender.ts 사용) -async function sendVendorMasterToMDGInternal(supplierMaster: Record<string, string>): Promise<{ +export async function sendVendorMasterToMDGInternal(supplierMaster: Record<string, string>): Promise<{ success: boolean; message: string; responseText?: string; @@ -220,6 +220,17 @@ function buildSupplierMasterData(vendorData: NonNullable<Awaited<ReturnType<type // 메인 송신 함수들 // ======================================== +/** + * @deprecated 이 함수는 더 이상 사용되지 않습니다. + * 대신 sendSingleVendorToMDG()를 사용하세요. + * + * 이유: + * - 신규 벤더는 vendorCode가 없음 (MDG에서 생성) + * - 개별 벤더 데이터 전송이 필요 + * - vendors 테이블에서 직접 데이터 조회 필요 + * + * @see lib/soap/mdg/send/vendor-master/send-single-vendor.ts + */ // VENDOR 마스터 데이터를 MDG로 송신하는 액션 export async function sendVendorMasterToMDG(vendorCodes: string[]): Promise<{ success: boolean; |
