Hi All,
I am creating an app to scan package barcodes and choose a tenant to deliver the packages to.
1) I choose a tenant, then I scan, scan,scan into a collection. on submit, I patch() the collection into my SPO list. Everything is working perfectly (when I don't use a USPS barcode)...
2) I go to the deliver package screen where I choose a tenant, scan the barcode, and change the status to delivered to Tenant.
( I haven't figured out how to get them all into a collection for a mass update of "delivery status", that's for another post 🙂 unless...)
For all barcodes, UPS, FedEx, candy wrappers... all work great.
If I scan a USPS barcode, it seems to check in with no issue, but the retrieval is not working.
I attached screenshot of my errors I am getting.
When I first scan a USPS I get an 8 digit barcodescanner1.value. Looks good to me!
When I look at the item in the APP I see a bar of about 30 digits again looks good to me 🙂 figured the first 8 is a display issue.
I send an alert to the tenant using Outlook.sendemail in my Patch(), and the alert has the same 30 digit bar again all seems fine!
I go to deliver the package, I choose the tenant (I have a checker to make sure the tenant is correct and the Bar exists).
I scan the bar and I get "an error occurred on the server" (see attachment)
in the SPO list I see there is a square between the first 8 I get when I scan in the first step above and the rest of the 30 digits (see attachment).
has anyone had this issue?
Does anyone know how to get around this?
It seems like the square is the cause of my retrieval issue..
Any insight to this would be greatly appreciated.
Otherwise I will have to tell my mailroom not to accept packages from USPS any longer 🙂
TIA,
Joe