Вы находитесь на странице: 1из 6

User Story # 228213

Description :
Problem

When attempting to file a '341 Continued To Report' using the one click filing screen and after
selecting the corresponding 'edit' button in the 'Preferences' column, the 'Location' drop down menu
is missing the location the client needs to enter.

The location they need is:


109 S. Highland, Room 102, Jackson, TN 38301

Steps to Reproduce

Log in to Michael Tabor's data.


Go to the one-click-filing screen (reports - batches - one click filing)
Select the 'edit' button in the 'Preferences' column for the '341 Continued To Report'
On the next screen click the down arrow for the drop-down list for 'Location'
Notice, the location:
109 S. Highland, Room 102, Jackson, TN 38301
is not a choice in the list.

Research

Silvia and I were unable to figure out how to add a new location to this list, so we think this must have
to be done on the back end.

Action

Please add the location

109 S. Highland, Room 102, Jackson, TN 38301

to the '341 Continued To Report' location list.

Acceptance criteria:
Update the TNWB district OCF locations list to the following from the court web site:

<SELECT name=clocation_1 id=clocation_1>


<OPTION></OPTION>
<OPTION VALUE='111 S. Highland, Room 107'>111 S. Highland, Room 107</OPTION>
<OPTION VALUE='1849 Hwy 45 Bypass'>1849 Hwy 45 Bypass</OPTION>
<OPTION VALUE='202 W Lafayette'>202 W Lafayette</OPTION>
<OPTION VALUE='2267 N Highland, Jackson'>2267 N Highland, Jackson</OPTION>
<OPTION VALUE='400 S Highland'>400 S Highland</OPTION>
<OPTION VALUE='6th Floor Judge&#039;s Conference Room, Memphis , TN'>6th Floor Judge&#039;s
Conference Room, Memphis , TN</OPTION>
<OPTION VALUE='ADR Conference Room, Room 356'>ADR Conference Room, Room 356</OPTION>
<OPTION VALUE='Conference Room 327, Jackson Office'>Conference Room 327, Jackson
Office</OPTION>
<OPTION VALUE='Ed Jones, Room 102, Jackson' selected>Ed Jones, Room 102, Jackson</OPTION>
<OPTION VALUE='Ed Jones, Room 210, Jackson'>Ed Jones, Room 210, Jackson</OPTION>
<OPTION VALUE='Ed Jones, Room 218, Jackson'>Ed Jones, Room 218, Jackson</OPTION>
<OPTION VALUE='Holiday Inn, 541 Carriage House Drive, Jackson, Tennessee 38305-2559'>Holiday
Inn, 541 Carriage House Drive, Jackson, Tennessee 38305-2559</OPTION>
<OPTION VALUE='Jackson Divisional Office'>Jackson Divisional Office</OPTION>
<OPTION VALUE='Memphis Divisional Office'>Memphis Divisional Office</OPTION>
<OPTION VALUE='Other District'>Other District</OPTION>
<OPTION VALUE='Room 101 U.S. Trustee&#039;s Office'>Room 101 U.S. Trustee&#039;s
Office</OPTION>
<OPTION VALUE='Room 175, Memphis, TN'>Room 175, Memphis, TN</OPTION>
<OPTION VALUE='Room 206, Jackson, TN'>Room 206, Jackson, TN</OPTION>
<OPTION VALUE='Room 324 Chambers, Jackson, TN'>Room 324 Chambers, Jackson, TN</OPTION>
<OPTION VALUE='Room 335, Jackson, TN'>Room 335, Jackson, TN</OPTION>
<OPTION VALUE='Room 342, Jackson, TN'>Room 342, Jackson, TN</OPTION>
<OPTION VALUE='Room 400, Memphis, TN'>Room 400, Memphis, TN</OPTION>
<OPTION VALUE='Room 600, Memphis, TN'>Room 600, Memphis, TN</OPTION>
<OPTION VALUE='Room 630, Memphis, TN'>Room 630, Memphis, TN</OPTION>
<OPTION VALUE='Room 645, Memphis, TN'>Room 645, Memphis, TN</OPTION>
<OPTION VALUE='Room 680, Memphis, TN'>Room 680, Memphis, TN</OPTION>
<OPTION VALUE='Room 945, Memphis, TN'>Room 945, Memphis, TN</OPTION>
</SELECT>

