My Oracle Support Banner

E1: MOBJ: When Adding New File Attachments, Why is There a DELETE Statement to Delete All the Attachments, Followed by Multiple INSERT Statements into F00165? (Doc ID 3025387.1)

Last updated on MAY 29, 2024

Applies to:

JD Edwards EnterpriseOne Tools - Version 9.2 and later
Information in this document applies to any platform.

Goal

When adding new file attachments, there is a DELETE statement to delete all the attachments first, followed by multiple INSERT statements into F00165. Why are all the existing attachments deleted first, before adding them again?

For example:

Uploading the 1st file - before inserting, does DELETE - does not really delete anything as there are no attachments initially.
Uploading the 2nd file - before inserting, does DELETE all the attachments - then it inserts files 1 and 2 again.
Uploading the 3rd file - before inserting, does DELETE all the attachments - then it does the insertion of files 1,2 and 3 again.

Solution

To view full details, sign in with your My Oracle Support account.

Don't have a My Oracle Support account? Click to get started!


In this Document
Goal
Solution
References


My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.