tulip / ppe-logistics

Issue Tracking for PPELogistics.org
2 stars 1 forks source link

PPE2PHL Angela Court wcid #206

Closed jackkrooss closed 4 years ago

jackkrooss commented 4 years ago

PPE2PHL Customer Manager still has the hieroglyph institutions: (edited)

image

Use above info if you need to get into PPE2PHL: PPE2PHL Support: PPE2PHL Login ID: 9510000102 PW: 7822450092 Name: PPEL Support Supplier: PPE2PHL Supplier Manager PW: sourcePPE

Detective work.... Looking at PPE2PHL here is a screen from Create/Edit Customers which I got by using the dropdown to select Angela Court, and then the other dropdown to select Karin Purcell.

image

If I then click on Customers here is the screen which lists Angela Court/Karin Purcell:

image

Now page forward and we have Karen Purcell and hieroglyph:

image

And page back and no Angela Court:

image

...and no longer in alphabetical order. I think the paging is messed up somehow, but not destructive.

When I leave the Customer manager screen and go back in I get Angela back:

image

Note also that all messed up ones are status REVIEW

contextref commented 4 years ago

I took the query directly from the connector function and ran it myself, and not seeing the same order of records, nor am I seeing Angela Court. This is puzzling, as I am not sure how this gets transformed later on. Either the query is not run with the same inputs or I am missing some logic elsewhere in the step. I will continue debugging tonight.

jackkrooss commented 4 years ago

Correction, all the messed up ones are not status REVIEW. Seems unrelated to status

jackkrooss commented 4 years ago

Replicated issue with Kirby PPE Dreamworld in our dev env. Added a bunch of customers and they all listed fine on the first screen of the Customer Manager. Pressing the ">" to go to the second screen did nothing. But when I got the first screen full -- even before it ran over to screen 2 -- and pressed ">" I got a blank screen 2. Then going back by pressing "<" I got this: image

jackkrooss commented 4 years ago

Pressed Edit/Creat and then back to Customers and we are back to real Institution names: image

jackkrooss commented 4 years ago

This is repeatable. Reenter the screen, all is OK, use ">" and then "<" it is messed up. I am not going to add any more customers just leave this for Ilya to look at.

jackkrooss commented 4 years ago

Kirby: Phone: 2643383279 Password "supplier"

ianslai commented 4 years ago

When the page is initially loaded, it's using the CSR - Customers 5 w/ org (wcid) connector, which uses the wcname from workcenters that is associated with the customer's orders (in the demands table) to display the institution.

But when you use the > and < nagivation buttons, it uses the CSR - Customers 5 w/ org connector, which uses the raw value of the hospital column for the customer to display the institution.

I imagine that we should just fix the navigation buttons to use the same connector, though I don't know why we're getting institution information from orders.

jackkrooss commented 4 years ago

I am having some computer issues. Should be back online soon.

On Wed, Jul 15, 2020, 10:08 AM ianslai notifications@github.com wrote:

When the page is initially loaded, it's using the CSR - Customers 5 w/ org (wcid) connector, which uses the wcname from workcenters that is associated with the customer's orders (in the demands table) to display the institution.

But when you use the > and < nagivation buttons, it uses the CSR - Customers 5 w/ org connector, which uses the raw value of the hospital column for the customer to display the institution.

I imagine that we should just fix the navigation buttons to use the same connector, though I don't know why we're getting institution information from orders.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/tulip/ppe-logistics/issues/206#issuecomment-658888347, or unsubscribe https://github.com/notifications/unsubscribe-auth/APJASPOT2CLI2UIU6YZADU3R3XPCTANCNFSM4OYUJ4GQ .