Resolution

Location is data driven for TCMS.Net, but it resides in class library files for TCMS. So we have to do hardcode for
TCMS.

For TCMS.Net we have to insert the missing locations in backend. For TCMS we have to update the missing location
in VCX file of that particular district. For this user story the following is the VCX file

To identify the VCX file , we have OCF Manager tool. Following is the code need to execute in VFP 8 command
window to open OCF Manager connected with QA database

CLOSE DATABASES ALL


CLOSE ALL
CLEAR ALL
RELEASE ALL
CD "C:\DEV\ECFX\ECFENGINE"
SET PATH TO "PROGS;LIBS;UNITTESTS;ECFMANAGER;OCFMANAGER;DATA"
SET ASSERTS ON
SET EXCLUSIVE OFF
SET SAFETY OFF
SET STRICTDATE TO 0
_SETDB("QA")
DO FORM OCFMANAGER2

After clicking on “modify interface” as shown in above screenshot. It will open the TNWB District VCX file in edit
mode.

In combobox (cboLocation) INIT() method add the missing locations. To add the missing location like below
To add the missing locations from the User story acceptance criteria without tags. First we have to copy the text
between <select></select> into clipboard.
here are some buttons on the OCF Manager 2 form that will help with updating the code.
For this class, the list of locations is stored into a string and then parsed into the drop down object.
The "Location to CRLF" button will reformat the HTML to just the list of locations without the tags.

Click on “Location to CRLF” this will reformate the HTML to just the list of locations without the tags in
clipboard itself.
Paste in combo box init() method like below

The “Location to QA” button will update the correct place for TNET in the ECF QA database, but the Location to
Prod button no longer works

To solve this issue, we have default scripts to execute.

Execute the below select to get the location list in QA


select z.datalist from dbo.oneclickfilingdistrictdatalist z with (nolock)
INNER JOIN dbo.OneClickFilingParameter o with (nolock)
ON z.OneClickFilingParameterID = o.OneClickFilingParameterID AND o.Name = 'location'
where districtcode = ‘TNWB’

copy the result and paste it in @datalist like below

Declare @DistrictCode char(10) = 'TNWB'


DECLARE @DataList varchar(max) = '<select><option></option><option>111 S. Highland, Room
107</option><option>1849 Hwy 45 Bypass</option><option>202 W
Lafayette</option><option>2267 N Highland, Jackson</option><option>400 S
Highland</option><option>6th Floor Judge&#039;s Conference Room, Memphis ,
TN</option><option>ADR Conference Room, Room 356</option><option>Conference Room 327,
Jackson Office</option><option>Ed Jones, Room 102, Jackson</option><option>Ed Jones, Room
210, Jackson</option><option>Ed Jones, Room 218, Jackson</option><option>Holiday Inn, 541
Carriage House Drive, Jackson, Tennessee 38305-2559</option><option>Jackson Divisional
Office</option><option>Memphis Divisional Office</option><option>Other
District</option><option>Room 101 U.S. Trustee&#039;s Office</option><option>Room 175,
Memphis, TN</option><option>Room 206, Jackson, TN</option><option>Room 324 Chambers,
Jackson, TN</option><option>Room 335, Jackson, TN</option><option>Room 342, Jackson,
TN</option><option>Room 400, Memphis, TN</option><option>Room 600, Memphis,
TN</option><option>Room 630, Memphis, TN</option><option>Room 645, Memphis,
TN</option><option>Room 680, Memphis, TN</option><option>Room 945, Memphis,
TN</option></select>'
exec dbo.UpdateOCFDataList null, @DataList, @DistrictCode, 'location'

You will have to create a script(above script) to update the location list in the database and a DBA will have to run it
on the ECF Production database in order to update the list for TCMS.Net, and to update production for TCMS you
would have to make the change to the class library for the updated list and then check it into git and then do a ECF
core foxpro "build" to deploy the class library changes.

Ready script example

US # 228213.sql

Вам также может понравиться