Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Code Block
// This operation reads and fills in the @@Warehouse, @@WarehouseFloor, @@WarehouseZone, @@WarehouseBlock objects from the database along with the @@Address object.
Address.Get("Address='@AdresBarkod@AddressBarcode'")
 
// This operation only fills the @Address object with the address information read from the database.
Address.Get("Address='@AdresBarkod@AddressBarcode'",@Adres@Address)

All objects in the script are global. Once it is filled in, it stays filled unless it is reset or filled by another command. To avoid saving errors, you should reset the variables to affect the operation before the operation.

...

Code Block
// Set command supports variable assignment in JSON structure.
Set(@OrderStatus, {"Pending":12,"Processing":13, "Completed":14})
 
// EmirThe statüsüorder tamamlandıstatus olarak belirleniyor. JSON nesnelerin alt nesnelerine . (nokta) ile erişilebiliris set as completed. The sub-objects of JSON objects can be accessed with . (dot).
CustomState.Get(@OrderStatus.Completed)

Do not use SQL command to fill in objects from the database unless necessary. The List and Get commands retrieve data by performing many checks, including permissions.

...