食通天6.5转8有两种转换方式
第一种:开启数据转换的隐藏功能,在食通天8系统管理—数据管理中有数据转换模块(需要食通天6.5版本在20180315以上),语句只能转基础资料和会员资料,营业数据无法转换,具体转换内容在数据转换模块有注明
--此功能执行语句后只有当天生效,后期需要使用请重新执行
use issrestv8 delete from cybr_sys_parameter where vch_parameter = 'sys_convert' go
insert into cybr_sys_parameter (vch_parameter,vch_value,vch_explain) values('sys_convert',convert(char(10),getdate(),120),'启用食通天8数据转换功能') go
另一种方式是:基础资料可以直接在食通天6.5中导出,然后到食通天8软件中导入(导入导出都是在系统管理-数据管理-数据导入导出这里操作)
对于会员数据可以通过语句转换:
1、在食通天6.5的sql中安装上食通天8的数据库issrestv8,注意备份好数据库
2、检查食通天6.5中是否有会员名称为空的会员,如果有的话请填写好。
3、执行语句转换(语句是以默认数据库名转换:issrestv6 issrestv8,如果数据库名有过修改的话请在语句中对应修改)
单店
转换会员类型 DELETE FROM issrestv8..t_m_member_type
INSERT INTO issrestv8..t_m_member_type(ch_typeno,vch_typename,ch_attribute,ch_favourable,ch_pricekind,int_discount,ch_projectno,ch_calc,ch_calc_type,int_calc_unit, int_backcash_rate,int_card_baseamount,ch_area_flag,num_level_point,num_defamt,num_point_change,ch_favourable_sn,ch_pricekind_sn,int_discount_sn,ch_projectno_sn,ch_area) SELECT ch_typeno,vch_typename,ch_attribute,ch_favourable,ch_pricekind,int_discount,ch_projectno,ch_calc,ch_calc_type,int_calc_unit, int_backcash_rate,int_card_baseamount,ch_area_flag,num_level_point,num_defamt,num_point_change,ch_favourable_sn,ch_pricekind_sn,int_discount_sn,ch_projectno_sn,ch_area FROM issrestv6..t_m_member_type
转换会员资料 DELETE FROM issrestv8..t_m_member
INSERT INTO issrestv8..t_m_member(vch_memberno,vch_member,ch_typeno,vch_id,dt_birthday,vch_tel,vch_handtel,vch_address,dt_limit,ch_state,num_limit,ch_cardflag, vch_cardno,vch_password,vch_operID,dt_operdate,int_basedata,dt_sendtime,vch_sex,bth_flag,ch_guestid,vch_liking,vch_memo1,vch_memo2,vch_memo3,ch_kind,vch_markid, vch_email,vch_cardnumber) SELECT vch_memberno,vch_member,ch_typeno,vch_id,dt_birthday,vch_tel,vch_handtel,vch_address,dt_limit,ch_state,num_limit,ch_cardflag,vch_cardno,vch_password, vch_operID,dt_operdate,int_basedata,dt_sendtime,vch_sex,bth_flag,ch_guestid,vch_liking,vch_memo1,vch_memo2,vch_memo3,ch_kind,vch_markid,vch_email,vch_memberno FROM issrestv6..t_m_member
转换会员余额 DELETE FROM issrestv8..t_m_curamount
INSERT INTO issrestv8..t_m_curamount(vch_memberno,vch_amount,vch_hangamount,num_point,vch_operID,dt_operdate,ch_branchno,vch_realamount) SELECT vch_memberno,vch_amount,vch_hangamount,num_point,vch_operID,dt_operdate,ch_branchno,vch_amount FROM issrestv6..t_m_curamount
4、转换成功之后在食通天8中将会员先导出一遍然后再导入,以确保生成导入充值记录,使充值 = 余额
以上,感谢您的支持!