E9.2 Form Request Version Blank, what version is executed?

alfredorz

alfredorz

Reputable Poster
Hi folks,

I'm a orchestrator that call to a P4210 form request. Due to a mistake of mine, I'm passing version blank:
{
"P4210_Version": " ",
"OrderNumber_DOCO": "36149216",
"LotNumber_LOTN": "ALFREDO1",
"OrderCompany_KCOO": "00242",
"Location_LOCN": "IN- -",
"OrderType_DCTO": "S1",
"LineNumber_LNID": "1,000"
}

And it return a error for a form request not found:
{
"message": {
"ServiceRequest: SREQ_56_FR_P4210_SHIPPER_Config_Lines": {
"App Stack Form Exception": {
"Expecting Form": "P42232_W42232A",
"Resulting Form": "P4210_W4210E"
},
"JAS Response": {
"fs_P4210_W4210E": {
"title": "Customer Service Inquiry",
"data": {},
"errors": [],
"warnings": []
},
"stackId": 16,
"stateId": 3,
"rid": "c765f93a954a1d77",
"currentApp": "P4210_W4210E",
"timeStamp": "2024-08-27:10.59.01",
"sysErrors": []
}
}
},
"exception": "Exception",
"timeStamp": "2024-08-27T10:59:01.599+0200",
"userDefinedErrorText": "",
"jde__simpleMessage": "SREQ_56_FR_P4210_SHIPPER_Config_Lines failed: App Stack Exception - Expecting Form: P42232_W42232A Resulting Form: P4210_W4210E",
"jde__status": "ERROR",
"jde__startTimestamp": "2024-08-27T10:59:00.684+0200",
"jde__endTimestamp": "2024-08-27T10:59:01.600+0200",
"jde__serverExecutionSeconds": 0.916,
"status": "ERROR"
}

This form it's before accept order, tab 7-Process and option 5. Display Before Accept Prompt.

As workaround until I fix it (I'll remove P4210_Version from B98ORCH param, to keep the form request default version), I've configured ZJDE0001 version to enable this option by default. I've tested in web with P4210 ZJDE0001 and show form and works fine, but orchestrator continue to fail.

So, what version orchestrator execute by default?

Regards.
 
Hi alfredorz
By default ORCH keep the version that you use when you made the Recording, take a look for your SREQ and check the version

1724752159655.png
 
Hi @BetoJDE ,

If I execute the orchestrator without version input parameter, indeed it execute with form version default and it works fine. I supposed, when you pass blank it execute version by default or ZJDE0001, but doesn't works (in web works fine both).
1724753250708.png

Regards.
 
Hi @BetoJDE ,

If I execute the orchestrator without version input parameter, indeed it execute with form version default and it works fine. I supposed, when you pass blank it execute version by default or ZJDE0001, but doesn't works (in web works fine both).
View attachment 20443

Regards.

alfredorz when you pass blank, orch traslate that the same way as you don´t pass the field. If you don't pass the version or send " " orch use GLB06, if you need another version you need to write the specific version or use ZJDE0001 for made the SREQ​

 
Yeah, I understand it, but if I pass GLBL06 works fine, if I pass ZJDE0001 works fine, if I skip the parameter works fine, but if parameter is blank doesn't work.

I call by B98ORCH bsfn, and map P4210_Version name parameter but not mapping any value or variable. I'll remove this parameter in the call for execute version by form extension default.
 
Last edited:
Back
Top