库存临时表应用实例
CREATE OR REPLACE PROCEDURE CUXWIP_TMP(errbuf OUT VARCHAR2, JETCODE OUT number) IS ----------------------------------外部参数 p_date DATE; p_trx_type_id number := 105;--生产批量发料 ---121子库存转移 p_item_id number; p_subinv varchar2(10); p_Locator_id number; p_subinv_to varchar2(10); p_Locator_id_to number; p_transaction_quantity number; p_source_id number
库存事务处理临时表
日志复制网址隐藏签名档小字体 上一篇 下一篇 返回日志列表 库存事务处理接口 编辑 | 删除 | 权限设置 | 更多▼ 设置置顶 推荐日志 转到私密记事本 虎鲸 发表于2009年02月24日 09:53 阅读(1) 评论(0) 分类: 工作日志 权限: 公开 库存事务处理临时表 Mtl_material_transactions_temp 批次事务处理临时表 mtl_transaction_lots_temp 序列事务处理临时表 mtl_serial_numbers_temp ü 表 Mtl_material_transactions_temp n allowed_units_lookup_code 默认值 3 n created_by 默认值
DB触发器的应用实例
CREATE OR REPLACE TRIGGER CUX_BOM_TRI AFTER INSERT OR UPDATE ON CUX_WIP_BOM REFERENCING NEW AS NEW OLD AS OLD FOR EACH ROW when (NVL(NEW.WIP_SUPPLY_TYPE,1) = 6) DECLARE l_return_err VARCHAR2(80); BEGIN BEGIN insert into CUX_WIP_BOM1 nologging select distinct :new.Wip_Entity_Id ,bicv.item_num ,bbom.assembly_item_id ,msib.segment1 ,msib.description ,bbom.uom ,bicv.component_item_id ,msib1.segment1 com_segment1 ,msib1.description com_description ,bicv.primary_uom_code ,BICV.supply_subinventory --,m