网创优客建站品牌官网
为成都网站建设公司企业提供高品质网站建设
热线:028-86922220
成都专业网站建设公司

定制建站费用3500元

符合中小企业对网站设计、功能常规化式的企业展示型网站建设

成都品牌网站建设

品牌网站建设费用6000元

本套餐主要针对企业品牌型网站、中高端设计、前端互动体验...

成都商城网站建设

商城网站建设费用8000元

商城网站建设因基本功能的需求不同费用上面也有很大的差别...

成都微信网站建设

手机微信网站建站3000元

手机微信网站开发、微信官网、微信商城网站...

建站知识

当前位置:首页 > 建站知识

oracleerp表 oracleerp系统

Oracle ERP报表,可以运行一次产生两种不同的报表格式吗

在ITPUB上看到过类似的问题,说实话oracle不是很清楚。摘得是其中某个人的回答,可以看下对你是否有帮助。

创新互联建站是一家集网站建设,芦山企业网站建设,芦山品牌网站建设,网站定制,芦山网站建设报价,网络营销,网络优化,芦山网站推广为一体的创新建站企业,帮助传统企业提升企业形象加强企业竞争力。可充分满足这一群体相比中小企业更为丰富、高端、多元的互联网需求。同时我们时刻保持专业、时尚、前沿,时刻以成就客户成长自我,坚持不断学习、思考、沉淀、净化自己,让我们为更多的企业打造出实用型网站。

每个concurrent program可以在xml publisher 里面注册多个template.如果是可以选择的话,建议在注册concurrent program的时候添加一个新的参数,这个参数是给客户选择哪种格式输出的,根据这个参数不同的值来选择用那个template, 这里需要fnd_request.add_layout的function,然后再用fnd_request.submit_request来调用主要用来输出的报表。也就是说需要注册两个concurrent program,program1用来给用户在前台做提交用的,然后报program1在执行的时候调用fnd_request.add_layout和fnd_request.submit_request两个function来提交报program2。program2是你要做的那个报表。

在Oracle ERP中导数据(BOM清单)

