Implication of Bug 25920841/25913248 - Changes Foreign Key in F4111.JELN

Goal

This document describes the implication of <Bug 25920841> - P4112 IS NOT PROPERLY RECORDING JELN IN F4111 WHEN ISSUING MULTIPLE LINES and <Bug 25913248>: P4112 IS NOT PROPERLY RECORDING JELN IN F4111 WHEN ISSUING MULTIPLE LINES in EnterpriseOne Application Release 9.1 and 9.2.

The application of this Bug will change the way it sets F4111.JELN (Item Ledger. Journal Entry Line Number).

Table of Contents

Supposing that there is a single line of F4111, the JELN gets assigned as below,

P4112 - Inventory Issue
   |--- F4114EditLine
     |--- F4111EditLine
     |--- 1. Get Account on DMAAI 4122
     |--- 1. F0911FSEditLine > Assign JELN 1.0 for F0911
     |--- 2. Get Account on DMAAI 4124
     |--- 2. F0911FSEditLine > Assign JELN 2.0 for F0911
     |--- 3. Assign JELN for F4111 based on actual JELN assigned to F0911
     * Before this bug: F4111.JELN = 1.0, 3.0, 5.0, and so forth (Odd Numbers).
     * After this bug: F4111.JELN = 2.0, 4.0, 6.0, and so on (Even Numbers).

Note:

Solution

Mainly you shall experience two issues below,

DMAAI settings

Co Do Ty Description G/L Cat Description G/L Branch Plant Obj Acct Sub
00200 II Inventory Issue IN30 Manufactured Finished Goods 200 1411
Co Do Ty Description G/L Cat Description G/L Branch Plant Obj Acct Sub
00200 II Inventory Issue IN30 Manufactured Finished Goods 6310

Note that this document assumed a user enter the costing account manually through P4112. However, the outcome described below are same whether you populate account number manually or through master function.


Representation in P4112 (Inventory Issue)

: Transaction was performed before this bug and reviewing data after bug.

Item Number Quantity Extended Amount Account Number
210 -1 -530.1 200.1411
220 -1 -2271.54 200.1411

: User has entered the account number with M30.6310, but P4112 shows its offset inventory account (not cost account). This issue is related with how to get account information from F0911 (General Ledger) using the primary key of F0911 on the foreign key of F4111. Before applying this bug, P4112 adds 1 (e.g, New JELN = Old JELN + 1)

Item Number Quantity Extended Amount Account Number
210 -1 -530.1 M30.6310
220 -1 -2271.54 M30.6310

: There is no manipulation of JELN in P4112 so Account Numbers shown in the Grid is same account number user has entered.


Data Representation from F4111

2nd Item Number F T Doc Co Document Number Do Ty JE Line Number G/L Date G/L Cat Transaction Explanation Trans Ref
210 F 00200 1500003 II 1.0 01/18/15 IN30 Inventory Issue 1000
220 F 00200 1500003 II 3.0 01/18/15 IN30 Inventory Issue 3000

: F4111.JELN is written based on the first line of F0911.JELN

2nd Item Number F T Doc Co Document Number Do Ty JE Line Number G/L Date G/L Cat Transaction Explanation Trans Ref
210 F 00200 1800003 II 2.0 01/18/18 IN30 Inventory Issue 1000
220 F 00200 1800003 II 4.0 01/18/18 IN30 Inventory Issue 3000

: F4111.JELN follows the last F0911.JELN. So P4112 does not need to manipulate JELN to pull cost object for issued inventory.


Data representation from F0911 - No change

: There is no change in writing F0911 with or without this bug.

Doc Co Do Ty Document Number G/L Date JE Line Number Account Number
00200 II 1500003 1/18/2015 1 200.1411
00200 II 1500003 1/18/2015 2 M30.6310
00200 II 1500003 1/18/2015 3 200.1411
00200 II 1500003 1/18/2015 4 M30.6310
Doc Co Do Ty Document Number G/L Date JE Line Number Account Number
00200 II 1800003 1/18/2018 1 200.1411
00200 II 1800003 1/18/2018 2 M30.6310
00200 II 1800003 1/18/2018 3 200.1411
00200 II 1800003 1/18/2018 4 M30.6310


Reversal Inventory Issue when

Before reverse - Representation in P4112 (or, F4111)

Item Number Account Number Quantity UM Extended Amount
210 200.1411 -1 EA -266.14

After reverse (F4111 offset the original line - OK)

Item Number Account Number Quantity UM Extended Amount
210 200.1411 -1 EA -266.14
210 200.1411 1 EA 266.14


Before reverse - representation in P0911 (or, F0911)

Account Number JE Line Number Amount
200.1411 1 -266.14
M30.6310 2 266.14

After reverse - Both debit and credit point inventory account - NOT OK

Account Number JE Line Number Amount
200.1411 1 -266.14
M30.6310 2 266.14
200.1411 3 266.14
200.1411 4 -266.14


Workaround

It is important to set the cutoff date (the date you deployed the ESU containing this bug) in case you are planning to apply the ESU for this bug and document it well not to have the issue described in this document.


Summary

  1. In XT4111Z1, set F4111.JELN = 1.0
  2. In P4112, add new (JELN = F4111.JELN + 1 ) to reads F0911 on F0911.JELN = F4111.JELN (so, 1st. Read F4111.JELN = 1, 2nd. Add 1, 1 + 1 = 2, 3rd, read F0911 on JELN = 2 )


  1. In XT4111Z1, set F4111.JELN = 2.0
  2. In P4112, read F0911 on F0911.JELN = F4111.JELN