リビジョン 170
入金データ、入金明細データの項目追加及び項目名変更
ProcessManagement.sql | ||
---|---|---|
2018 | 2018 |
|
2019 | 2019 |
-- 入金確認承認データ |
2020 | 2020 |
drop table if exists depositapprovalinfo cascade; |
2021 |
|
|
2021 |
/* |
|
2022 | 2022 |
create table depositapprovalinfo ( |
2023 | 2023 |
ORDERERSDIVISION decimal(5,0) not null comment '発注者区分' |
2024 | 2024 |
, ORDERERSCODE decimal(5,0) not null comment '発注者コード' |
... | ... | |
2034 | 2034 |
, UPDATEDATE datetime comment '更新日付' |
2035 | 2035 |
, constraint depositapprovalinfo_PKC primary key (ORDERERSDIVISION,ORDERERSCODE,TARGETDATE,SEQNO,LINECOUNT,APPROVALNO) |
2036 | 2036 |
) comment '入金確認承認データ' ; |
2037 |
*/ |
|
2037 | 2038 |
|
2038 | 2039 |
-- 入金データ |
2039 | 2040 |
drop table if exists depositdata cascade; |
... | ... | |
2043 | 2044 |
, ORDERERSCODE decimal(5,0) not null comment '発注者コード' |
2044 | 2045 |
, TARGETDATE decimal(6,0) not null comment '対象年月' |
2045 | 2046 |
, SEQNO decimal(3,0) not null comment '連番' |
2046 |
, BusinessPeriod decimal(4,0) comment '営業期'
|
|
2047 |
, BUSINESSPERIOD decimal(4,0) comment '営業期'
|
|
2047 | 2048 |
, DEPOSITDATE date comment '入金日' |
2048 |
, DepositAmount decimal(12,0) comment '入金金額'
|
|
2049 |
, DEPOSITAMOUNT decimal(12,0) comment '入金金額'
|
|
2049 | 2050 |
, DEPOSITAMOUNTCASH decimal(10,0) comment '入金金額(現金)' |
2050 | 2051 |
, DEPOSITAMOUNTBILL decimal(10,0) comment '入金金額(手形)' |
2052 |
, DEPOSITPERSONCODE decimal(8,0) NOT NULL COMMENT '入金担当者コード' |
|
2053 |
, NOTE varchar(120) comment '備考' |
|
2051 | 2054 |
, ENTRYDATE datetime comment '登録日付' |
2052 | 2055 |
, UPDATEDATE datetime comment '更新日付' |
2053 | 2056 |
, constraint depositdata_PKC primary key (ORDERERSDIVISION,ORDERERSCODE,TARGETDATE,SEQNO) |
... | ... | |
2068 | 2071 |
, DISCOUNTAMOUNT decimal(10,0) comment '値引き金額' |
2069 | 2072 |
, CNSTRPRICE decimal(10,0) comment '協力金' |
2070 | 2073 |
, FEES decimal(10,0) comment '手数料' |
2071 |
, OTHERADJUSTMENTS decimal(10,0) comment 'その他調整' |
|
2072 |
, CARRYAMOUNT decimal(10,0) comment '繰越金額' |
|
2073 |
, APPROVALPERSONCODE decimal(8,0) comment '承認担当者コード' |
|
2074 |
, APPROVALDATE date comment '担当者承認日付' |
|
2075 |
, APPROVALENDFLG decimal(1,0) comment '承認完了フラグ' |
|
2074 |
, OTHERADJUSTMENTS decimal(10,0) comment 'その他' |
|
2075 |
, DIFFERENCEAMOUNT decimal(10,0) comment '差分' |
|
2076 |
, CONFIRMATIONPERSONCODE decimal(8,0) comment '確認担当者コード' |
|
2077 |
, CONFIRMATIONDATE date comment '担当者確認日付' |
|
2078 |
, CONFIRMATIONENDFLG decimal(1,0) comment '確認完了フラグ' |
|
2079 |
, NOTE varchar(120) comment '備考' |
|
2076 | 2080 |
, ENTRYDATE datetime comment '登録日付' |
2077 | 2081 |
, UPDATEDATE datetime comment '更新日付' |
2078 | 2082 |
, constraint depositdatadetail_PKC primary key (ORDERERSDIVISION,ORDERERSCODE,TARGETDATE,SEQNO,LINECOUNT) |
他の形式にエクスポート: Unified diff