-- 标准版应收首页预置
DELETE FROM T_BAS_MAINPAGELAYOUT WHERE FID = '449791256868771072';
INSERT INTO T_BAS_MAINPAGELAYOUT(FID, FUSERID, FTYPE, FBIZAPPID, FLAYOUT, FNUMBER, FENABLE, FCUSTOMABLE, FISPRESET, FCREATORID, FCREATETIME, FMODIFIERID, FMODIFYTIME, FDISABLERID, FDISABLETIME, FSCHEMETYPE, FISMULTIORG) VALUES (449791256868771072, 1, 'app', '/BBRH+122=39', '[{\"w\":12,\"h\":1,\"x\":0,\"y\":0,\"i\":\"459790840303291392\",\"moved\":false,\"static\":false},{\"w\":4,\"h\":1,\"x\":0,\"y\":1,\"i\":\"459790840303291393\",\"moved\":false,\"static\":false},{\"w\":4,\"h\":1,\"x\":4,\"y\":1,\"i\":\"459790840303291394\",\"moved\":false,\"static\":false},{\"w\":4,\"h\":1,\"x\":8,\"y\":1,\"i\":\"459790840303291395\",\"moved\":false,\"static\":false},{\"w\":4,\"h\":2,\"x\":0,\"y\":2,\"i\":\"459790840303291396\",\"moved\":false,\"static\":false},{\"w\":4,\"h\":2,\"x\":8,\"y\":2,\"i\":\"459790840303291397\",\"moved\":false,\"static\":false},{\"w\":4,\"h\":2,\"x\":4,\"y\":2,\"i\":\"4597908403032913988\",\"moved\":false,\"static\":false}]', '449791256868771072', '1', '1', '1', 1, {ts'2018-08-08 18:08:08'}, 1, {ts'2018-08-08 18:08:08'}, 0, {ts'2018-08-08 18:08:08'}, '1', '0');

DELETE FROM T_BAS_MAINPAGELAYOUT_L WHERE FID = '449791256868771072';
INSERT INTO T_BAS_MAINPAGELAYOUT_L(FPKID, FID, FLOCALEID, FNAME) VALUES ('449791256868771072', 449791256868771072, 'zh_CN', '标准版应收应用首页默认方案');

