DBA Data[Home] [Help]

APPS.AP_IMPORT_INVOICES_PKG dependencies on FND_ATTACHED_DOCUMENTS

Line 17: from fnd_attached_documents

13: debug_info VARCHAR2(500);
14: BEGIN
15: select count(1)
16: into l_attachments_count
17: from fnd_attached_documents
18: where entity_name = 'AP_INVOICES_INTERFACE'
19: and pk1_value = p_invoice_id;
20:
21: -- only delete if there is an attachment

Line 25: fnd_attached_documents2_pkg.delete_attachments(

21: -- only delete if there is an attachment
22: if ( l_attachments_count > 0 ) then
23: -- assuming deleting only the association with related documents
24: -- need to see if that's always the case
25: fnd_attached_documents2_pkg.delete_attachments(
26: X_entity_name => 'AP_INVOICES_INTERFACE',
27: X_pk1_value => p_invoice_id,
28: X_delete_document_flag => 'N' );
29: end if;