Choice database file
-
- Experienced User
- Posts: 170
- Joined: Mon Jul 19, 2010 2:40 pm
- First Name: Jorge
- Last Name: Cabrera
- Company Name: Lennar Corp
- Phone: 305-229-6400
- Contact:
Choice database file
I have two screens with a choices database file.
Both have the same choice database file, the same choice options field, and choices selection criteria.
One of them works fine the other does not show the window with the results.
Any ideas?
Both have the same choice database file, the same choice options field, and choices selection criteria.
One of them works fine the other does not show the window with the results.
Any ideas?
- Attachments
-
- Genie issue.docx
- (53.42 KiB) Downloaded 337 times
-
- Experienced User
- Posts: 2711
- Joined: Wed Aug 01, 2012 8:58 am
- First Name: Scott
- Last Name: Klement
- Company Name: Profound Logic
- City: Milwaukee
- State / Province: Wisconsin
Re: Choice database file
When you use the database-driven autocomplete feature on a textbox, it will build and run an SQL statement.
To see the SQL statement that it has generated:
To see the SQL statement that it has generated:
- Navigate to the screen where the autocomplete is failing.
- With that screen still open, use another session to view the contents of the PUISSNVP file (this is in the library where you installed Profound UI)
- Look for a record (it may be near the bottom) containing the SQL statement. If many people are running database-driven widgets, there may be many statements in the file, so you'll need to look for the right one.
- Sometimes customers will copy/paste this statement into their "Run SQL Scripts" window or similar to test them out.
- Navigate to the screen where autocomplete is failing
- Open the browser's developer tools, and switch to the network tab. Depending on your browser, you may need to tell it to begin capturing network traffic.
- Type something that should activate the auto-complete function in your textbox
- In the network tab, you should see a call to a URL for PUI0009102.PGM
- View the 'response' from that program to see the error received
-
- Experienced User
- Posts: 170
- Joined: Mon Jul 19, 2010 2:40 pm
- First Name: Jorge
- Last Name: Cabrera
- Company Name: Lennar Corp
- Phone: 305-229-6400
- Contact:
Re: Choice database file
This what is in the file. See attachment.
But the field should be I_3_16 instead of I_4_16.
After an implementation it looks like the fields went with wrong sequences. I tried to fixed and enter all the info for that field the choice data base but it is pulling the next field in the screen instead as you can see in the attachment.
What would be the best way to fix this mess?
But the field should be I_3_16 instead of I_4_16.
After an implementation it looks like the fields went with wrong sequences. I tried to fixed and enter all the info for that field the choice data base but it is pulling the next field in the screen instead as you can see in the attachment.
What would be the best way to fix this mess?
- Attachments
-
- genie issue2.docx
- (38.29 KiB) Downloaded 275 times
-
- Experienced User
- Posts: 2711
- Joined: Wed Aug 01, 2012 8:58 am
- First Name: Scott
- Last Name: Klement
- Company Name: Profound Logic
- City: Milwaukee
- State / Province: Wisconsin
Re: Choice database file
Sorry, I don't understand what you mean by "wrong sequences".
Are you saying that it is attached to the wrong field on the screen? That's controlled by which field you click on in the Genie designer when you adjust the properties.
Are you getting an error? I explained how to view the error message, and you don't seem to have told me what the error message said.
Are you saying that it is attached to the wrong field on the screen? That's controlled by which field you click on in the Genie designer when you adjust the properties.
Are you getting an error? I explained how to view the error message, and you don't seem to have told me what the error message said.
-
- Experienced User
- Posts: 170
- Joined: Mon Jul 19, 2010 2:40 pm
- First Name: Jorge
- Last Name: Cabrera
- Company Name: Lennar Corp
- Phone: 305-229-6400
- Contact:
Re: Choice database file
No, it is attached to the right field I_3_16 but in my attachment genie issue2 you can see I_4_16.
After we applied ORACLE JD Edwards 9.4 I do not know why the properties of fields moved for example:
The field I_2_16 had a select box with values "I" for inquire "A" Add and so on. That properties moved to the field I_3_16 which is the one in question.
The properties of the field I_3_16 moved to field I_4_16. I do not why. That is what I meant as wrong sequence.
I fixed and attached the right properties to each field, but when I check the file you suggested PUISSNVP after invoking the choice data base in the field I_3_16 it is showing field I_4_16 and the SQL with a ?.
Thank you for your help and interest on this and your help will be appreciated.
After we applied ORACLE JD Edwards 9.4 I do not know why the properties of fields moved for example:
The field I_2_16 had a select box with values "I" for inquire "A" Add and so on. That properties moved to the field I_3_16 which is the one in question.
The properties of the field I_3_16 moved to field I_4_16. I do not why. That is what I meant as wrong sequence.
I fixed and attached the right properties to each field, but when I check the file you suggested PUISSNVP after invoking the choice data base in the field I_3_16 it is showing field I_4_16 and the SQL with a ?.
Thank you for your help and interest on this and your help will be appreciated.
-
- Experienced User
- Posts: 170
- Joined: Mon Jul 19, 2010 2:40 pm
- First Name: Jorge
- Last Name: Cabrera
- Company Name: Lennar Corp
- Phone: 305-229-6400
- Contact:
Re: Choice database file
Sorry I did the test again and now is pointing to the right field. The other suggestion honestly I do not where to go to open the browser's development tool.
File Format Mode
DATA BASE UTILITY (DBU)
File . . . : PUISSNVP Member . . : PUISSNVP Record Length . : 32166
Library . : PROFOUNDUI Format . . : PUISSNVR File Access . . : Keyed
Page# . . . : 1 of 32 Mode . . . : Display Record Number . : 3
Control . . . Text . . . :
Name genie.I_3_16
Value SELECT DISTINCT MCMCU, MCDL01 FROM F0006 WHERE UPPER
(MCMCU) LIKE ? AND ((MCSTYL = 'DC' )) ORDER BY MCMCU
More...
F1=Help F2=ON/OFF F=keys F3=Exit F4=List fields
F5=Refresh F6=Set key F10=Action F24=More keys
File Format Mode
DATA BASE UTILITY (DBU)
File . . . : PUISSNVP Member . . : PUISSNVP Record Length . : 32166
Library . : PROFOUNDUI Format . . : PUISSNVR File Access . . : Keyed
Page# . . . : 1 of 32 Mode . . . : Display Record Number . : 3
Control . . . Text . . . :
Name genie.I_3_16
Value SELECT DISTINCT MCMCU, MCDL01 FROM F0006 WHERE UPPER
(MCMCU) LIKE ? AND ((MCSTYL = 'DC' )) ORDER BY MCMCU
More...
F1=Help F2=ON/OFF F=keys F3=Exit F4=List fields
F5=Refresh F6=Set key F10=Action F24=More keys
-
- Experienced User
- Posts: 2711
- Joined: Wed Aug 01, 2012 8:58 am
- First Name: Scott
- Last Name: Klement
- Company Name: Profound Logic
- City: Milwaukee
- State / Province: Wisconsin
Re: Choice database file
which browser do you use?
-
- Experienced User
- Posts: 170
- Joined: Mon Jul 19, 2010 2:40 pm
- First Name: Jorge
- Last Name: Cabrera
- Company Name: Lennar Corp
- Phone: 305-229-6400
- Contact:
Re: Choice database file
Internet Explorer 11
I tested in Chrome and in Microsoft Edge without results.
But in the other menu option runs OK.
I tested in Chrome and in Microsoft Edge without results.
But in the other menu option runs OK.
-
- Experienced User
- Posts: 170
- Joined: Mon Jul 19, 2010 2:40 pm
- First Name: Jorge
- Last Name: Cabrera
- Company Name: Lennar Corp
- Phone: 305-229-6400
- Contact:
Re: Choice database file
I found the following error in the I Series instance:
Message ID . . . . . . : SQ99999 Severity . . . . . . . : 30
Message type . . . . . : Diagnostic
Date sent . . . . . . : 04/24/21 Time sent . . . . . . : 07:24:36
Message . . . . : Error occurred in SQL Call Level Interface
Cause . . . . . : A procedure call encountered an error. The error code is
9. Error codes are:
3 -- Program type out of range.
4 -- SQL data type out of range.
9 -- Argument value not valid. < ----------------
Value SELECT DISTINCT MCMCU, MCDL01 FROM F0006 WHERE UPPER
(MCMCU) LIKE ? AND ((MCSTYL = 'DC' )) ORDER BY MCMCU
Looks like the error is the "?". Is that a substitution parameter?
Why is not replacing it?
Message ID . . . . . . : SQ99999 Severity . . . . . . . : 30
Message type . . . . . : Diagnostic
Date sent . . . . . . : 04/24/21 Time sent . . . . . . : 07:24:36
Message . . . . : Error occurred in SQL Call Level Interface
Cause . . . . . : A procedure call encountered an error. The error code is
9. Error codes are:
3 -- Program type out of range.
4 -- SQL data type out of range.
9 -- Argument value not valid. < ----------------
Value SELECT DISTINCT MCMCU, MCDL01 FROM F0006 WHERE UPPER
(MCMCU) LIKE ? AND ((MCSTYL = 'DC' )) ORDER BY MCMCU
Looks like the error is the "?". Is that a substitution parameter?
Why is not replacing it?
-
- Experienced User
- Posts: 2711
- Joined: Wed Aug 01, 2012 8:58 am
- First Name: Scott
- Last Name: Klement
- Company Name: Profound Logic
- City: Milwaukee
- State / Province: Wisconsin
Re: Choice database file
I wanted to tell you how to look at the network debugging information, and you said you didn't know how to do that. So, I asked for the web browser so that I could give you the steps for your browser. But, you listed 3 browsers. :-) I am not at a Windows computer right now, so I'll tell you how to use Chrome since I can't look into Internet Explorer (which you should consider retiring... noone uses that anymore, even Microsoft is telling everyone to stop) or Edge.
In Chrome, you have a menu in the upper-right. On Mac, it looks like 3 dots. On other computers, it may look a little different -- but its Chrome's primary menu, so I'm sure you'll find it. Open that menu, it shows all of Chrome's options, one says "More tools". Under "More tools, you'll find "Developer tools".
On that menu you'll find tabs for "Elements", "Console", "Sources", "Network" and more. "Network" is the one you need for this. I don't remember if you have to enable anything or not to start recording network events, but it should tell you on the screen. If it needs to be enabled, enable it. Then, type into the text box and it'll create a request (maybe multiple requests).
You need to find the request to PUI0009102, click on it, and you will have tabs related to that particular network request. Beneath "Headers" there's a section titled "query string parameters" that will show you what was sent to the IBM i, and a tab called "Response" that shows what is received in response.
Perhaps that will provide some clues as to what is going on.
In Chrome, you have a menu in the upper-right. On Mac, it looks like 3 dots. On other computers, it may look a little different -- but its Chrome's primary menu, so I'm sure you'll find it. Open that menu, it shows all of Chrome's options, one says "More tools". Under "More tools, you'll find "Developer tools".
On that menu you'll find tabs for "Elements", "Console", "Sources", "Network" and more. "Network" is the one you need for this. I don't remember if you have to enable anything or not to start recording network events, but it should tell you on the screen. If it needs to be enabled, enable it. Then, type into the text box and it'll create a request (maybe multiple requests).
You need to find the request to PUI0009102, click on it, and you will have tabs related to that particular network request. Beneath "Headers" there's a section titled "query string parameters" that will show you what was sent to the IBM i, and a tab called "Response" that shows what is received in response.
Perhaps that will provide some clues as to what is going on.
Who is online
Users browsing this forum: No registered users and 2 guests