/*
 * ACQ_DAYSTAT.h - ac 서비스 ACQ_DAYSTAT 카피북 (copybook / record header).
 * 매입 일별 상태 통계 레코드.
 * Request fields:  T_BIZDATE
 * Response fields: T_ARG1..T_ARG6(상태별 건수), T_COUNT, T_GROSS
 */
#ifndef ACQ_DAYSTAT_H
#define ACQ_DAYSTAT_H

#include "ac_svc.h"

typedef struct {
    char biz_date[16];
    long cnt_accept;   /* A */
    long cnt_matched;  /* M */
    long cnt_settled;  /* S */
    long cnt_cancel;   /* C */
    long cnt_hold;     /* H */
    long cnt_void;     /* V */
    long total;
    long gross;
} ac_daystat_rec_t;

void ACQ_DAYSTAT(TPSVCINFO *p);

#endif /* ACQ_DAYSTAT_H */
