SELECT destination_type_code, distribution_line_number, line_type, amount,
vat_code, tax_code_id, tax_code_override_flag, tax_recovery_rate,
tax_recoverable_flag, tax_recovery_override_flag, accounting_date,
amount_includes_tax_flag, assets_tracking_flag, description,
type_1099, income_tax_region, final_match_flag, quantity_invoiced,
unit_price, po_number, po_line_number, po_line_location_number,
po_distribution_number, receipt_number, project, task, award_id,
expenditure_type, expenditure_organization_name,
expenditure_item_date, pa_quantity, unit_of_measure,
prepay_distribution_id, prepay_number, prepay_dist_number,
prepay_amount_remaining, invoice_includes_prepay_flag, stat_amount,
awt_group_name, awt_creation_method, posted_status_disp,
start_expense_date, merchant_document_number, merchant_name,
merchant_tax_reg_number, merchant_taxpayer_id, merchant_reference,
country_of_supply, ussgl_transaction_code, last_update_date,
creation_date, row_id, accrual_posted_flag,
accts_pay_code_combination_id, assets_addition_flag,
invoice_distribution_id, attribute14, attribute1, attribute10,
attribute11, attribute12, attribute13, attribute15, attribute2,
attribute3, attribute4, attribute5, attribute6, attribute7,
attribute8, attribute9, attribute_category, awt_flag,
awt_gross_amount, awt_group_id, awt_invoice_id, awt_origin_group_id,
awt_tax_rate_id, base_amount, base_invoice_price_variance,
base_quantity_variance, batch_id, cash_je_batch_id, cash_posted_flag,
created_by, dist_code_combination_id, encumbered_flag, exchange_date,
exchange_rate, exchange_rate_type, exchange_rate_variance,
expenditure_organization_id, invoice_id, invoice_price_variance,
je_batch_id, last_updated_by, last_update_login,
line_type_lookup_code, match_status_flag, org_id, other_invoice_id,
packet_id, parent_invoice_id, pa_addition_flag, period_name,
posted_amount, posted_base_amount, posted_flag,
po_accrue_on_receipt_flag, po_code_combination_id,
po_distribution_id, price_var_code_combination_id,
program_application_id, program_id, program_update_date,
project_accounting_context, project_id, quantity_variance,
rate_var_code_combination_id, reference_1, reference_2, request_id,
reversal_flag, set_of_books_id, set_of_books_short_name, task_id,
tax_calculated_flag, ussgl_trx_code_context, invoice_num,
parent_invoice_num, batch_name, income_tax_region_name,
posted_status, je_batch_name, cash_je_batch_name,
chart_of_accounts_id, set_of_books_name, po_header_id, po_line_id,
line_location_id, rcv_transaction_id, unit_meas_lookup_code,
tax_type, matched_uom_lookup_code, parent_reversal_id,
global_attribute_category, global_attribute1, global_attribute2,
global_attribute3, global_attribute4, global_attribute5,
global_attribute6, global_attribute7, global_attribute8,
global_attribute9, global_attribute10, global_attribute11,
global_attribute12, global_attribute13, global_attribute14,
global_attribute15, global_attribute16, global_attribute17,
global_attribute18, global_attribute19, global_attribute20
FROM ap_invoice_distributions_v
WHERE invoice_id = 14653
ORDER BY distribution_line_number,
line_type,
amount,
DECODE (line_type_lookup_code, 'ITEM', 1, 'PREPAY', 3, 'AWT', 4, 2)