方法:把数据导入BOM清单的方法是 把数据导入接口表中 让其自动运行既可 上传文件的时候 要注意使 用ASCII字符模式 自己建立一中转表 drop table cux_bill_temp;create table cux_bill_temp(bill_sequence_id number assembly_item_id number anization_id number assembly_item varchar ( ) BOMponent_sequence_id number ponent_quantity number 组件数量item_num number 项目序列operation_seq_num number 工序序列ponent_item_id number ponent_item varchar ( ) 组件PLANNING_FACTOR number 计划%d ponent_yield_factor number 产出率d wip_supply_type number 供应类型supply_type varchar ( ) supply_subinventory varchar ( ) 供应子库存OPTIONAL number 可选的OPTIONAL_disp varchar ( ) 可选的MUTUALLY_EXCLUSIVE_OPTIONS number 互不相容MUTUALLY_EXCLUSIVE_O_disp varchar ( ) 互不相容attribute varchar ( ) 排序号row_num number); 删除中转表中的数据 delete cux_bill_temp; 把要导入的数据放在扩展名为* csv的文件中 且要相对应于中转表的字段 本例中的文件名为bill csv 另外的脚本文件为bill ctl 其内容如下:options (skip= ) //跳过第一行 一般第一行为其字段说明LOAD DATAINFILE bill csv //bill csv为数据文件APPENDINTO TABLE cux_bill_tempFIELDS TERMINATED BY OPTIONALLY ENCLOSED BY (与中转表相对应的字段列表)登录进入ORACLE数据库服务器 利用命令:(sqlload 用户名/密码@数据库名)载入文件bill csv的数据入中转表 查看中转表中的记录数(以备导入数据后进行对比) select count(*) from cux_bill_temp; 去除导入时在表bill csv中的关键字段的空格字符 以免影响导入 update cux_bill_tempset ASSEMBLY_ITEM=replace(ASSEMBLY_ITEM ) PONENT_ITEM=replace(PONENT_ITEM ); 查看是否有重复的选项(既是否重复了Item) select assembly_item ponent_item min(row_num) count(*)from cux_bill_tempgroup by assembly_item ponent_itemhaving count(*) ;如果有重复的Item 则要删除(或是重新合并)delete cux_bill_tempwhere row_num in (select min(row_num) from cux_bill_tempgroup by assembly_item ponent_itemhaving count(*) );以下步骤为选做(如有重复才做 没有重复不做 ) 再重新建立一个临时表(对于有重复数据 则只取一条数据 现取row_num最小的一条) drop table cux_bill_a;create table cux_bill_aasselect assembly_item ponent_item ponent_quantity PLANNING_FACTOR ponent_yield_factor supply_type supply_subinventory OPTIONAL_disp MUTUALLY_EXCLUSIVE_O_disp attribute min(row_num) row_numfrom cux_bill_tempgroup by assembly_item ponent_item ponent_quantity PLANNING_FACTOR ponent_yield_factor supply_type supply_subinventory OPTIONAL_disp MUTUALLY_EXCLUSIVE_O_disp attribute ; 删除cux_bill_temp表 delete cux_bill_temp; 再重cux_bill_a表中把数据导入给cux_bill_temp表 完成把重复数据剔除的功能 insert into cux_bill_temp(assembly_item ponent_item ponent_quantity PLANNING_FACTOR ponent_yield_factor supply_type supply_subinventory OPTIONAL_disp MUTUALLY_EXCLUSIVE_O_disp attribute row_num)select assembly_item ponent_item ponent_quantity PLANNING_FACTOR ponent_yield_factor supply_type supply_subinventory OPTIONAL_disp MUTUALLY_EXCLUSIVE_O_disp attribute row_numfrom cux_bill_a; 删除表cux_bill_a drop table cux_bill_a; 再检查一次表 是否有重复的数据 select assembly_item ponent_item min(row_num) count(*)from cux_bill_tempgroup by assembly_item ponent_itemhaving count(*) ; 查看在mtl_system_items表中 既是在库存表中 有没有不存在的Item select distinct itemfrom (select distinct assembly_item itemfrom cux_bill_temp bwhere not exists (select null from mtl_system_items where segment =b assembly_item and anization_id= )unionselect distinct ponent_item itemfrom cux_bill_temp bwhere not exists (select null from mtl_system_items where segment =ponent_item and anization_id= ))order by item; 如果在mtl_system_items中 有不存在的物品ITEM时 要把其删除(或是把这些物品Item导入到系统中) 删除:delete cux_bill_temp bwhere not exists (select null from mtl_system_items where segment =ponent_item and anization_id= );delete cux_bill_temp awhere not exists (select null from mtl_system_items where segment =a assembly_item and anization_id= ); 对没有物品Item的进行处理 把其放入另一临时表cux_item_temp中(以备查询及导入mtl_system_items表中) delete cux_item_temp;insert into cux_item_temp(segment description)select distinct item itemfrom (select distinct assembly_item itemfrom cux_bill_temp bwhere not exists (select null from mtl_system_items where segment =b assembly_item and anization_id= )unionselect distinct ponent_item itemfrom cux_bill_temp bwhere not exists (select null from mtl_system_items where segment =ponent_item and anization_id= ));将找到没有ITEM的BOM数据放到另一个表中 以备下次ITEM导入后在导BOMcreate table cux_bom_temp select distinct itemfrom (select distinct assembly_item itemfrom cux_bill_temp bwhere not exists (select null from mtl_system_items where segment =b assembly_item and anization_id= )unionselect distinct ponent_item itemfrom cux_bill_temp bwhere not exists (select null from mtl_system_items where segment =ponent_item and anization_id= )) 从表mtl_system_items中把物品的编码ID加入中转表cux_bill_temp表(从项目主组织)中 update cux_bill_temp bset assembly_item_id=(select inventory_item_id from mtl_system_itemswhere segmen lishixinzhi/Article/program/Oracle/201311/18605

如何 锁定 oracleerp表

这个和锁定机制没什么关系吧?你的需求只需要逻辑标识就可以满足了。

可以设定一个 锁定状态的字段,例如 LOCK 等等,名字你自己根据业务场景自己取了。当提交领导审批这步之后,LOCK字段设置一个值,例如1,为锁定状态,其他业务操作时先取得此字段状态是否为1,为1不可修改。

领导批准了之后,记录不可修改,LOCK=1不动,如拒绝,LOCK=0,可重新修改。

这样就可以满足你的需求了,采用锁机制并不能满足你的要求。因为你不知道领导什么时候去审批通过,你总不能这一段时间之内都占用ORACLE的锁吧?这是不合理的。

希望能对你有帮助。

怎样在OracleERP报表添加Excel查看方式

如何实现如上图在查看Oracle ERP报表时可以选择Microsoft Excel类型?很简单 作下面的设置就可以了

用sysadmin登录Oracle ERP系统 选择Install Viewer Options 然后添加一条新记录 新纪录的File Format为 Text Mime Type为 application/vnd ms excel Description为 Microsoft Excel 保存

lishixinzhi/Article/program/Oracle/201311/18117


网站题目:oracleerp表 oracleerp系统
转载来源:http://bjjierui.cn/article/doeecii.html

其他资讯