
Hi PA Experts,
I'm trying to create a work instruction for workers to assemble a product, there is a certain step I wanted to ensure workers use the required item/tools by scanning the barcode(Item Number) on the item/tools. On the step description, I mentioned (Blue Highlighted) the Item Number required to be used. When it is scanned, the highlighted item will turn back to normal. Scan input(TextInput1) is located below the Drawing Button on the bottom Left. Any possible ways to execute such thing?
The Database for the instruction is extracted from a Sharpoint List.
Hi @ZarulVAT
1)Text property of TextInput1 : First(YourBarcodeControlName.Barcodes).Value //eg. BarcodeReader1, generally EAN-13
2)OnVisible of the Screen: UpdateContext({fillColorValue: RGBA(204, 231, 246, 1)}); //Sky color?
3)Fill property of the highlighted 2 labels : fillColorValue //Shows sky color when the screen first loads.
4)OnScan property of the BarcordControl: UpdateContext({fillColorValue: Color.White}); //When scanned O.K, change the color , OnScan – Actions to perform when a barcode is successfully scanned.