Oracle EBS-SQL (GL-5):从发票追溯到接收的更多相关文章

  1. Oracle Ebs R12 SLA与GL关系变化

    http://www.cnblogs.com/bruce_zhao/p/3809886.html Oracle Ebs R12 SLA与GL关系变化 SLA概念:SLA(Subledger Accou ...

  2. Oracle EBS中分类账和法人实体 的关系(有sql语句实例)

    Oracle EBS中分类账和法人实体 的关系(有sql语句实例) 2012-12-06 16:05 2822人阅读 评论(0) 收藏 举报  分类: Oracle EBS(12)  Oracle数据 ...

  3. Oracle EBS DBA常用SQL - 安装/补丁【Z】

    Oracle EBS DBA常用SQL - 安装/补丁 检查应用补丁有没有安装:select bug_number,last_update_date from ad_bugs where bug_nu ...

  4. [转]oracle EBS 基础100问

    from:http://www.cnblogs.com/xiaoL/p/3593691.html  http://f.dataguru.cn/thread-51057-1-1.html 1001 OR ...

  5. Oracle EBS应用笔记整理 (转自IT++ flyingkite)

    ***************************************************** Author: Flyingkite Blog:   http://space.itpub. ...

  6. Oracle EBS使用adpatch工具打patch过程【Z】

    Oracle EBS使用adpatch工具打patch过程 从Metalink下载补丁 登陆到Metalink(https://support.oracle.com),Oracle内部用户可以使用AR ...

  7. Oracle EBS R12文件系统结构(学习汇总网上资料)

    Oracle EBS R12在服务器端文件结构如下: 顶层目录下面分为 1)inst --–跟ebs整个实例(instance)相关的配置信息以及其他信息 2)  db   ---主要存储DB层的信息 ...

  8. Oracle EBS R12经验谈(二)

    作者: jianping.ni    时间: 2009-2-13 12:52     标题: Oracle EBS R12经验谈(二) OAF页面:银行帐户开户人LOV值列表无值    在输入 应付超 ...

  9. Oracle EBS使用adpatch工具打patch过程(hotpatch mode)

    目录(?)[-] 从Metalink下载补丁 上传解压 使用adpatch来打patch完整的日志 检查patch是否打成功 adpatch的日志文件 补充关于Oracle EBS Patch的类型 ...

随机推荐

  1. About

    about: Thanks to NetEase company, the people contribute to NetEase online course, Stephen Prata(< ...

  2. 实现FileCopy(Ring0 x86 x64)

    1.1 内核不接受一个字符串文件路径,必须填写一个OBJECT_ATTRIBUTES结构. 这个结构,在InitializeObjectAttributes初始化 typedef struct _OB ...

  3. winform制作自定义控件(入门)

    原文链接:http://blog.csdn.net/bychentufeiyang/article/details/7081402   与原文基本一致,只是例子变成VS2012环境,语言采用博主常用的 ...

  4. MD5加密算法原理及实现

    MD5消息摘要算法,属Hash算法一类.MD5算法对输入任意长度的消息进行运行,产生一个128位的消息摘要. 以下所描述的消息长度.填充数据都以位(Bit)为单位,字节序为小端字节. 算法原理 1.数 ...

  5. linux GUI程序开发

    1,C++ OOP中 class与C 面向过程开发中struct非常相似

  6. C#,json字符串转换成Json对象

    将JSON的请求参数转化为C#可序列化对象! JSON请求参数: "{\"id\":1,"name":"张三","dep ...

  7. #include <process.h>

    1 _beginthread 单进程,单线程,必须干完一件事情后干另一件事情 #define _CRT_SECURE_NO_WARNINGS #include<stdio.h> #incl ...

  8. apache pk nginx pk Lighttpd

    apache: 历史: APACHE:于1994年发布,是apache软件基金会的一个开放源码的网页服务器,可以在多平台下运行,由于其多平台和安全性被广泛使用,是最流行的web服务器端软件之一:特点是 ...

  9. svn代码版本管理

    1.0开发,做dev1.0的branch此时的目录结构svn://proj/             +trunk/ (不负担开发任务)             +branches/          ...

  10. thinkphp 查询

    一.普通查询方式 a.字符串 $arr=$m->where("sex=0 and username='gege'")->find(); b.数组 $data['sex' ...