My Oracle Support Banner

When updating the Header/Child returned an error: (412) Precondition Failed error occurs when we try to update header after updating the line (Doc ID 2699131.1)

Last updated on AUGUST 13, 2020

Applies to:

Visual Builder - VB - Version 19.4.3 and later
Visual Builder - Version 18.4.5 and later
Information in this document applies to any platform.

Goal

When trying to upload data to a custom business object which has a header and a child object.A form over table layout is created in excel. The remote server returned an error: (412) Precondition Failed error occurs when we try to update header after updating the line.

Below are the steps
1.Configure excel create form over table layout for a business object service with header and child.
2. create a header and line.- header and line are created and etag is returned s part of response
3. Update the line - line is updated and new etag is returned. The last update date of the header object is also updated by this operation
4.Update Header- The GET operation before PATCH operation returns a new etag, but this is ignored and the etag received as part of create is used for PATCH operation.The operation failes with error above.

The update is successful only after downloading the data.

The update should be successful,as any updates to line of any business object in fusion ERP updates the last update date of the headers
 

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.