The purpose of this document is to list up possible error you can face in running R47071 (EDI Receiving Advice Edit/Create - Purchasing). This document gives you some case study but this does not encompass all possible errors in performing Purchase Order Receipt routine.
It is important to understand below,
: There are two different levels of errors one is issued by system function and the other one is issued by business function.
Error | Description | Issued by | Possible Cause | How to Resolve error |
0965 | Order on Hold CAUSE . . . . The order/line you are trying to select is on hold. RESOLUTION. . Retry the command again when not on hold. |
Set UBE Error | F4301.HOLD for associated purchase order is not Blank | Release held order and try it again. |
143J | Item number not on purchase order CAUSE . . . . The item number does not exist on the referenced purchase order. RESOLUTION. . The item number in the EDI record must match the corresponding field on the purchase order. |
Set UBE Error | Both F47072.LNID and F47072.LITM are specified but the F47072.LITM <> F4311.LITM for associated PO | Either do not specify F47072.LITM or set same item number for refrenced line. |
143Q | LineItemStatusCodeBlank CAUSE . . . . LineItemStatusCode is blank. RESOLUTION. . Enter a Valid LineItemStatus Code. |
Set UBE Error | F47072.LSTS is not specified | Specify L47072.LSTS. This column value functions like MATC in PO receipt through P4312. Refer LSTS below, |
4723 | Quantity Restriction Exceeded for Item CAUSE . . . . This item contains a quantity restriction for the Serial Number. The quantity cannot exceed one (1) primary unit of measure. This quantity restriction is being enforced due to the LSN process type (SRCE) in the Item Branch Master. RESOLUTION. . If this serial number already exists with a quantity, then you may not add any more quantity to this serial number. If this serial number does not exist or exists with no quantity, then you may add a quantity of one primary unit of measure. If this item should not be serial number processed, then you can change the LSN process type (SRCE) in the Item Branch Master. **NOTE: You will receive this error if you are attempting to do a transfer (From: Item and Lot matches To: Item and Lot) for a serial number item in the Reclassifications program. You must use the Transfers program (P4113) for serial number transfers. |
Set UBE Error | F4101.SRCE is 5, 6, 7 and F47072.UREC is 1 or -1 Or, F4101.SRCE = 4 and F47072.LOTN is not blank and F47072.UREC is 1 or -1. |
Refer SRCE below, |
43A10 | Action invalid CAUSE: The line being received has no unit or amount to receive. RESOLUTION: Receive a line which has units or amount open which can be received. |
Set UBE Error | Either F4311.UOPN or AOPN is zero. | This routine is same with P4312 which does not allow you to perform PO receipt. So you do not have anything to receive. This is generic error in running R47071. Meaning that you will hit this error in work center so long as it fails any validation. |
861E | Purchase Order Line Closed CAUSE .... The purchase order line is closed and can not be received via this Transaction RESOLUTION.. The transaction must be processed against an open Purchase Order Line |
Set UBE Error | When F4311.NXTR = '999' | Same with above. Purchase Order is closed. |
Note that this document shall not cover coding level error because the purpose of this document is to guide how to debug in hitting a certain error. Some of possible error can be found as below,
Code | Description |
. | |
1 | Receive Purchase Order Line |
4 | Receive Into Multiple Location |
5 | Continuous Over Receipt |
7 | Receive and Close Purchase Ord |
9 | Cancel Purchase Order Line |
Note that most of error and work center message may not give you exact resolution. So it is important for you to analyze UBE log (refer to <Document 1542863.1> - E1: How to Turn on Logging for UBE submitted on Enterprise server from fat/web client In EnterpriseOne ).
Error | Description | Issued by | Possible Cause | How to Resolve error |
0949 | Currency Exchange Rate Not Found CAUSE . . . . A valid rate for this currency code could not be found in the Currency Exchange Rates file (F0015), and no manual rate was entered. RESOLUTION. . Add the exchange rate for the currency code in the Currency Exchange Rate file (F0015), or if the screen has an Exchange Rate field, you may enter an Override Exchange Rate manually. |
GetExchRate (B0000033, F0015 Get Exchange Rate) | The cause of this error is coming when it gets based currency and transaction currency. Commonly it is caused by missing value from F47072.AN8. | Specify value F47072.AN8 based on F4311.AN8 for matching line. Refer case study section below, |
3143 | File can not be accessed. CAUSE . . . . ERROR: File can not be accessed. Solution. . . Change IBM security or authority using the IBM EDTOBJAUT command. This file can not be accessed with the current IBM authority for the User executing this request. |
GetReleasePODetailInformation (B4300240, F4311 Get Item, Account, Subledger) | The error is coming when it fails to get Purchase Order detail file owing to missing primary key for the same. Commonly it is related with F47072.SFXO | Set F47072.SFXO = F4311.SFXO |
4150 | Invalid Line Type CAUSE . . . . The line type entered does not exist in the Line Type Constants File (F40205). RESOLUTION. . Enter a valid line type or press F1 for Help. |
GetLineTypeConstants (B4000260, F40205 Get Line Type Constants) | F40205 does not have Blank Line Type | Specify F47072.LNTY because you shall not have blank line type from F40205. |
0003 | Blanks Invalid CAUSE . . . . The data field being processed does not allow blanks or zeros to be entered. RESOLUTION. . Enter a non-blank or non-zero value. |
Multiple business functions | Commonly this is caused by other error superceeds this error. This is because some of routine may not stop R47071 from processing though it hits a certain error. | Try to fix/correct error in sequence. |
Note that this document shall not cover coding level error because the purpose of this document is to guide how to debug in hitting a certain error. Some of possible error can be found as below,
In running R47071 with below data, user are getting work center error message as below,
Order Co (KCOO) | Order Number (DOCO) | Or Ty (DCTO) | Ord Suf (SFXO) | Address Number (AN8) |
00001 | 9999 | OP | 0 | 4242 |
Order Co (KCOO) | Order Number (DOCO) | Or Ty (DCTO) | Ord Suf (SFXO) | Line Number (LNID) | Address Number (AN8) | Ln Ty (LNTY) |
00001 | 9999 | OP | 0 | 1.000 | 0 |
Values in table F01131M (JDEM Multi Level Message)
Parent Serial Number (PSRK) | Serial Number (SERK) | Brief Message (MSGP) | Tickler Date (DTI) | Level (LV) | Address No (AN8) | Parent Address (PA8) | Template Value (TSV) | Template ID (TMPI) | Form ID (FRMI) | Application ID (EAP) | Version (VERS) | Function Name (FCTNM) | Line Number (LNBR) | Form Name (FMNM) | Parent Key Ser No (PPSRK) |
4233426 | 4233427 | 1/15/2016 | 3 | 59723 | 59723 | 1 | LM0020 | 0 | 999999 | ||||||
4233427 | 4233428 | Error: Currency Exchange Rate Not Found | 1/15/2016 | 4 | 59723 | 59723 | 0949 | 0 | GetExchRate | 163 | 999999 | ||||
4233427 | 4233429 | Error: File can not be accessed. | 1/15/2016 | 4 | 59723 | 59723 | 3143 | 0 | GetReleasePODetailInformation | 109 | 999999 | ||||
4233427 | 4233430 | Error: Invalid Line Type | 1/15/2016 | 4 | 59723 | 59723 | 4150 | 0 | GetLineTypeConstants | 576 | 999999 | ||||
4233427 | 4233431 | Error: Blanks Invalid | 1/15/2016 | 4 | 59723 | 59723 | 0003 | 0 | GetItemUoMConversionFactor | 647 | 999999 | ||||
4233427 | 4233432 | Error: Action invalid | 1/15/2016 | 4 | 59723 | 59723 | 43A10 | 0 | Set UBE Error | 478 | 999999 | ||||
4233425 | 4233426 | 1/15/2016 | 2 | 59723 | 59723 | 1 | LM0019 | 0 | 999999 |
Descriptive message in work center
Subject : Error: Currency Exchange Rate Not Found
CAUSE . . . . A valid rate for this currency code could not be found in the
Currency Exchange Rates file (F0015), and no manual rate was
entered.
RESOLUTION. . Add the exchange rate for the currency code in the Currency
Exchange Rate file (F0015), or if the screen has an Exchange
Rate field, you may enter an Override Exchange Rate manually.
Subject : Error: File can not be accessed.
CAUSE . . . . ERROR: File can not be accessed.
Solution. . . Change IBM security or authority using the IBM EDTOBJAUT command.
This file can not be accessed with the current IBM authority
for the User executing this request.
Subject : Error: Invalid Line Type
CAUSE . . . . The line type entered does not exist in the Line Type Constants
File (F40205).
RESOLUTION. . Enter a valid line type or press F1 for Help.
Subject : Error: Blanks Invalid
CAUSE . . . . The data field being processed does not allow blanks or zeros
to be entered.
RESOLUTION. . Enter a non-blank or non-zero value.
Subject : Error: Action invalid
CAUSE: The line being received has no unit or amount to receive.
RESOLUTION: Receive a line which has units or amount open which can be received.
1. Run Performance Workbench with key words like (Edit Debug String in PW.exe)
INSERT INTO CRPDTA.F01131M
JDEERR
CRPDTA.F4
: which returns any string contains above key words into <R47071_VersionName_JobNumber_PDF_CALLSTACK5.txt>
2. Focus on error,
1. ENTER: GetExchRate
ERROR INFO JDEERR - ID= 8, Error= 0949 - b0000033.c, Line= 163
1. EXIT: for GetExchRate=2
3. Go to jdedebug.log to determine the cause of error,
3. Event rule of R47071
4. UBE log
So this error can be resolved by setting F47072.AN8 = F4311.AN8 or from given data F47072.AN8 = F47071.AN8
1. Run Performance Workbench with key words like (Edit Debug String in PW.exe)
INSERT INTO CRPDTA.F01131M
JDEERR
CRPDTA.F4
: which returns any string contains above key words into <R47071_VersionName_JobNumber_PDF_CALLSTACK5.txt>
2. Focus on error,
1. ENTER: GetReleasePODetailInformation
ERROR INFO JDEERR - ID= 0, Error= 3143 - b4300240.c, Line= 109
1. EXIT: for GetReleasePODetailInformation=2 *** Return value 2 indicates that this function returns ER_ERROR. Refer <Document 1179493.1> - E1: BSFN: Call Object Kernel Errors Clarification - jdeCallObject API and Error message COB0000* ***
: You can get error ID as below,
1. Go to P92002|W92002F - Error Messages [Work With Glossary Items]
2. Search for Error ID by entering Error Description as written in Work Center Message. For instance, "File can not be accessed."
3. Press Find button, which shall return GC Data Item '3143'
3. (Optional) Check error routine through business function referened,
4. Check the event rule to determine how input parameter idPointerToF4311DS is assigned
5. UBE log with parameters,
So to fix error, populate F47072.SFXO
Note that the actual cause of error can be vary. Rather information below is to guide you how to debug in your hitting error.