Get field (numeric)
Gets the description of a numeric field
- Parameters
- Advanced call ?
Function GetNumberField(Val Name, Val Precision = 0) Export
| Parameter | CLI option | Type | Required | Description |
|---|---|---|---|---|
| Name | --title | String | ✔ | New field name |
| Precision | --precision | Number, String | ✖ | Number of decimal places |
Returns
Structure - Field description
| Parameter | Description |
|---|---|
| dontwait | Creates a background job and returns its data (for 1C and OneScript only) |
1C:Enterprise/OneScript code example
Result = OPI_Airtable.GetNumberField("Number");
- Bash
- CMD/Bat
oint airtable GetNumberField \
--title "bf2c2c51-a286-43bf-9e33-7aefd64c22c3"
oint airtable GetNumberField ^
--title "bf2c2c51-a286-43bf-9e33-7aefd64c22c3"
Result
{
"name": "Number",
"type": "number",
"options": {
"precision": 0
}
}