摘要:
模块:AP相关表:AP.AP_CHECKS_ALL ACA AP付款头信息表 AP.AP_INVOICE_PAYMENTS_ALL AIP AP发票-付款关联信息表 CE_BANK_ACCOUNTS CBA 银行帐户信息表 CE_BANK_ACCT_USES_ALL CBAU 付款银行关系表 CE_BANK_BRANCHES_V CBB ce_payment_documents 付款单据 其他:(ACA.CE_BANK_ACCT_USE_ID = CBAU.bank_acct_use_id(+) AND CBAU.bank_account_id = CBA.bank_account_id(+) 阅读全文
posted @ 2010-12-31 22:51
郭振斌
阅读(4077)
评论(0)
推荐(0)
摘要:
[代码][代码][代码][代码] 阅读全文
posted @ 2010-12-31 22:47
郭振斌
阅读(4188)
评论(0)
推荐(0)
摘要:
[代码] 阅读全文
posted @ 2010-12-31 22:40
郭振斌
阅读(1242)
评论(0)
推荐(0)
摘要:
[代码] 阅读全文
posted @ 2010-12-31 22:38
郭振斌
阅读(1115)
评论(0)
推荐(0)
摘要:
[代码] 阅读全文
posted @ 2010-12-31 22:37
郭振斌
阅读(2527)
评论(0)
推荐(0)
摘要:
[代码] 阅读全文
posted @ 2010-12-31 22:36
郭振斌
阅读(1743)
评论(0)
推荐(0)
摘要:
[代码]--EVENT_TYPE_CODE猜想:xla_ae_headers,xla_ae_lines是类似总账汇总的表,分配行“分类”为“未获收入”的借和贷行,在line表中只显示一行,金额为0。 阅读全文
posted @ 2010-12-31 22:08
郭振斌
阅读(1452)
评论(1)
推荐(0)
摘要:
来源于应付类型应付发票(这个拆分的比较彻底)[代码] 阅读全文
posted @ 2010-12-31 19:01
郭振斌
阅读(693)
评论(0)
推荐(0)
摘要:
来源于采购凭证类型为采购接收(视图:XLA_PO_AEL_GL_V)[代码] 阅读全文
posted @ 2010-12-31 19:00
郭振斌
阅读(845)
评论(0)
推荐(0)
摘要:
[代码] 阅读全文
posted @ 2010-12-31 18:58
郭振斌
阅读(711)
评论(0)
推荐(0)
摘要:
[代码]selectgjh.je_header_id,gjl.je_line_num,gjh.description,--摘要gjh.doc_sequence_value,--凭证号gjh.period_name,--期间gcc.segment6item_number,--产品gcc.segment4sub_accounts,--科目to_char(xag.trx_date,'YYYY-MM-DD')trx_date,nvl(ctl.quantity_credited,ctl.quantity_invoiced)quantity,--数量nvl(ctl.revenue_amount,0)rev 阅读全文
posted @ 2010-12-31 18:54
郭振斌
阅读(1108)
评论(0)
推荐(0)
摘要:
应客户需求,需要写个脚本,批量关闭Bonus Item类型的采购订单,在metalink上搜索到一些方法,但是都测试不通。原来需要将代码生成一个并发程序。下面是测试成功的代码。 1.首先创建一个存储过程,然后在存储过程中调用PO_ACTIONS.CLOSE_PO 2.注册一个存储过程类型的并发程序 3.在application中测试结果。[代码] 阅读全文
posted @ 2010-12-31 18:16
郭振斌
阅读(877)
评论(0)
推荐(0)
摘要:
最近论坛很多人提的问题都与行列转换有关系,所以我对行列转换的相关知识做了一个总结,希望对大家有所帮助,同时有何错疏,恳请大家指出,我也是在写作过程中学习,算是一起和大家学习吧。行列转换包括以下六种情况:*列转行*行转列*多列转换成字符串*多行转换成字符串*字符串转换成多列*字符串转换成多行下面分别进行举例介绍。首先声明一点,有些例子需要如下10g及以后才有的知识:a。掌握model子句,b。正则表达式c。加强的层次查询讨论的适用范围只包括8i,9i,10g及以后版本。begin:1、列转行CREATE TABLE t_col_row(ID INT,c1 VARCHAR2(10),c2 VARC 阅读全文
posted @ 2010-12-31 17:37
郭振斌
阅读(1391)
评论(0)
推荐(1)
摘要:
[代码][代码][代码] 阅读全文
posted @ 2010-12-31 17:35
郭振斌
阅读(1949)
评论(0)
推荐(0)
摘要:
[代码] 阅读全文
posted @ 2010-12-31 17:18
郭振斌
阅读(1597)
评论(0)
推荐(0)
摘要:
[代码] 阅读全文
posted @ 2010-12-31 17:14
郭振斌
阅读(1014)
评论(0)
推荐(0)
摘要:
[代码] 阅读全文
posted @ 2010-12-31 17:11
郭振斌
阅读(1506)
评论(0)
推荐(0)
摘要:
[代码] 阅读全文
posted @ 2010-12-31 17:08
郭振斌
阅读(538)
评论(0)
推荐(0)
摘要:
[代码] 阅读全文
posted @ 2010-12-31 17:07
郭振斌
阅读(462)
评论(0)
推荐(0)
摘要:
[代码] 阅读全文
posted @ 2010-12-31 16:38
郭振斌
阅读(394)
评论(0)
推荐(0)
摘要:
[代码] 阅读全文
posted @ 2010-12-31 16:30
郭振斌
阅读(474)
评论(0)
推荐(0)
摘要:
[代码] 阅读全文
posted @ 2010-12-31 16:28
郭振斌
阅读(693)
评论(0)
推荐(0)
摘要:
[代码]selectacct_period_idperiod,open_flag,period_namename,period_start_date,schedule_close_date,period_close_datefromorg_acct_periodswhereorganization_id=&org_idorderby1,2;updateorg_acct_periodssetopen_flag='Y',period_close_date=null,summarized_flag='N'whereorganization_id=&&org_idandacct_period_id= 阅读全文
posted @ 2010-12-31 16:20
郭振斌
阅读(818)
评论(0)
推荐(0)
摘要:
[代码] 阅读全文
posted @ 2010-12-31 16:18
郭振斌
阅读(1462)
评论(1)
推荐(0)
摘要:
[代码] 阅读全文
posted @ 2010-12-31 15:45
郭振斌
阅读(629)
评论(0)
推荐(0)
摘要:
The consultant life while working at client site is not easy during ERP transformation projects, many times it’s required toprovide some adhoc query for extract to ends users, therefore it is important to have a cheat sheet so that such untimely things can be easily handled in sort span. Hope the 阅读全文
posted @ 2010-12-31 15:24
郭振斌
阅读(1290)
评论(0)
推荐(0)
摘要:
[代码] 阅读全文
posted @ 2010-12-31 15:23
郭振斌
阅读(1831)
评论(0)
推荐(0)
摘要:
select aia.invoice_num, aila.line_number, aia.invoice_id, pha.segment1 po_number, pv.vendor_name, pv.segment1 supplier_num, pha.currency_code, pla.line_num, plla.shipment_num, pla.item_description, pla.unit_price, plla.quantity, plla.quantity_received, plla.quantity_billed, rt.transact 阅读全文
posted @ 2010-12-31 15:21
郭振斌
阅读(678)
评论(0)
推荐(0)
摘要:
[代码] 阅读全文
posted @ 2010-12-31 15:01
郭振斌
阅读(803)
评论(0)
推荐(0)
摘要:
[代码] 阅读全文
posted @ 2010-12-31 13:56
郭振斌
阅读(765)
评论(0)
推荐(0)
摘要:
销售订单要经历登记、发放、挑库、交货四个主要环节,有些表在各个环节都有不同的特性,作者罗列了几个主要的常用的表,其它好象还有些货物路线、停靠之类的信息表则没有涉及。下面是销售订单的四个主要环节和每个环节用到的常用表:一、登记1、oe_order_headers_all --订单头信息表2、oe_order_lines_all--header_id=oe_order_headers_all.header_id--订单行信息表3、mtl_sales_orders--segment1=oe_order_headers_all.order_number--sales_order_id=mtl_... 阅读全文
posted @ 2010-12-31 13:50
郭振斌
阅读(6334)
评论(1)
推荐(2)
摘要:
select object_name, lmode, sid session_id, decode(type, 'MR', 'Media Recovery', 'RT', 'Redo Thread', 'UN', 'User Name', 'TX', 'Transaction', 'TM', 'DML', 'UL', 'PL/SQL User Lock', 'DX', 'Distributed Xaction', 'CF', 'Control File', 'IS', 'Instance State', 'FS', 'File Set', 'IR', 'Instance Recovery 阅读全文
posted @ 2010-12-31 13:42
郭振斌
阅读(706)
评论(0)
推荐(0)
摘要:
[code]fnd_profile.value的用法: select fnd_profile.value('gl_set_of_books_id') from dual select fnd_profile.value('mfg_organization_id') from dual --取子库 select fnd_profile.value('GL_SET_OF_BKS_ID') from dual--取帐套 (此方式在R12中已不能使用,需要用GL_ACCESS_SET_ID再查询出LEDGER_ID) 用此方式調整正確的當前咝协h境,特別是在multi_org環境下(在報表前,報表後 阅读全文
posted @ 2010-12-31 13:37
郭振斌
阅读(2599)
评论(0)
推荐(0)
摘要:
一:分析函数over Oracle从8.1.6开始提供分析函数,分析函数用于计算基于组的某种聚合值,它和聚合函数的不同之处是 对于每个组返回多行,而聚合函数对于每个组只返回一行。 下面通过几个例子来说明其应用。 1:统计某商店的营业额。 date sale 1 20 2 15 3 14 4 18 5 30 规则:按天统计:每天都统计前面几天的总额 得到的结果: DATE SALE SUM ----- -------- ------ 1 20 20 --1天 2 15 35 --1天+2天 3 14 49 --1天+2天+3天 4 18 67 . 5 30 97 . 2:统计各班成绩第一名的同 阅读全文
posted @ 2010-12-31 13:35
郭振斌
阅读(885)
评论(0)
推荐(1)
摘要:
[代码] 阅读全文
posted @ 2010-12-31 12:01
郭振斌
阅读(1191)
评论(0)
推荐(0)
摘要:
[代码] 阅读全文
posted @ 2010-12-31 11:59
郭振斌
阅读(855)
评论(0)
推荐(0)
摘要:
select c.user_name, papf.full_name, b.user_concurrent_program_name, a.request_date, a.argument_text, (a.actual_completion_date - a.actual_start_date) * 24 * 60 minutes, a.actual_start_date, a.actual_completion_date, a.request_id, a.outfile_name from fnd_concurrent_requests a, fnd_concurren 阅读全文
posted @ 2010-12-31 11:54
郭振斌
阅读(645)
评论(0)
推荐(0)
摘要:
[代码] 阅读全文
posted @ 2010-12-31 11:54
郭振斌
阅读(803)
评论(0)
推荐(0)
摘要:
[代码] 阅读全文
posted @ 2010-12-31 11:48
郭振斌
阅读(856)
评论(0)
推荐(0)
摘要:
[代码] 阅读全文
posted @ 2010-12-31 11:44
郭振斌
阅读(508)
评论(0)
推荐(0)
摘要:
[代码] 阅读全文
posted @ 2010-12-31 11:43
郭振斌
阅读(566)
评论(0)
推荐(0)
摘要:
[代码] 阅读全文
posted @ 2010-12-31 11:40
郭振斌
阅读(489)
评论(0)
推荐(0)
摘要:
[代码] AND gb.period_name = '2010-11' AND gcck.concatenated_segments like '02.021200.6501.%.0000.0000.000' 阅读全文
posted @ 2010-12-31 11:12
郭振斌
阅读(2175)
评论(0)
推荐(0)
浙公网安备 33010602011771号