## Adempiere Scripting Help

### Context Variables

Window context variables start with a W_ prefix.
Login context variables start with G_ prefix.

### Event Variables

#### Callout:

  - A_WindowNo
  - A_Tab
  - A_Field
  - A_Value
  - A_OldValue
  - A_Ctx

#### Process:

  - Process Parameters for the process start with P_ prefix, for example P_Name. If the parameter is a range then the parameters will be P_Name1 and P_Name2
  - A_Ctx - the context
  - A_Trx - the transaction
  - A_TrxName
  - A_Record_ID
  - A_AD_Client_ID
  - A_AD_User_ID
  - A_AD_PInstance_ID
  - A_Table_ID

#### Login validator:

  - A_Ctx
  - A_AD_Client_ID
  - A_AD_Org_ID
  - A_AD_Role_ID
  - A_AD_User_ID

#### Table and document model validator:

  - A_Ctx
  - A_PO
  - A_Type
  - A_Event

Wiki Reference:

- Script Callout
- Script Process
- Script Login Validator
- Script Model Validatior