ap invoice status 【selected for validate】

本文详细介绍了发票验证过程,包括匹配、税务、期间状态、汇率及分配信息检查。解释了如何通过更新ap_invoices_all表中的validate_request_id字段解决发票验证错误,以及如何释放因验证异常而被挂起的发票。


Invoice  Validate时状态【selected for validate】

【处理方式:后台更新 ap_invoices_all 表中的 validate_request_id 为空即可】

Invoice Validation checks the matching, tax, period status, exchange rate, and

distribution information for invoices you enter. It checks the supplier site to determine

which invoice tolerance template to use. If no invoice tolerance template is specified,

tolerance checking is not performed. If an invoice tolerance template is specified,

Invoice Validation will check against the specific invoice tolerances template stored in

the Invoice Tolerances window to determine if the invoice falls within the defined

tolerances and automatically applies holds to exception invoices. If an invoice has a

hold, you can release the hold by correcting the exception that caused Invoice

Invoices 3-169

Validation to apply the hold by updating the invoice or the purchase order, or changing

the invoice tolerances. Then resubmit Invoice Validation to release the hold. In the

Invoice Holds tab, you can manually release certain invoice holds, even if you have not

resolved the matching error condition.

Note: When the invoice is in a Validated state, the Liability Account

field cannot be updated.

Authorized users can always correct an invoice, even if you have validated, approved,

paid, or created accounting entries for the invoice. See also: Adjusting Invoices, page 3-

258.

You can identify all invoices that Payables has not yet reviewed with Invoice Validation

by submitting the Invoice Register and selecting the Unvalidated Invoices Only

parameter. You can review the validation status of an invoice online in the Invoice

Overview window or the Invoices window.

Payables and Oracle Alert integrate to alert the appropriate accounts payable or

purchasing staff when you or Payables place an invoice on hold. Oracle Alert also

provides an integrated system of alerts, messages, and message distribution to focus

attention on time-sensitive or critical information and streamline the validation process.

Exception reporting in Oracle Alert is accomplished using either electronic mail or

paper reports.

You can submit an invoice for validation in one of the following ways:

• Online by using either the Validate or the Validate Related Invoices check box in the

Invoice Actions window. See: Submitting Online Validation for Invoices, page 3-170.

• Online by using the Validate button in the Invoice Batches window. See: Submitting

Online Validation for Invoice Batches, page 3-171.

• Batch by submitting the Payables Invoice Validation program from the Submit

Request window. See: Payables Invoice Validation Program, page 3-171.

The order of the Invoice Validation process and Invoice Approval Workflow Program is

based on the Approval Processing Sequence Payables option. For example, you might

want to validate before you approve if you enter invoices that require the Invoice

Validation process to create tax distributions for you. If your approvers need to review

tax details before they approve an invoice, then we recommend that you select an

option that validates before approving. For more information on submitting invoices for

approval, see Invoice Approval Workflow Overview, page 3-174.


SELECT invoice_id, validation_request_id FROM ap_invoices_all AI

WHERE validation_request_id IS NOT NULL

AND (   EXISTS

        (SELECT 'Request Completed'

           FROM fnd_concurrent_requests FCR

          WHERE FCR.request_id = AI.validation_request_id

            AND FCR.phase_code = 'C' )

      OR NOT EXISTS

         (SELECT 'Request Completed'

            FROM fnd_concurrent_requests FCR

           WHERE FCR.request_id = AI.validation_request_id));


It is a bug explain in: R12: Unable to Validate Invoice after Cancelling Validation Request due to Error 'This Invoice cannot be Modified because it is Currently Selected for Processing by the Invoice Validation Program' ( Doc ID 1054163.1 )

Solution is in: R12:Payables:Generic Data Fix (GDF) Patch Number 20651268 - Invoices Locked by Invoice Validation Request That had Completed in Error ( Doc ID 1072774.1 )


处理方式:后台更新 ap_invoices_all 表中的 validate_request_id 为空即可.

来自 “ ITPUB博客 ” ,链接:http://blog.itpub.net/17087603/viewspace-2565375/,如需转载,请注明出处,否则将追究法律责任。

转载于:http://blog.itpub.net/17087603/viewspace-2565375/

### AP_INVOICE_LINES_ALL 数据库表结构和用途 AP_INVOICE_LINES_ALL 表是 Oracle E-Business Suite (EBS) AP(应付账款)模块中的关键表之一,用于存储应付发票的明细行信息。每张发票在 AP_INVOICES_ALL 表中作为一条头信息记录存在,而其对应的每一行发票明细(如费用、税金、折扣等)则存储在 AP_INVOICE_LINES_ALL 表中。 #### 表结构 AP_INVOICE_LINES_ALL 表包含以下主要字段: - **INVOICE_ID**: 发票的唯一标识符,与 AP_INVOICES_ALL 表中的 INVOICE_ID 相关联,表示该明细行属于哪张发票。 - **INVOICE_LINE_ID**: 该明细行的唯一标识符,作为表的主键。 - **LINE_NUMBER**: 发票行号,用于标识发票明细行的顺序。 - **LINE_TYPE_LOOKUP_CODE**: 行类型代码,表示该行的类型,如 ITEM(项目行)、TAX(税金行)、FREIGHT(运费行)等。 - **AMOUNT**: 该行金额,表示该明细行的金额值。 - **DESCRIPTION**: 行描述,用于记录该明细行的说明信息。 - **DIST_CODE_CONCATENATED**: 分配代码组合,表示该明细行对应的科目组合。 - **CREATION_DATE**: 记录创建日期。 - **LAST_UPDATED_BY**: 最后更新记录的用户。 - **LAST_UPDATE_DATE**: 最后更新记录的日期。 #### 用途 AP_INVOICE_LINES_ALL 表的主要用途包括: - **存储发票明细行信息**: 每张发票可以包含多个明细行,如费用项、税金项、运费等,这些信息在 AP_INVOICE_LINES_ALL 表中以多条记录的形式存储。 - **与发票头信息关联**: 通过 INVOICE_ID 字段与 AP_INVOICES_ALL 表进行关联,确保每条明细行记录都能对应到正确的发票头信息[^1]。 - **支持发票分配处理**: 该表支持后续将明细行金额分配到具体会计科目(如成本中心、项目等),并与 AP_INVOICE_DISTRIBUTIONS_ALL 表一起用于生成会计分录[^1]。 - **支持多类型行处理**: 通过 LINE_TYPE_LOOKUP_CODE 字段,支持不同类型的发票行,满足复杂的发票结构需求,如税金、折扣、运费等[^1]。 #### 示例代码 以下是一个 SQL 查询示例,用于从 AP_INVOICE_LINES_ALL 表中检索某张发票的所有明细行信息: ```sql SELECT INVOICE_LINE_ID, LINE_NUMBER, LINE_TYPE_LOOKUP_CODE, AMOUNT, DESCRIPTION FROM AP_INVOICE_LINES_ALL WHERE INVOICE_ID = 123456; ``` 该查询将返回 INVOICE_ID 为 123456 的所有发票明细行信息。 ###
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值