/*
 * LG_PENDSTAT.h - lg 서비스 LG_PENDSTAT 카피북 (copybook / record header).
 * 미결 상태별 집계: 당일 전표를 상태(D/P/M/S/X)별로 순회 집계.
 */
#ifndef LG_PENDSTAT_H
#define LG_PENDSTAT_H

#include "lg_svc.h"

typedef struct {
    long   voucher_id;
    long   debit_total;
    long   credit_total;
    long   net_balance;
    char   acct[32];
    char   biz_date[16];
} lg_lg_pendstat_rec_t;

void LG_PENDSTAT(TPSVCINFO *p);

#endif /* LG_PENDSTAT_H */
