摘要:
create or replace PROCEDURE XX_TRANSACT_MO_LINE AS -- Common Declarations l_api_version NUMBER := 1.0; l_init_msg_list VARCHAR2(2) := FND_API.G_TRUE; l_co... 阅读全文
摘要:
DECLARE p_rsv apps.inv_reservation_global.mtl_reservation_rec_type; p_dummy_sn apps.inv_reservation_global.serial_number_tbl_type; l_msg_count NUMBER; l_msg_data VARCHAR2 (240); l_status VARCHAR2 (1... 阅读全文
摘要:
create or replace PROCEDURE XX_CREATE_LOCATOR AS -- Common Declarations l_api_version NUMBER := 1.0; x_return_status VARCHAR2(2); x_msg_count NUMBER :... 阅读全文
摘要:
使用API改变现有物料状态,改成如下:On-Hand, Subinventory, Locator, Lot & Serial。参数使用如下:H, O, S, Z, L。对应如下: 'H' - Onhand 'O' - Lot 'S' – Serial 'Z' - Subinventory (Zone) 'L' - Locator 具体代码为: CREATE OR REPLACE PROCE... 阅读全文
摘要:
DECLARE L_api_return_status VARCHAR2(1); l_qty_oh NUMBER; l_qty_res_oh NUMBER; l_qty_res NUMBER; l_qty_sug NUMBER; l_qty_att NUMBER; l_qty_atr NUMBER; l_msg_count NUMBER; l_msg_data VARCHAR2(1000); ... 阅读全文
摘要:
怎么理解物化视图呢,先随意拿一个建物化视图的例子看一下。 create materialized view EBS_ACCOUNTS_HIERARCHY_MV refresh complete on demand as select v.flex_value, v.description, case 阅读全文
摘要:
-- 从GL总账追溯到 => 子分类账SLA => 子模块AP、AR等 SELECT xep.name, -- 法人主体 xep.legal_entity_identifier, -- 法人主体所得纳税税登记 -- xentity_t.entity_code, xentity_t.name "事务实体类型名称", -- ... 阅读全文
摘要:
-- purpose: 应付标准发票核销预付款发票中的一行 -- 12.2.6 环境 -- author:jenrry create_date: 2017-06-08 declare l_error_message VARCHAR2(2000); p_prepay_line_num number; l_prepay_dist_info ap_prepay_pkg.prepa... 阅读全文
摘要:
-- purpose: 应付发票放弃发票行 -- 12.2.6 环境 -- author:jenrry create_date: 2017-06-07 declare l_dummy_msg VARCHAR2(2000); l_msg_data VARCHAR2(2000); l_line_rec ap_invoice_lines%ROWTYPE;... 阅读全文
摘要:
--取消发票 created by jenrry 20170425 declare l_result BOOLEAN; l_message_name VARCHAR2(240); l_invoice_amount NUMBER; l_base_amount NUMBER; l_temp_canc... 阅读全文