/*
 * ACQ_FEEHIST.h - ac 서비스 ACQ_FEEHIST 카피북 (copybook / record header).
 * 수수료 조정 이력 집계 레코드.
 * Request fields:  T_PURCHASE_ID
 * Response fields: T_COUNT, T_DELTA(순증감), T_AMT1(증액), T_AMT2(감액), T_RC
 */
#ifndef ACQ_FEEHIST_H
#define ACQ_FEEHIST_H

#include "ac_svc.h"

typedef struct {
    long purchase_id;
    long adj_count;
    long net_delta;   /* 순증감 합계 */
    long up_sum;      /* 증액분 */
    long down_sum;    /* 감액분 */
} ac_feehist_rec_t;

void ACQ_FEEHIST(TPSVCINFO *p);

#endif /* ACQ_FEEHIST_H */