DELETE FROM T_BAS_CARDCONFIG WHERE FMAINPAGEID = '449791256868771072';
INSERT INTO T_BAS_CARDCONFIG(FID, FUSERID, FTYPE, FCONFIG, FMAINPAGEID, FCARDID) VALUES (788344567766792960, 0, 'bos_card_quicklaunch', '{\"cardType\":\"bos_card_quicklaunch\",\"config\":{\"/K1W1W=B3LKX\":{\"cache_sel_appId\":\"/BBRH+122=39\",\"cache_sel_menuId\":\"/K1W1W=B3LKX\",\"launchType\":\"launchType_menu\"},\"053SZM0E3O4S\":{\"cache_sel_appId\":\"/BBRH+122=39\",\"cache_sel_menuId\":\"053SZM0E3O4S\",\"launchType\":\"launchType_menu\"},\"/K1W7JWJY6N7\":{\"cache_sel_appId\":\"/BBRH+122=39\",\"cache_sel_menuId\":\"/K1W7JWJY6N7\",\"launchType\":\"launchType_menu\"},\"/K25U=JR593Y\":{\"cache_sel_appId\":\"/BBRH+122=39\",\"cache_sel_menuId\":\"/K25U=JR593Y\",\"launchType\":\"launchType_menu\"},\"14+DBAIPL2OB\":{\"cache_sel_appId\":\"/BBRH+122=39\",\"cache_sel_menuId\":\"14+DBAIPL2OB\",\"launchType\":\"launchType_menu\"}}}', 449791256868771072, 459790840303291392);
INSERT INTO T_BAS_CARDCONFIG(FID, FUSERID, FTYPE, FCONFIG, FMAINPAGEID, FCARDID) VALUES (788344567766792961, 0, 'bos_card_billstats_list', '{\"cardType\":\"bos_card_billstats_list\",\"config\":{\"3\":{\"appnum\":\"ar\",\"datatype\":\"count\",\"filterschema\":\"0=O=/K3ESLUW\",\"scale\":\"0\",\"filterclass\":\"\",\"menuid\":\"/D0DOS51+XED\",\"entityid\":\"ar_finarbill\",\"numtitle\":\"f:customname\",\"numcolor\":\"#FF903D\"},\"4\":{\"appnum\":\"ar\",\"datatype\":\"count\",\"filterschema\":\"0=O=/UGW/PTN\",\"scale\":\"0\",\"filterclass\":\"\",\"menuid\":\"/D0DOS51+XED\",\"entityid\":\"ar_finarbill\",\"numtitle\":\"f:customname\",\"numcolor\":\"#666666\"}}}', 449791256868771072, 459790840303291393);
INSERT INTO T_BAS_CARDCONFIG(FID, FUSERID, FTYPE, FCONFIG, FMAINPAGEID, FCARDID) VALUES (788344567766792962, 0, 'bos_card_billstats_list', '{\"cardType\":\"bos_card_billstats_list\",\"config\":{\"5\":{\"appnum\":\"ar\",\"datatype\":\"count\",\"filterschema\":\"0=OAAJLUL5M2\",\"scale\":\"0\",\"filterclass\":\"kd.fi.ar.formplugin.HomeInvoice\",\"menuid\":\"/CLG3VN54WHH\",\"entityid\":\"ar_invoice\",\"numtitle\":\"f:customname\",\"numcolor\":\"#FF903D\"},\"6\":{\"appnum\":\"ar\",\"datatype\":\"count\",\"filterschema\":\"0=OAAV/5DCJL\",\"scale\":\"0\",\"filterclass\":\"kd.fi.ar.formplugin.HomeInvoice\",\"menuid\":\"/CLG3VN54WHH\",\"entityid\":\"ar_invoice\",\"numtitle\":\"f:customname\",\"numcolor\":\"#666666\"}}}', 449791256868771072, 459790840303291394);
INSERT INTO T_BAS_CARDCONFIG(FID, FUSERID, FTYPE, FCONFIG, FMAINPAGEID, FCARDID) VALUES (788344567766792963, 0, 'bos_card_billstats_list', '{\"cardType\":\"bos_card_billstats_list\",\"config\":{\"2\":{\"appnum\":\"ar\",\"datatype\":\"count\",\"filterschema\":\"0T1XAOH4S8/K\",\"scale\":\"0\",\"menuid\":\"/D0DOS51+XED\",\"entityid\":\"ar_finarbill\",\"numtitle\":\"f:customname\",\"numcolor\":\"#55A0F5\"},\"3\":{\"appnum\":\"ar\",\"datatype\":\"count\",\"filterschema\":\"0=O=02X9DIU6\",\"scale\":\"0\",\"filterclass\":\"\",\"menuid\":\"/D0DOS51+XED\",\"entityid\":\"ar_finarbill\",\"numtitle\":\"f:customname\",\"numcolor\":\"#55A0F5\"}}}', 449791256868771072, 459790840303291395);
INSERT INTO T_BAS_CARDCONFIG(FID, FUSERID, FTYPE, FCONFIG, FMAINPAGEID, FCARDID) VALUES (788344567766792964, 0, 'bos_card_custom', '{\"cardformnum\":\"ar_chart_balanceranking\",\"cardType\":\"bos_card_custom\",\"cardformname\":\"应收余额排名图表\"}', 449791256868771072, 459790840303291396);
INSERT INTO T_BAS_CARDCONFIG(FID, FUSERID, FTYPE, FCONFIG, FMAINPAGEID, FCARDID) VALUES (788344567766792965, 0, 'bos_card_custom', '{\"cardformnum\":\"ar_chart_acctage\",\"cardType\":\"bos_card_custom\",\"cardformname\":\"应收账龄分析图表\"}', 449791256868771072, 459790840303291397);
INSERT INTO T_BAS_CARDCONFIG(FID, FUSERID, FTYPE, FCONFIG, FMAINPAGEID, FCARDID) VALUES (788344567766792966, 0, 'bos_card_custom', '{\"cardformnum\":\"ar_chart_turnover\",\"cardType\":\"bos_card_custom\",\"cardformname\":\"应收账款周转率图表\"}', 449791256868771072, 4597908403032913988);

DELETE FROM T_BAS_CARDCONFIG_L WHERE FID in ('788344567766792960','788344567766792961','788344567766792962','788344567766792963','788344567766792964','788344567766792965','788344567766792966');
INSERT INTO T_BAS_CARDCONFIG_L(FPKID, FID, FLOCALEID, FCARDTITLE, FCUSTOMNAME) VALUES ('0=OAH8HT6ZSI', 788344567766792960, 'zh_CN', '快速发起', ' ');
INSERT INTO T_BAS_CARDCONFIG_L(FPKID, FID, FLOCALEID, FCARDTITLE, FCUSTOMNAME) VALUES ('0=OAH8HT6ZSJ', 788344567766792961, 'zh_CN', '应收处理', '待提交,待审核');
INSERT INTO T_BAS_CARDCONFIG_L(FPKID, FID, FLOCALEID, FCARDTITLE, FCUSTOMNAME) VALUES ('0=OAH8HT6ZSK', 788344567766792962, 'zh_CN', '发票处理', '待提交,待审核');
INSERT INTO T_BAS_CARDCONFIG_L(FPKID, FID, FLOCALEID, FCARDTITLE, FCUSTOMNAME) VALUES ('0=OAH8HT6ZSL', 788344567766792963, 'zh_CN', '结算核销', '待核销,待结算');
INSERT INTO T_BAS_CARDCONFIG_L(FPKID, FID, FLOCALEID, FCARDTITLE, FCUSTOMNAME) VALUES ('0=OAH8HT6ZSM', 788344567766792964, 'zh_CN', '应收余额排名', ' ');
INSERT INTO T_BAS_CARDCONFIG_L(FPKID, FID, FLOCALEID, FCARDTITLE, FCUSTOMNAME) VALUES ('0=OAH8HT6ZSN', 788344567766792965, 'zh_CN', '应收账龄分析', ' ');
INSERT INTO T_BAS_CARDCONFIG_L(FPKID, FID, FLOCALEID, FCARDTITLE, FCUSTOMNAME) VALUES ('0=OAH8HT6ZSO', 788344567766792966, 'zh_CN', '应收账款周转率', ' ');
