/*
 * ac_edi_intoledger_dbio.h - ac 모듈 DB 접근 계층 copybook (ac_edi_intoledger_dbio, part of libacdbio.a).
 * ECPG functions; run on the caller's XA branch (no EXEC SQL CONNECT).
 * Return convention: >=0 ok, -1 = SQL error.
 * Shape: INSERT INTO ledger SELECT ... FROM ac_edi.
 */
#ifndef AC_EDI_INTOLEDGER_DBIO_H
#define AC_EDI_INTOLEDGER_DBIO_H

typedef struct { long inserted; long total_amount; } ac_edi_post_rec_t;

long acdb_edi_post_to_ledger(const char *bizdate);

#endif /* AC_EDI_INTOLEDGER_DBIO_H */
