My Oracle Support Banner

REST Call Does Not Return Attachment In Lines Without Having Saved The Line Before (Doc ID 2894540.1)

Last updated on SEPTEMBER 14, 2022

Applies to:

Primavera Unifier - Version 21.12.6.0 and later
Information in this document applies to any platform.

Symptoms

ACTUAL BEHAVIOR

When trying to do a get to a Business Project (BP) record with attached line items. If you create the line, save it and later attach an attachment to it, it returns it correctly. The problem is when a line is created, a file is attached and later saved, in this case, when you make the get call, it does not return this attachment.

EXPECTED BEHAVIOR

Get BP record to work the same regardless of the time the attachment is save

WHAT IS WORKING

When the line is saved before adding the attachment, the get BP record works fine

STEPS TO REPRODUCE

  1. Log into Unifier
  2. Create a record
  3. Create a line
  4. Save the line and the record
  5. Add an attachment
  6. Run the Get BP record call
  7. Notice that it returns the correct results
  8. Create another record
  9. Create a line
  10. Add an attachment
  11. Save the record with the attachment for the first time
  12. Run the Get BP record call
  13. Notice that it does NOT return the attachments

Cause

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
Symptoms
Cause
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.