alert

Display a simple string in a popup window

 

String=window.alert(Any PromptText)

 

The Argument will be converted to String automatically

It return always Booelean True

 

window.alert("Hello World");

 

You can execute without prefix "window)

alert("Hello World");

 

Working with translation: Use translation String function

alert(
  ("Inventory is not sufficient. Work order <belnr_id> / <belpos_id> / <pos_id>  "+
   "<itemcode> for item <batchnum> stock <whscode> <bincode> <RFID>. "+
   "Inventory: <stock> Requirements: <quantity>")
  .translate("Resissue354",
    {belnr_id:100,belpos_id:10,pos_id:10,itemcode:"A001",whscode:"01",RFID:"",batchnum:"104043",
    bincode:"001002",stock:30.4,quantity:200}
    )
);