-- API服务 注册：财务应收单批量保存
IF NOT EXISTS (SELECT 1 FROM T_OPEN_APISERVICE WHERE FID = '930315865214191616')
INSERT INTO T_OPEN_APISERVICE (FID, FNUMBER, FCREATORID, FCREATETIME, FMODIFIERID, FMODIFYTIME, FENABLE, FDISABLERID, FDISABLEDATE, FMESSAGETYPE, FBIZOBJECT, FAPPID, FSTATUS, FURLFORMAT, FURL, FHTTPMETHOD, FCONTENTTYPE, FREQTYPE, FREPTYPE, FPLUGIN, FAPISERVICETYPE, FOPERATION, FCUSTOMMETHOD, FMASTERID, FALLOWGUEST)
VALUES ('930315865214191616', 'ar_finarbill_save_biz', '1', {ts'2018-08-08 18:08:08'}, '1', {ts'2018-08-08 18:08:08'}, '1', NULL, NULL, NULL, ' ', '/BBRH+122=39', 'C', '/app/ar/ar_finarbill_save_biz', ' ', '0', '0', '0', '0', '[{\"Type\":0,\"_Type_\":\"Plugin\",\"RowKey\":1,\"ClassName\":\"kd.fi.ar.webapi.FinArBillSaveApi\",\"Enabled\":true,\"rowKey\":null}]', '2', ' ', ' ', '930315865214191616', '0');

IF NOT EXISTS (SELECT 1 FROM T_OPEN_APISERVICE_L WHERE FPKID = '0X90HSNMR9HP')
INSERT INTO T_OPEN_APISERVICE_L (FPKID, FID, FLOCALEID, FDISCRIPTION, FNAME)
VALUES ('0X90HSNMR9HP', '930315865214191616', 'zh_CN', '财务应收单批量保存', '财务应收单批量保存');
IF NOT EXISTS (SELECT 1 FROM T_OPEN_APISERVICE_L WHERE FPKID = '0X90HSNMR9HQ')
INSERT INTO T_OPEN_APISERVICE_L (FPKID, FID, FLOCALEID, FDISCRIPTION, FNAME)
VALUES ('0X90HSNMR9HQ', '930315865214191616', 'zh_TW', '財務應收單批量保存', '財務應收單批量保存');
