Generation Error in Running P75T004 (GUI/VAT Transaction - 75T)
Purpose of Document
This document is to explain possible issue you may face in running P75T004 (GUI/VAT Transaction - 75T).
--- Symptoms ---
In running P75T004 (GUI/VAT Transaction - 75T) which issues error as below,
Web Client Exception
ERException: Unable to retrieve NER object from serialized object table. If the NER for TER call another NER, we do not support it to be run locally. F0411_CS_P0411 Pot Disalog is Initialized Line Number 7 P0411_W0411A
--- Changes ---
Applied an ESU to fix issue on P75T004 (GUI/VAT Transaction - 75T)
NER N7000341 has to be implemented through Plug & Play methodology
--- Cause ---
Missing object in populating Localization Routine through Plug & Play. Refer to - Localizations - Understanding Plug and Play/Tagging Methodology
--- Solution ---
To fix this issue,
Either apply ESU which contains problematic object (for this example, WithholdTaxCacheTerminate - B74Y0040 which is meant for Italy Localization)
Or populate only Taiwan from F96450 (Enhancement Control Table) through P96450 (Work With Enhancements). For further detail refer to <Document 1060122.1> - Localization Simplification Enhancement and <Document 1323124.1> - E1: ESU: Understanding And Troubleshooting "Enable or Disable Enhancements" UBE R96450 During a Software Update Install
Note:
For prestine environment localization for Taiwan and China are not through Plug & Play methodology
If localization code is populated through Plug & Play methodology NER code in N7000341 - F0411_CS_P0411 (F0411 - CS - Process Localization Requirements - P0411) shall contain code as below,
//
Below two related objects are Client only Business Function because N7000341 is to call P75T004 (and CallObject kernel is not able to call interactive application) so all the objects are to be serialized in JAS
N7000340 - PlugAndPlay_P0411 (Plug & Play - P0411)
For this example, generator fails to generate serialized object for N7000341 owing to missing object which is not related with localization code for specific country
The error message may cause wrong cause determination. So to have valid root cause of error, capture JASDEBUG log and try to analyze it
Related questions: Q1> After applying ESU which contains country specific localization ESU, some application fails to call localization application (for example, P0411 fails to call P75T004). What to check? A2> First of all, check whether the Special Instruction you in a specific ESU have been applied correctly or not. Currently country specific localization code is to be activated through Plug & Play as below (this has to be done before package build so valid NER code can be populated through Package deployment process),
Verify that the specific country code does exist from P96450 - Work With Enhancements (for instance, TAIWAN)
Run R96450|XJDE0001 - Enable or Disable Enhancements
Optionally check the NER (Named Event Rule) of N7000341 and verify that country specific code reside in between and the end tag
Note: The number appears in front of code can be vary. The line number in JASDEBUG will be smaller than numbering appears above because index starts with 0 in JAS
Q2> Do we need to populate ALL the country codes from H96P/ET (Enhancement List)? A2> No. Unless you need to populate code from it, you do not have to. In case you need only localization for Taiwan then you can remove all the UDC codes other than TAIWAN.
Q3> We have populated all the Countries in 'Enhancement Type' column in P96450 - Work With Enhancements but we did not applied some ESUs for the localization for other countries. What are possible problem for this? A3> To execute N7000341 all the object defined in NER has to be serialized. For example, if you have applied ESU for Taiwan localization but you do not have applied ESU which contains object for Italy you may hit error 'WEB CLIENT EXCEPTION' because the BSFN called in routine "Withholding Tax Cache Terminate - Italy" (B74Y0040 - WithholdTaxCacheTerminate) does not exist against F98762 - JDEBLC - Behavior Information (the central object which contains Business Function Information).
Q4> How to resolve issue mentioned in Q3? A4> Either apply ESU which contains the business function B74Y0040 or deactivate localication code which is meant for Italy in N7000341 manually
Q5> How the error looks like? A5> Refer below error from JASDEBUG log,
[JDBJ] SELECT BCJDEVERS,BCMRGMOD,BCMRGOPT,BCFFU1,BCFFU2,BCRDABLOB FROM PY900.F98762PY900FF WHERE ((BCFNNM = "WithholdTaxCacheTerminate" )) [GENERATOR] JavaGen error code = METADATA_NOT_FOUND com.jdedwards.runtime.generator.JavaGenException: No Metadata for spec type BSFN was found using the key : WithholdTaxCacheTerminate [RUNTIME] No Metadata for spec type BSFN was found using the key : WithholdTaxCacheTerminate com.jdedwards.runtime.generator.JavaGenException: No Metadata for spec type BSFN was found using the key : WithholdTaxCacheTerminate [BASE] com.jdedwards.database.base.JDBException: [WEBJITI_ERROR] Demand generation failed for NER-F0411-CS-P0411: null com.jdedwards.database.base.JDBException: [WEBJITI_ERROR] Demand generation failed for NER-F0411-CS-P0411: null [JAS] JDBException caught in NetManager.getSpec(): | An error occured when trying to get the serialized spec object, User Name : JDE, Environment : JPY900, Role : *ALL com.jdedwards.database.base.JDBException: [WEBJITI_ERROR] Demand generation failed for NER-F0411-CS-P0411: null
JDE - [RUNTIME] JASServiceException occured in the ERManager.getERModule() : | Unable to fetch ER, key = F0411_CS_P0411 Error Message: , Error list: : mError: 431 mSubText: mAlphaDescriptionTemplate: JAS_MSG431: Fetch serialized object failed. Please contact your system administrator. mGlossaryTextTemplate: mErrorLevel: 1 mIdItem: -1 mFileName: null mLineNumber: 0
JDE - [RUNTIME] ERException occured while Executing the NER P0411_W0411A_EZGUI004,at ER Line = 7, NER name : F0411_CS_P0411This NER Statement is ignored. com.jdedwards.runtime.base.ERException: Unable to retrieve NER object from serialized object table. If the NER for TER call another NER, we do not support it to be run locally.\nF0411_CS_P0411 [RUNTIME] NER: PlugAndPlay_P0411 | false | D7000340 IN: 1 | SL[62] | 2 | FC[21] | 3 | LI[String] = P0411 | 4 | SL[58] | 5 | LI[String] = W0411A | 6 | LI[String] = VAL | 7 | FC[148] | 8 | FC[105] | 9 | FC[103] | 12 | FC[25] | 13 | FC[4] | 14 | FC[131] | 15 | FC[135] | 18 | FC[265] | 19 | FC[155] | 20 | FC[157] | 21 | FC[5] | 22 | FC[6] | 23 | FC[27] | 29 | FC[482] | 30 | FC[306] | 31 | FC[137] [RUNTIME] ERException occured while Executing the NER P0411_W0411A_EZGUI004,at ER Line = 199, NER name : PlugAndPlay_P0411This NER Statement is ignored. com.jdedwards.runtime.base.ERException: Unable to retrieve NER object from serialized object table. If the NER for TER call another NER, we do not support it to be run locally.\nF0411_CS_P0411 [RUNTIME] P0411_W0411A_EZGUI004, Event Ends:Post Dialog is Initialized
Note: For this example, root cause is missing specification on BSFN B74Y0040 but error points to N7000341
Q6> What is good way to determine this type of error? A6> Make it sure that all the special instruction is performed properly and JASDEBUG does not contain error like above