Asynchronous Business Function Error During Confirm Shipment

Purpose of Document

Note: Before implementing batch Shipment Confirmation, ensure the functionality is working as desired in a test environment.

Asynchronous Business Function Error Appears in Confirm Shipment (P4205)

A single sales order contains 627 lines. If 100 lines are Ship Confirmed (P4205) at a time then no error is displayed. If all 627 lines are Ship Confirmed (P4205) at one time an asynchronous business function error is displayed, quantity in the Item Location (F41021) table is updated but no Cardex entries are created, causing integrity issues.

Sometimes the error is coming from BSFN N4200790 - F42UI05EditLine (F42UI05 Edit Line):

*ERROR* CallObject@1335da45: COSE#1000 Request timeout: timeout after 90000ms host ServerName:6014(52724) SocID:3740 PID:6915 BSFN:F42UI05EditLine user:USERID Env:JPD910
Complete in 90516ms. Business Function: F42UI05EditLine

Understanding Processing

The Item Location table (F41021) will be committed during F42UI05EditLine so that if the same item is entered on two different detail lines, the quantity available is decreased on a row by row basis. This functionality is by design. In the above example, ShipConfirmEndDoc ends in error and it does not go to the event 'Post Commit' event so auto rollback may not take place.

There are two different layers of updating the Item Location (F41021) table during Shipment Confirmation (P4205):

Best Practice

The best practice when processing a high volume of lines through Ship Confirmation is to implement Batch Shipment Confirmation (R42500/R47500) detailed in E1: 42: Ship Confirm Batch Application (R42500) (Doc ID 625613.1).

Reasons to consider using Batch Shipment Confirmation include:

If transaction volume is not high, the following changes should be considered:

[NETWORK QUEUE SETTINGS]
JDENETTimeout=60 (change of this parameter has an adverse effect - database blocking. So consult Oracle before make any change)
[JDENET]
enterpriseServerTimeout=90000 (this is the value which affects your transaction for Asynchronous BSFN(s) get called. Along with above parameter JDENETTimeout you may set 360000 ms). See <Document 1307451.1> - E1: BSFN: How to Debug Asynchronous Business Function Error and Commit Fail Error in EnterpriseOne

[OWWEB]
AsynchBSFNEnabled=true (since this value is ON at once Async BSFN gets called it determines time to handle within max value 720000 ms)
[JDBj-CONNECTION POOL]
connectionTimeout=1800000

Refer to <Document 1307451.1> - E1: BSFN: How to Debug Asynchronous Business Function Error and Commit Fail Error in EnterpriseOne, which guide you how to debug it.

Known Issues in Shipment Confirmation Which May Cause Commit Fail

When a commit fail message is encountered, review the following:

Check JDE.log which presents any error which is determined by kernel and database errors
Capture/Analyze callobject kernel log (namely jdedebug.log) and analyze it which shall contain database error.


To discuss information further with Oracle experts and industry peers, we encourage you to review, join or start a discussion in the JDE1 Distribution Community.

To look at upcoming or archived Advisor Webcasts please see Advisor Webcast Details (Doc ID 548764.1) if your topic is not currently scheduled please suggest it.