
Hey there,
I haven't touched this code as it was working fine... but is no longer working
If(
LookUp(
'product data',
Sku2 = txt_SKU.Text,
Sku2
),
Set(
var_SKU1,
txt_SKU.Text
) & Set(
varScanner,
true
) & Navigate(
'Stock view',
ScreenTransition.Fade
) & UpdateContext({SearchPopUp: false}) & Reset(txt_SKU),
Notify(
"Not valid SKU. You should be entering the full SKU, the long code above the barcode",
NotificationType.Error
)
)
fixed by replacing the lookup with "If(txt_SKU.Text in 'product data'.Sku2,Notify("YES"),Notify("NO"))"