摘要:
1.根据科目取得或创建CCID. fnd_flex_ext.get_segs('SQLGL', 'GL#', gcc.chart_of_accounts_id, gcc.code_combination_id); fnd_flex_ext.get_ccid(application_short_nam 阅读全文
posted @ 2024-03-19 09:18
Iven_lin
阅读(122)
评论(0)
推荐(0)
摘要:
DECLARE l_last_scheduled_close_date DATE; l_le_sysdate DATE; — l_prior_period_open BOOLEAN; l_new_acct_period_id NUMBER; l_duplicate_open_period 阅读全文
posted @ 2024-03-19 09:15
Iven_lin
阅读(99)
评论(0)
推荐(0)
摘要:
--BOM_EXPLOSION_temp是一个临时表,在展BOM的时候,是一个很有用的表,存放了组成料件层次。默认时是没有记录的,加入下列的语句: DECLARE l_group_id NUMBER; l_error_message VARCHAR2(1000); l_error_code NUMB 阅读全文
posted @ 2024-03-19 09:10
Iven_lin
阅读(130)
评论(0)
推荐(0)
摘要:
--组织表select * from hr_organization_units_v--AR 事物处理安全性限制begin mo_global.set_policy_context('S', '82');end; -- 备份事物处理create table bak.RA_CUSTOMER_TRX_A 阅读全文
posted @ 2024-03-19 09:05
Iven_lin
阅读(45)
评论(0)
推荐(0)
摘要:
库存模块select oap.status 关闭状态, oap.period_name 所属期间, oap.organization_id 组织id, (select name from hr_organization_units x where x.organization_id = oap.or 阅读全文
posted @ 2024-03-19 09:03
Iven_lin
阅读(48)
评论(0)
推荐(0)
摘要:
问题起源 我们在数据库中存储了利率等信息是小于1的查询出结果后直接转换为字符串,这时候就有问题了比如0.5取出来后变成.5 这时候放到前端显得不伦不类。 解决 to_char 修改数字的格式, 常用的集中情况如下: SELECT 1, TO_CHAR(.08, 'fm999999999990.00' 阅读全文
posted @ 2024-03-18 22:13
Iven_lin
阅读(635)
评论(0)
推荐(0)
摘要:
select * from po_document_types_all_tl 阅读全文
posted @ 2024-03-18 22:10
Iven_lin
阅读(44)
评论(0)
推荐(0)
摘要:
select appl.product_code 应用, appl.application_short_name 应用简称, gld.name 帐套, gps.period_name 期间, gps.closing_status 期间状态 --期间状态:'N' => 从未打开,'F' => 将来可输 阅读全文
posted @ 2024-03-18 22:09
Iven_lin
阅读(119)
评论(0)
推荐(0)
摘要:
select * from po_lookup_codes polc where polc.lookup_type = 'AUTHORIZATION STATUS'; 阅读全文
posted @ 2024-03-18 22:05
Iven_lin
阅读(72)
评论(0)
推荐(0)
摘要:
--DEMO --存储过程实现流水号 create or replace procedure cux_get_serial_number(p_model_name in varchar2, --模块 参数1 p_start_no in varchar2, --前缀 参数2 p_length in n 阅读全文
posted @ 2024-03-18 22:02
Iven_lin
阅读(121)
评论(0)
推荐(0)
浙公网安备 33010602011771号