create table your_tablename ( fid bigint default 0 not null primary key, forg varchar(50) default ' ' not null comment '组织', faccount varchar(50) default ' ' not null comment '科目', fproject varchar(50) default ' ' not null comment '项目', fdate varchar(50) default ' ' not null comment '期间', fvalue varchar(100) default ' ' not null comment '金额' ); 注: 1.有个fid主键 2.除了主键所有字段定为varchar 3.字段个数:N+2(采集N个维度,加上fid、fvalue),本案例为4个维度 4.fvalue配置为采集方案上的“度量值字段”,度量值字段就是需要采集的数据。 5.日期最好处理成和预算期间成员一致,可以不用配置成员映射 6.表可以建在任何库,不局限与epm库。 7. 集成总账的科目余额表,该表是没有科目编码的,需要去科目表查询编码后,将科目余额表的数据写入临时表。
|