@jigx/core-sdk 1.2.0-next.3 → 1.2.0-next.30
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +6 -82
- package/dist/PACKAGE.d.ts +1 -0
- package/dist/PACKAGE.d.ts.map +1 -1
- package/dist/PACKAGE.js +3 -2
- package/dist/abstract/sdk.text.d.ts +1 -0
- package/dist/abstract/sdk.text.d.ts.map +1 -1
- package/dist/abstract/sdk.text.js +8 -2
- package/dist/abstract/sdk.types.d.ts +1 -1
- package/dist/abstract/sdk.types.d.ts.map +1 -1
- package/dist/abstract/sdk.types.js +11 -26
- package/dist/abstract/zod.types.d.ts +19 -1
- package/dist/abstract/zod.types.d.ts.map +1 -1
- package/dist/abstract/zod.types.js +6 -1
- package/dist/action/index.d.ts +2 -0
- package/dist/action/index.d.ts.map +1 -1
- package/dist/action/index.js +2 -1
- package/dist/action/ja.confirm.d.ts +2 -1
- package/dist/action/ja.confirm.d.ts.map +1 -1
- package/dist/action/ja.confirm.js +22 -6
- package/dist/action/ja.delete-queue-command.d.ts +11 -6
- package/dist/action/ja.delete-queue-command.d.ts.map +1 -1
- package/dist/action/ja.delete-queue-command.js +8 -8
- package/dist/action/ja.evaluate.d.ts.map +1 -1
- package/dist/action/ja.evaluate.js +1 -1
- package/dist/action/ja.execute-entities.d.ts +2 -1
- package/dist/action/ja.execute-entities.d.ts.map +1 -1
- package/dist/action/ja.execute-entities.js +3 -2
- package/dist/action/ja.execute-entity.abstract.d.ts +13 -2
- package/dist/action/ja.execute-entity.abstract.d.ts.map +1 -1
- package/dist/action/ja.execute-entity.abstract.js +25 -1
- package/dist/action/ja.in-background.d.ts +7 -0
- package/dist/action/ja.in-background.d.ts.map +1 -1
- package/dist/action/ja.in-background.factory.d.ts +2 -0
- package/dist/action/ja.in-background.factory.d.ts.map +1 -1
- package/dist/action/ja.in-background.factory.js +3 -1
- package/dist/action/ja.in-background.js +12 -1
- package/dist/action/ja.on-button.factory.d.ts +2 -0
- package/dist/action/ja.on-button.factory.d.ts.map +1 -1
- package/dist/action/ja.on-button.factory.js +3 -1
- package/dist/action/ja.open-media-picker.abstract.d.ts +8 -0
- package/dist/action/ja.open-media-picker.abstract.d.ts.map +1 -1
- package/dist/action/ja.open-media-picker.abstract.js +1 -1
- package/dist/action/ja.open-media-picker.d.ts +8 -0
- package/dist/action/ja.open-media-picker.d.ts.map +1 -1
- package/dist/action/ja.open-media-picker.js +8 -1
- package/dist/action/ja.queue-options.d.ts +27 -0
- package/dist/action/ja.queue-options.d.ts.map +1 -0
- package/dist/action/ja.queue-options.js +30 -0
- package/dist/action/ja.retry-queue-command.d.ts +9 -4
- package/dist/action/ja.retry-queue-command.d.ts.map +1 -1
- package/dist/action/ja.retry-queue-command.js +9 -5
- package/dist/action/ja.set-state.d.ts +22 -0
- package/dist/action/ja.set-state.d.ts.map +1 -0
- package/dist/action/ja.set-state.js +24 -0
- package/dist/action/ja.show-alert.d.ts +11 -29
- package/dist/action/ja.show-alert.d.ts.map +1 -1
- package/dist/action/ja.show-alert.js +16 -19
- package/dist/action/ja.submit-form.d.ts +8 -1
- package/dist/action/ja.submit-form.d.ts.map +1 -1
- package/dist/action/ja.submit-form.js +8 -2
- package/dist/action/ja.sync-entities.abstract.d.ts.map +1 -1
- package/dist/action/ja.sync-entities.abstract.js +1 -1
- package/dist/application/application.component.d.ts +89 -0
- package/dist/application/application.component.d.ts.map +1 -0
- package/dist/application/application.component.js +68 -0
- package/dist/application/application.sdk.d.ts +18 -3
- package/dist/application/application.sdk.d.ts.map +1 -1
- package/dist/application/application.sdk.js +39 -10
- package/dist/application/application.tab.d.ts +4 -3
- package/dist/application/application.tab.d.ts.map +1 -1
- package/dist/application/application.tab.js +2 -2
- package/dist/application/application.table-changed.d.ts +19 -0
- package/dist/application/application.table-changed.d.ts.map +1 -0
- package/dist/application/application.table-changed.js +22 -0
- package/dist/application/index.d.ts +2 -0
- package/dist/application/index.d.ts.map +1 -1
- package/dist/application/index.js +3 -1
- package/dist/assets/example-extraction-cache.json +4 -4
- package/dist/assets/extracted-core-sdk-examples.yaml +1699 -911
- package/dist/assets/tabler-icons.csv +5185 -0
- package/dist/component/common/jc.component.types.d.ts +4 -2
- package/dist/component/common/jc.component.types.d.ts.map +1 -1
- package/dist/component/common/jc.component.types.js +1 -1
- package/dist/component/common/jc.left-right.element.icon.d.ts.map +1 -1
- package/dist/component/common/jc.left-right.element.icon.js +3 -8
- package/dist/component/common/jc.picker-field-options.types.d.ts +4 -0
- package/dist/component/common/jc.picker-field-options.types.d.ts.map +1 -1
- package/dist/component/common/jc.picker-field-options.types.js +1 -1
- package/dist/component/common/jc.validation.d.ts +1 -1
- package/dist/component/common/jc.validation.d.ts.map +1 -1
- package/dist/component/common/jc.validation.js +2 -2
- package/dist/component/index.d.ts +2 -0
- package/dist/component/index.d.ts.map +1 -1
- package/dist/component/index.js +3 -1
- package/dist/component/jc.abstract.factory.d.ts +1 -1
- package/dist/component/jc.abstract.factory.d.ts.map +1 -1
- package/dist/component/jc.abstract.factory.js +1 -1
- package/dist/component/jc.amount-control.d.ts +2 -2
- package/dist/component/jc.amount-control.d.ts.map +1 -1
- package/dist/component/jc.amount-control.js +1 -1
- package/dist/component/jc.avatar-field.d.ts.map +1 -1
- package/dist/component/jc.avatar-field.js +4 -1
- package/dist/component/jc.banner.d.ts +2 -0
- package/dist/component/jc.banner.d.ts.map +1 -1
- package/dist/component/jc.card.on-custom-component.d.ts +89 -0
- package/dist/component/jc.card.on-custom-component.d.ts.map +1 -0
- package/dist/component/jc.card.on-custom-component.js +89 -0
- package/dist/component/jc.card.on-default.d.ts +3 -1
- package/dist/component/jc.card.on-default.d.ts.map +1 -1
- package/dist/component/jc.card.on-default.js +3 -1
- package/dist/component/jc.chat.d.ts +1 -0
- package/dist/component/jc.chat.d.ts.map +1 -1
- package/dist/component/jc.chat.js +2 -2
- package/dist/component/jc.dropdown.item.d.ts.map +1 -1
- package/dist/component/jc.dropdown.item.js +6 -2
- package/dist/component/jc.entity-field.d.ts.map +1 -1
- package/dist/component/jc.entity-field.js +3 -6
- package/dist/component/jc.expander.d.ts +1 -1
- package/dist/component/jc.form.d.ts +1 -1
- package/dist/component/jc.icon.js +2 -2
- package/dist/component/jc.image.d.ts +3 -2
- package/dist/component/jc.image.d.ts.map +1 -1
- package/dist/component/jc.image.js +1 -1
- package/dist/component/jc.image.on-custom-component.d.ts +53 -0
- package/dist/component/jc.image.on-custom-component.d.ts.map +1 -0
- package/dist/component/jc.image.on-custom-component.js +29 -0
- package/dist/component/jc.interactive-image.d.ts +21 -7
- package/dist/component/jc.interactive-image.d.ts.map +1 -1
- package/dist/component/jc.interactive-image.js +20 -13
- package/dist/component/jc.list-item.d.ts +2 -0
- package/dist/component/jc.list-item.d.ts.map +1 -1
- package/dist/component/jc.list-item.js +4 -1
- package/dist/component/jc.list.d.ts +1 -1
- package/dist/component/jc.list.d.ts.map +1 -1
- package/dist/component/jc.media-field.d.ts.map +1 -1
- package/dist/component/jc.media-field.js +4 -1
- package/dist/component/jc.menu-item.d.ts +2 -0
- package/dist/component/jc.menu-item.d.ts.map +1 -1
- package/dist/component/jc.number-field.d.ts +1 -0
- package/dist/component/jc.number-field.d.ts.map +1 -1
- package/dist/component/jc.number-field.js +2 -1
- package/dist/component/jc.rating.js +2 -2
- package/dist/component/jc.section.abstract.d.ts +2 -0
- package/dist/component/jc.section.abstract.d.ts.map +1 -1
- package/dist/component/jc.section.on-default.d.ts +1 -1
- package/dist/component/jc.text.d.ts +1 -1
- package/dist/component/jc.text.d.ts.map +1 -1
- package/dist/component/jc.text.js +1 -1
- package/dist/component/jc.video-player.on-jig.d.ts +2 -3
- package/dist/component/jc.video-player.on-jig.d.ts.map +1 -1
- package/dist/component/jc.video-player.on-jig.js +1 -11
- package/dist/component/jc.view.d.ts +9 -5
- package/dist/component/jc.view.d.ts.map +1 -1
- package/dist/component/jc.view.js +14 -10
- package/dist/component/jc.web-view.abstract.d.ts +1 -0
- package/dist/component/jc.web-view.abstract.d.ts.map +1 -1
- package/dist/component/jc.web-view.abstract.js +1 -1
- package/dist/datasource/datasource.reference.d.ts.map +1 -1
- package/dist/datasource/datasource.reference.js +7 -2
- package/dist/datasource/datasource.sdk.d.ts.map +1 -1
- package/dist/datasource/datasource.sdk.js +1 -1
- package/dist/datasource/datasource.sqlite.d.ts.map +1 -1
- package/dist/datasource/datasource.sqlite.js +6 -4
- package/dist/datasource/datasource.static.d.ts +3 -2
- package/dist/datasource/datasource.static.d.ts.map +1 -1
- package/dist/datasource/datasource.static.js +7 -3
- package/dist/datasource/sqlite-normalizer.d.ts +4 -2
- package/dist/datasource/sqlite-normalizer.d.ts.map +1 -1
- package/dist/datasource/sqlite-normalizer.js +61 -9
- package/dist/datasource/sqlite-validator.d.ts +2 -1
- package/dist/datasource/sqlite-validator.d.ts.map +1 -1
- package/dist/datasource/sqlite-validator.js +50 -17
- package/dist/function/function.abstract.d.ts +19 -12
- package/dist/function/function.abstract.d.ts.map +1 -1
- package/dist/function/function.abstract.js +10 -5
- package/dist/function/function.guard.d.ts +2 -1
- package/dist/function/function.guard.d.ts.map +1 -1
- package/dist/function/function.guard.js +3 -2
- package/dist/function/function.operation.d.ts +3 -3
- package/dist/function/function.operation.d.ts.map +1 -1
- package/dist/function/function.operation.js +1 -1
- package/dist/function/function.rest.d.ts +8 -0
- package/dist/function/function.rest.d.ts.map +1 -1
- package/dist/function/function.rest.error-builder.d.ts +4 -4
- package/dist/function/function.rest.error-builder.d.ts.map +1 -1
- package/dist/function/function.rest.error-builder.js +4 -6
- package/dist/function/function.rest.js +10 -1
- package/dist/function/function.rest.parameter-builder.d.ts.map +1 -1
- package/dist/function/function.rest.parameter-builder.js +7 -2
- package/dist/function/function.rest.types.d.ts +2 -0
- package/dist/function/function.rest.types.d.ts.map +1 -1
- package/dist/function/function.rest.types.js +1 -1
- package/dist/function/function.soap.parameter-builder.d.ts.map +1 -1
- package/dist/function/function.soap.parameter-builder.js +8 -3
- package/dist/icon/sdk.icon.d.ts +4 -4
- package/dist/icon/sdk.icon.d.ts.map +1 -1
- package/dist/icon/sdk.icon.data.d.ts +2 -2
- package/dist/icon/sdk.icon.data.d.ts.map +1 -1
- package/dist/icon/sdk.icon.data.js +5187 -19280
- package/dist/icon/sdk.icon.js +6 -6
- package/dist/icon/sdk.icon.name.d.ts +3 -4
- package/dist/icon/sdk.icon.name.d.ts.map +1 -1
- package/dist/icon/sdk.icon.name.js +4906 -19000
- package/dist/jsonata/builder.d.ts +14 -3
- package/dist/jsonata/builder.d.ts.map +1 -1
- package/dist/jsonata/builder.js +127 -15
- package/dist/jsonata/context.d.ts.map +1 -1
- package/dist/jsonata/context.js +12 -3
- package/dist/screen/common/screen.default-children.d.ts +3 -2
- package/dist/screen/common/screen.default-children.d.ts.map +1 -1
- package/dist/screen/common/screen.default-children.js +3 -2
- package/dist/screen/common/screen.input-definition.d.ts.map +1 -1
- package/dist/screen/common/screen.input-definition.js +1 -1
- package/dist/screen/common/screen.placeholder.d.ts.map +1 -1
- package/dist/screen/common/screen.placeholder.js +1 -1
- package/dist/screen/common/screen.preview.d.ts.map +1 -1
- package/dist/screen/common/screen.preview.js +1 -1
- package/dist/screen/screen.abstract.d.ts +1 -1
- package/dist/screen/screen.abstract.d.ts.map +1 -1
- package/dist/screen/screen.abstract.js +1 -1
- package/dist/screen/screen.default.d.ts +3 -2
- package/dist/screen/screen.default.d.ts.map +1 -1
- package/dist/screen/screen.full-screen.d.ts +6 -2
- package/dist/screen/screen.full-screen.d.ts.map +1 -1
- package/dist/screen/screen.full-screen.js +10 -2
- package/dist/screen/screen.grid.base.d.ts +1 -1
- package/dist/screen/screen.grid.base.d.ts.map +1 -1
- package/dist/screen/screen.list.d.ts +5 -3
- package/dist/screen/screen.list.d.ts.map +1 -1
- package/dist/screen/screen.list.js +10 -3
- package/dist/screen/screen.tabs.d.ts +1 -1
- package/dist/screen/screen.tabs.d.ts.map +1 -1
- package/dist/screen/screen.tabs.instance.d.ts +4 -1
- package/dist/screen/screen.tabs.instance.d.ts.map +1 -1
- package/dist/screen/screen.tabs.instance.js +6 -2
- package/dist/screen/screen.tabs.js +1 -1
- package/docs/array-fields.md +5 -5
- package/docs/conditional-logic.md +2 -2
- package/docs/dropdown-fields.md +13 -13
- package/docs/field-state.md +5 -5
- package/docs/field-types-overview.md +2 -2
- package/docs/formatting.md +3 -3
- package/docs/icons.md +34 -30
- package/docs/index.md +25 -20
- package/docs/jsonata-expressions.md +3 -3
- package/docs/overview.md +42 -467
- package/docs/pattern-command-batches.md +103 -0
- package/docs/pattern-data-runtime.md +99 -0
- package/docs/pattern-datasources.md +7 -0
- package/docs/pattern-navigation.md +9 -2
- package/docs/pattern-pdf-generation.md +1 -1
- package/docs/pattern-rest-acumatica.md +11 -4
- package/docs/pattern-sync.md +9 -1
- package/docs/pattern-tabs-form.md +1 -1
- package/docs/recipe-index.md +2 -0
- package/docs/sections.md +1 -1
- package/package.json +5 -3
- package/dist/assets/stream-line-icons.csv +0 -19278
package/docs/overview.md
CHANGED
|
@@ -1,467 +1,42 @@
|
|
|
1
|
-
#
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
##
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
- Same-step conditional visibility
|
|
45
|
-
- Same-step validation
|
|
46
|
-
- Real-time field dependencies within one step
|
|
47
|
-
|
|
48
|
-
**For cross-step data:** Use `step.data.getFieldData()` instead.
|
|
49
|
-
|
|
50
|
-
**Dropdown special case:** Dropdowns also expose `dropdownField.state.selected` for full object access in the same step.
|
|
51
|
-
|
|
52
|
-
**Details:** [Field State](./field-state.md)
|
|
53
|
-
|
|
54
|
-
---
|
|
55
|
-
|
|
56
|
-
## About JSONata
|
|
57
|
-
|
|
58
|
-
The Expert SDK uses [JSONata](https://jsonata.org/) (v1.8) as its expression language. JSONata is a lightweight query and transformation language for JSON data, similar to XPath for XML.
|
|
59
|
-
|
|
60
|
-
**Key characteristics and rules:**
|
|
61
|
-
|
|
62
|
-
- Functional expression language (no side effects)
|
|
63
|
-
- Path navigation with dot notation
|
|
64
|
-
- Built-in functions for string, array, date manipulation
|
|
65
|
-
- Single `=` for equality (not `==`)
|
|
66
|
-
- `&` for string concatenation (not `+`)
|
|
67
|
-
- `$now()` returns ISO string — use `$millis()` for date comparisons/diffs
|
|
68
|
-
- `null` can't be used in math, string concat, comparisons, or array operations — always check first: `$x ? $x > 0 : false`
|
|
69
|
-
|
|
70
|
-
Official docs: [jsonata.org](https://jsonata.org/)
|
|
71
|
-
|
|
72
|
-
## Value Types
|
|
73
|
-
|
|
74
|
-
Field properties support two modes:
|
|
75
|
-
|
|
76
|
-
| Mode | API | Use When |
|
|
77
|
-
| --- | --- | --- |
|
|
78
|
-
| **Static** | Constructor arg or `.with()` | Constant values that never change |
|
|
79
|
-
| **Dynamic** | `new JsonataBuilder(body, variables)` | Values dependent on other data |
|
|
80
|
-
|
|
81
|
-
## JSONata Reference
|
|
82
|
-
|
|
83
|
-
| Operator | Example | ⚠️ Never Use |
|
|
84
|
-
| --- | --- | --- |
|
|
85
|
-
| `=` | `$x = "value"` | `==` |
|
|
86
|
-
| `!=` | `$x != "value"` | `!==`, `<>` |
|
|
87
|
-
| `and` | `$a and $b` | `&&` |
|
|
88
|
-
| `or` | `$a or $b` | `\|\|` |
|
|
89
|
-
| `$not()` | `$not($a)` | `!`, `not` |
|
|
90
|
-
| `&` | `$a & " " & $b` | `+` (except math) |
|
|
91
|
-
| `? :` | `$x ? "yes" : "no"` | (ternary conditional) |
|
|
92
|
-
| `:=` | `$temp := $x * 2` | (assignment) |
|
|
93
|
-
| `..` | `1..10` | (range → array) |
|
|
94
|
-
| `~>` | `$x ~> $uppercase` | (pipe/transform) |
|
|
95
|
-
|
|
96
|
-
**Fallback pattern** (use ternary instead of elvis/null coalesce):
|
|
97
|
-
|
|
98
|
-
```text
|
|
99
|
-
$x ? $x : "default"
|
|
100
|
-
```
|
|
101
|
-
|
|
102
|
-
**Functions:**
|
|
103
|
-
|
|
104
|
-
| Category | Functions |
|
|
105
|
-
| --- | --- |
|
|
106
|
-
| String | `$uppercase` `$lowercase` `$substring` `$length` `$trim` `$contains` `$split` `$join` |
|
|
107
|
-
| Array | `$count` `$sum` `$max` `$min` `$distinct` `$sort` `$reverse` `$filter` `$map` `$in` |
|
|
108
|
-
| Date | `$now` `$millis` `$toMillis` `$fromMillis` |
|
|
109
|
-
| Type | `$string` `$number` `$boolean` `$type` |
|
|
110
|
-
|
|
111
|
-
**Details:** [JSONata Expressions](./jsonata-expressions.md)
|
|
112
|
-
|
|
113
|
-
---
|
|
114
|
-
|
|
115
|
-
## Conditional Logic
|
|
116
|
-
|
|
117
|
-
Make fields conditionally visible or required based on other field values using `JsonataBuilder`.
|
|
118
|
-
|
|
119
|
-
**Common patterns:**
|
|
120
|
-
|
|
121
|
-
- Show field when another has specific value
|
|
122
|
-
- Require field only when relevant
|
|
123
|
-
- Combine multiple conditions
|
|
124
|
-
|
|
125
|
-
**Details:** [Conditional Logic](./conditional-logic.md)
|
|
126
|
-
|
|
127
|
-
---
|
|
128
|
-
|
|
129
|
-
## Field Validation
|
|
130
|
-
|
|
131
|
-
Use `errorText` with `JsonataBuilder` to show validation messages based on field values. Messages appear when expression returns non-null string.
|
|
132
|
-
|
|
133
|
-
**Pattern:** Expression returns error message string when invalid, `null` when valid.
|
|
134
|
-
|
|
135
|
-
**Details:** [Validation Patterns](./validation-patterns.md)
|
|
136
|
-
|
|
137
|
-
---
|
|
138
|
-
|
|
139
|
-
## Sections
|
|
140
|
-
|
|
141
|
-
Use `addSection()` to group related fields visually within a step. Improves form organization and user experience.
|
|
142
|
-
|
|
143
|
-
**When to use:**
|
|
144
|
-
|
|
145
|
-
- Group 3+ related fields together
|
|
146
|
-
- Separate different types of information (personal vs professional)
|
|
147
|
-
- Create visual hierarchy in longer forms
|
|
148
|
-
- Improve scannability
|
|
149
|
-
|
|
150
|
-
**Details:** [Sections](./sections.md)
|
|
151
|
-
|
|
152
|
-
---
|
|
153
|
-
|
|
154
|
-
## Dropdown Fields
|
|
155
|
-
|
|
156
|
-
Four data source patterns for dropdown options:
|
|
157
|
-
|
|
158
|
-
| Source | Use When | Data Type |
|
|
159
|
-
| --- | --- | --- |
|
|
160
|
-
| **Static** | Fixed list <20 items (priorities, statuses) | `{label, value, icon?}[]` |
|
|
161
|
-
| **Dynamic** | Database-backed data (products, customers) | `DatasourceBuilder` |
|
|
162
|
-
| **ArrayField** | Cross-step data from arrayField | `step.data.getArrayFieldData()` |
|
|
163
|
-
| **Package** | ERP/CRM data via data packages (Acumatica, etc.) | `PackageDataBuilder` |
|
|
164
|
-
|
|
165
|
-
**Dropdown vs Choice:**
|
|
166
|
-
|
|
167
|
-
- Dropdown: >6 options OR long option labels
|
|
168
|
-
- Choice: ≤6 options AND short labels
|
|
169
|
-
|
|
170
|
-
**Multi-selection:** Set `isMultiple: true` for multiple selections.
|
|
171
|
-
|
|
172
|
-
---
|
|
173
|
-
|
|
174
|
-
## Static vs Dynamic Decision
|
|
175
|
-
|
|
176
|
-
**Use static options when:**
|
|
177
|
-
|
|
178
|
-
- Small fixed sets unlikely to change (Yes/No, gender, true/false)
|
|
179
|
-
- Values tied to app logic (status enums where code branches on specific values)
|
|
180
|
-
- Fewer than ~8 items that are universal across deployments
|
|
181
|
-
|
|
182
|
-
**Use dynamic (lookup table) when:**
|
|
183
|
-
|
|
184
|
-
- User says "managed", "from database", "editable", "configurable"
|
|
185
|
-
- Domain/reference data that may grow (countries, products, customers, categories)
|
|
186
|
-
- User provides a large list (>10 items)
|
|
187
|
-
- Values that different orgs/deployments would customize
|
|
188
|
-
- Data that non-developers should be able to edit in management portal
|
|
189
|
-
|
|
190
|
-
**If uncertain**, ask the user whether the options are fixed or may change over time.
|
|
191
|
-
|
|
192
|
-
---
|
|
193
|
-
|
|
194
|
-
### Value Collection
|
|
195
|
-
|
|
196
|
-
If values are clear from context, suggest initial values and ask for confirmation. If unclear, ask the user what values to populate.
|
|
197
|
-
|
|
198
|
-
When ambiguous (e.g., "add a status field" without specifying values), ask the user whether the values should be static or managed dynamically.
|
|
199
|
-
|
|
200
|
-
---
|
|
201
|
-
|
|
202
|
-
### Displaying Lookup Data
|
|
203
|
-
|
|
204
|
-
When showing lookup table contents to the user, format as a markdown table:
|
|
205
|
-
|
|
206
|
-
| Value | Label | Sort |
|
|
207
|
-
| --- | --- | ---: |
|
|
208
|
-
| high | High | 1 |
|
|
209
|
-
| medium | Medium | 2 |
|
|
210
|
-
| low | Low | 3 |
|
|
211
|
-
|
|
212
|
-
---
|
|
213
|
-
|
|
214
|
-
## Choice Fields
|
|
215
|
-
|
|
216
|
-
Use choice fields for small, fixed option sets displayed as radio buttons or chips.
|
|
217
|
-
|
|
218
|
-
**When to use:**
|
|
219
|
-
|
|
220
|
-
- ≤6 options with short labels
|
|
221
|
-
- Visual selection (user sees all options at once)
|
|
222
|
-
- Grid layout desired
|
|
223
|
-
|
|
224
|
-
**Choice vs Dropdown:**
|
|
225
|
-
|
|
226
|
-
| Criteria | Choice | Dropdown |
|
|
227
|
-
| --- | --- | --- |
|
|
228
|
-
| Options count | ≤6 | >6 |
|
|
229
|
-
| Label length | Short | Any |
|
|
230
|
-
| Display | All visible | Collapsed list |
|
|
231
|
-
|
|
232
|
-
**Choice vs Checkbox for yes/no:**
|
|
233
|
-
|
|
234
|
-
- Required yes/no: Use choice (checkbox fails validation when unchecked)
|
|
235
|
-
- 3-state logic: Use choice (Yes/No/NA, True/False/Unknown)
|
|
236
|
-
- Optional toggle: Use checkbox
|
|
237
|
-
|
|
238
|
-
**Details:** [Choice Fields](./choice-fields.md)
|
|
239
|
-
|
|
240
|
-
---
|
|
241
|
-
|
|
242
|
-
## Array Fields
|
|
243
|
-
|
|
244
|
-
**Use ArrayField when you need a "form within a form"** - a repeatable group of fields where users can add/remove multiple entries of the same structure.
|
|
245
|
-
|
|
246
|
-
**When to use:**
|
|
247
|
-
|
|
248
|
-
- Invoice/order with multiple line items (product, quantity, price per item)
|
|
249
|
-
- Team registration with multiple members (name, email, role per person)
|
|
250
|
-
- Inspection checklist with multiple items (item name, status, notes per check)
|
|
251
|
-
- Any scenario requiring "Add another [X]" functionality
|
|
252
|
-
|
|
253
|
-
**How it works:** ArrayField creates a nested, repeatable form section. Each item contains the same field structure. Users tap "Add" to create new items and can remove existing ones.
|
|
254
|
-
|
|
255
|
-
| Property | Type | Description |
|
|
256
|
-
| --- | --- | --- |
|
|
257
|
-
| `name` | string | Field identifier (required) |
|
|
258
|
-
| `label` | string | Display label (required) |
|
|
259
|
-
| `title` | TextValueBuilder | Item title in the array list (required) |
|
|
260
|
-
| `subtitle` | TextValueBuilder | Item subtitle in the array list |
|
|
261
|
-
| `description` | TextValueBuilder | Item description in the array list |
|
|
262
|
-
| `addButtonLabel` | string | Custom "Add" button text |
|
|
263
|
-
| `value` | ArrayFieldValue[] \| JsonataBuilder | Initial data for fixed-size arrays (hides add/delete) |
|
|
264
|
-
| `keyField` | string | Field to match init items with saved data (required with `value`) |
|
|
265
|
-
|
|
266
|
-
**Three ways to use ArrayField:**
|
|
267
|
-
|
|
268
|
-
| Mode | `value` | Behavior |
|
|
269
|
-
| --- | --- | --- |
|
|
270
|
-
| **User-managed** | (not set) | Users add/remove items freely |
|
|
271
|
-
| **Static** | Array literal | Fixed items (subform, checklist) |
|
|
272
|
-
| **Dynamic** | Expression/field ref | Items regenerate from source |
|
|
273
|
-
|
|
274
|
-
**Ref:** `./predefined-array-items.md` for static and dynamic initialization
|
|
275
|
-
|
|
276
|
-
**Title is required** - identifies items in the list and delete confirmation.
|
|
277
|
-
|
|
278
|
-
**Ref:** `./cross-step-data.md` for accessing array data in other steps
|
|
279
|
-
|
|
280
|
-
**Recognize repeated data patterns:**
|
|
281
|
-
|
|
282
|
-
| User describes... | Use |
|
|
283
|
-
| --- | --- |
|
|
284
|
-
| "3 passengers on booking" | ArrayField + 3 predefined items |
|
|
285
|
-
| "5 emergency contacts" | ArrayField + 5 predefined items |
|
|
286
|
-
| "Add ingredients to recipe" | ArrayField (user-managed) |
|
|
287
|
-
| "Track project milestones" | ArrayField (user-managed) |
|
|
288
|
-
|
|
289
|
-
**Anti-pattern:** Creating multiple sections with duplicated fields (e.g., "Contact 1 Name", "Contact 1 Phone", "Contact 2 Name"...). This creates longer forms and inconsistent data structure.
|
|
290
|
-
|
|
291
|
-
**Default rule:** Same data type captured multiple times → ArrayField, not duplicated sections.
|
|
292
|
-
|
|
293
|
-
**Details:** [Array Fields](./array-fields.md)
|
|
294
|
-
|
|
295
|
-
---
|
|
296
|
-
|
|
297
|
-
## Array Initialization
|
|
298
|
-
|
|
299
|
-
Use ArrayField with `value` to initialize items. Add/delete buttons hidden automatically.
|
|
300
|
-
|
|
301
|
-
| Mode | `value` | Regenerates | Use Case |
|
|
302
|
-
| --- | --- | --- | --- |
|
|
303
|
-
| **Subform** | 1 static item | No | Nested details (vehicle, address) |
|
|
304
|
-
| **Fixed list** | N static items | No | Scorecards, checklists |
|
|
305
|
-
| **Dynamic** | Expression/field ref | Yes | Date ranges, count from field |
|
|
306
|
-
|
|
307
|
-
**Key properties:**
|
|
308
|
-
|
|
309
|
-
| Property | Description |
|
|
310
|
-
| --- | --- |
|
|
311
|
-
| `value` | Initial items (static array or JsonataBuilder expression) |
|
|
312
|
-
| `keyField` | Field to match items with saved data (required for dynamic, optional for static) |
|
|
313
|
-
|
|
314
|
-
**Ref:** `./array-fields.md` for full ArrayField API
|
|
315
|
-
|
|
316
|
-
**Details:** [Array Initialization](./predefined-array-items.md)
|
|
317
|
-
|
|
318
|
-
---
|
|
319
|
-
|
|
320
|
-
## Date Field
|
|
321
|
-
|
|
322
|
-
Use `addDate()` to capture dates, times, or both with a native picker.
|
|
323
|
-
|
|
324
|
-
| Property | Type | Description |
|
|
325
|
-
| --- | --- | --- |
|
|
326
|
-
| `mode` | `'date'` \| `'time'` \| `'datetime'` | Picker type (default: 'date') |
|
|
327
|
-
| `minimum` | `string` \| `number` \| `JsonataBuilder` | Earliest selectable date |
|
|
328
|
-
| `maximum` | `string` \| `number` \| `JsonataBuilder` | Latest selectable date |
|
|
329
|
-
|
|
330
|
-
| Mode | Picker | Use Case |
|
|
331
|
-
| --- | --- | --- |
|
|
332
|
-
| `'date'` | Date only | Birthdays, deadlines |
|
|
333
|
-
| `'time'` | Time only | Meeting times, schedules |
|
|
334
|
-
| `'datetime'` | Both | Appointments, events |
|
|
335
|
-
|
|
336
|
-
**Details:** [Date Field](./date-field.md)
|
|
337
|
-
|
|
338
|
-
---
|
|
339
|
-
|
|
340
|
-
## Formatting
|
|
341
|
-
|
|
342
|
-
Two ways to format values:
|
|
343
|
-
|
|
344
|
-
| Approach | Use Case |
|
|
345
|
-
| --- | --- |
|
|
346
|
-
| **Field `format` property** | Format numbers in disabled (read-only) fields |
|
|
347
|
-
| **`FormatBuilder` class** | Format any value for text display: `submissionItemTitle`, `submissionItemSubtitle`, arrayField `title`/`subtitle`/`description`, step `title` |
|
|
348
|
-
|
|
349
|
-
**Details:** [Formatting](./formatting.md)
|
|
350
|
-
|
|
351
|
-
---
|
|
352
|
-
|
|
353
|
-
**Read the YAML schemas before writing any SQL query.** They document available tables, fields, nullable columns, relationships, and common query patterns.
|
|
354
|
-
|
|
355
|
-
### When to Use Custom Sync Parameters
|
|
356
|
-
|
|
357
|
-
| Use Case | Parameters |
|
|
358
|
-
| --- | --- |
|
|
359
|
-
| Fetch all records | None (uses package defaults) |
|
|
360
|
-
| Only sync active records | Custom filter to limit fetched records |
|
|
361
|
-
| Reduce sync volume | Filter expression |
|
|
362
|
-
| Different expand per screen | Expand override |
|
|
363
|
-
|
|
364
|
-
### Handling Null Values (COALESCE)
|
|
365
|
-
|
|
366
|
-
External data fields can be null. **Use COALESCE** for display fields to prevent empty UI labels. Check the package's schema files for which fields are nullable and their recommended fallbacks.
|
|
367
|
-
|
|
368
|
-
### JOIN Queries (Multiple Tables)
|
|
369
|
-
|
|
370
|
-
**Always wrap `json_extract()` in `TRIM()` for JOIN conditions.** External data often contains leading/trailing whitespace that breaks equality comparisons.
|
|
371
|
-
|
|
372
|
-
---
|
|
373
|
-
|
|
374
|
-
## Media & Specialized Fields
|
|
375
|
-
|
|
376
|
-
Core SDK provides these media capture fields:
|
|
377
|
-
|
|
378
|
-
| Type | Purpose |
|
|
379
|
-
| --- | --- |
|
|
380
|
-
| `media` | File/image upload (single or multiple) |
|
|
381
|
-
| `signature` | Signature capture pad |
|
|
382
|
-
| `avatar-field` | Profile picture selector |
|
|
383
|
-
| `duration-picker` | Time duration selector |
|
|
384
|
-
|
|
385
|
-
**Details:** [Media Fields](./media-fields.md)
|
|
386
|
-
|
|
387
|
-
---
|
|
388
|
-
|
|
389
|
-
## Location Field
|
|
390
|
-
|
|
391
|
-
The `addLocation()` method creates a field that auto-captures GPS coordinates as "lat,lng" format.
|
|
392
|
-
|
|
393
|
-
**Two patterns:**
|
|
394
|
-
|
|
395
|
-
| Pattern | Use Case | isDisabled |
|
|
396
|
-
| --- | --- | --- |
|
|
397
|
-
| Current location (readonly) | Check-ins, service visits, asset tagging | `true` |
|
|
398
|
-
| Generic location (editable) | Delivery addresses, event venues | `false` (default) |
|
|
399
|
-
|
|
400
|
-
**Details:** [Location Field](./location-field.md)
|
|
401
|
-
|
|
402
|
-
---
|
|
403
|
-
|
|
404
|
-
## Icons
|
|
405
|
-
|
|
406
|
-
Expert SDK includes 18,000+ icons. Icon names are validated at build time - invalid names cause build failures.
|
|
407
|
-
|
|
408
|
-
**Never guess icon names** - always search via MCP.
|
|
409
|
-
|
|
410
|
-
**Details:** [Icons](./icons.md)
|
|
411
|
-
|
|
412
|
-
---
|
|
413
|
-
|
|
414
|
-
## Runtime Variables
|
|
415
|
-
|
|
416
|
-
Access runtime context using `System` and `Auth.user` from Expert SDK:
|
|
417
|
-
|
|
418
|
-
```typescript
|
|
419
|
-
import { Auth, System, JsonataBuilder } from '@jigx/expert-sdk'
|
|
420
|
-
```
|
|
421
|
-
|
|
422
|
-
| Namespace | Purpose |
|
|
423
|
-
| --- | --- |
|
|
424
|
-
| `System.*` | Device info, network status, location |
|
|
425
|
-
| `Auth.user.*` | Authenticated user data |
|
|
426
|
-
|
|
427
|
-
**Details:** [Runtime Variables](./runtime-variables.md)
|
|
428
|
-
|
|
429
|
-
---
|
|
430
|
-
|
|
431
|
-
## Internationalization (i18n)
|
|
432
|
-
|
|
433
|
-
Build multi-language forms using the `I18nBuilder` class. Supports:
|
|
434
|
-
|
|
435
|
-
- Translation keys with fallback messages
|
|
436
|
-
- Placeholder interpolation with `JsonataBuilder`
|
|
437
|
-
- Formatted values with `FormatBuilder` class
|
|
438
|
-
- Formatted strings combining multiple values
|
|
439
|
-
|
|
440
|
-
**Priority:** `I18nBuilder` > `format property` > `direct value`
|
|
441
|
-
|
|
442
|
-
|
|
443
|
-
**When to use I18nBuilder:**
|
|
444
|
-
- Combining multiple field values with text
|
|
445
|
-
- Formatting dates, currencies, numbers, or percentages
|
|
446
|
-
- Multi-language support needed
|
|
447
|
-
- Complex string interpolation
|
|
448
|
-
|
|
449
|
-
**Details:** [Internationalization](./i18n.md)
|
|
450
|
-
|
|
451
|
-
---
|
|
452
|
-
|
|
453
|
-
## Submission Display
|
|
454
|
-
|
|
455
|
-
Use `step.data.getFieldData()` to configure what information appears in the submission list. Shows meaningful data instead of generic IDs.
|
|
456
|
-
|
|
457
|
-
**Properties (both required):**
|
|
458
|
-
- `submissionItemTitle` — primary text shown for each submission
|
|
459
|
-
- `submissionItemSubtitle` — secondary text shown below the title
|
|
460
|
-
|
|
461
|
-
**Important:** Both `submissionItemTitle` and `submissionItemSubtitle` must be defined. Form validation will fail if either is missing.
|
|
462
|
-
|
|
463
|
-
**Date/number formatting:** Use `FormatBuilder` when displaying date, currency, or number values in `submissionItemTitle` or `submissionItemSubtitle`. See `./formatting.md` for details.
|
|
464
|
-
|
|
465
|
-
**Details:** [Submission Display](./submission-display.md)
|
|
466
|
-
|
|
467
|
-
---
|
|
1
|
+
# Core SDK overview
|
|
2
|
+
|
|
3
|
+
`ApplicationBuilder` composes Screens, Controls, Components, Actions, Datasources,
|
|
4
|
+
Databases and Functions into the configuration consumed by the Jigx mobile runtime.
|
|
5
|
+
The SDK authors configuration; the mobile runtime performs navigation, local writes,
|
|
6
|
+
offline queue processing and remote calls.
|
|
7
|
+
|
|
8
|
+
Start from [the recipe index](./recipe-index.md) for Application structure and
|
|
9
|
+
[the documentation index](./index.md) for task-specific guides. Inspect installed
|
|
10
|
+
`dist/**/*.d.ts` for exact constructor inputs and fluent methods. Examples extracted
|
|
11
|
+
from tested source are in `dist/assets/extracted-core-sdk-examples.yaml`.
|
|
12
|
+
|
|
13
|
+
## Data and execution
|
|
14
|
+
|
|
15
|
+
- SQLite rows store JSON Documents. Use [datasource recipes](./pattern-datasources.md)
|
|
16
|
+
to select and bind them; distinguish local persistence from remote synchronization.
|
|
17
|
+
- [Sync recipes](./pattern-sync.md) cover initial and incremental reads, local edits
|
|
18
|
+
and synchronization scopes.
|
|
19
|
+
- [Command batches](./pattern-command-batches.md) coordinate queued writes with
|
|
20
|
+
`batchId` and `processingType`. An action list's sequential execution does not prove
|
|
21
|
+
remote completion. Batches do not provide rollback.
|
|
22
|
+
- [Data runtime behavior](./pattern-data-runtime.md) covers REST retry protection,
|
|
23
|
+
guards, file conversions, resumable transfers and SQLite semantics.
|
|
24
|
+
|
|
25
|
+
## Expressions and state
|
|
26
|
+
|
|
27
|
+
Expressions start with `=`. Core SDK exposes `CTX` helpers; emitted runtime paths
|
|
28
|
+
retain `@ctx.jig` for Screen state/inputs and `@ctx.solution` for Application state.
|
|
29
|
+
Use the declaration and context appropriate to the binding. Function expressions
|
|
30
|
+
have different data available from screen expressions.
|
|
31
|
+
|
|
32
|
+
A Screen's instance state can be removed when it unmounts. Persist drafts and
|
|
33
|
+
resumable work in local tables; use explicit inputs to reopen a Screen. See
|
|
34
|
+
[Navigation](./pattern-navigation.md).
|
|
35
|
+
|
|
36
|
+
## Runtime compatibility
|
|
37
|
+
|
|
38
|
+
SDK support does not upgrade an installed mobile app. The September 2026 data
|
|
39
|
+
capabilities were checked against mobile `develop` commit `84410ee557`; confirm
|
|
40
|
+
that the target app build contains the relevant mobile PR before using them.
|
|
41
|
+
Feature-specific sources are linked in the data guides. This is a source-contract
|
|
42
|
+
baseline, not a claim that every released app or the web renderer supports them.
|
|
@@ -0,0 +1,103 @@
|
|
|
1
|
+
# Command batches and recovery
|
|
2
|
+
|
|
3
|
+
Use `batchId` and `processingType` on `executeEntity` / `executeEntities` when remote
|
|
4
|
+
writes have dependencies. Both options accept Expressions and are available in
|
|
5
|
+
button and background actions, as constructor inputs or fluent setters. These
|
|
6
|
+
options are not supported by `submitForm` or `syncEntities`.
|
|
7
|
+
|
|
8
|
+
Runtime contract: [mobile #7716](https://github.com/jigx-com/jigx/pull/7716), with
|
|
9
|
+
[file-upload defaults from #7747](https://github.com/jigx-com/jigx/pull/7747).
|
|
10
|
+
Verified against source at `84410ee557`; check target app build availability.
|
|
11
|
+
|
|
12
|
+
## Choose scheduling deliberately
|
|
13
|
+
|
|
14
|
+
| processingType | Within the same batch |
|
|
15
|
+
| --- | --- |
|
|
16
|
+
| `sync` | Wait for preceding parallel members, then run this command to completion before continuing. |
|
|
17
|
+
| `parallel` | Start concurrently with neighboring parallel members. The next sync command, or batch end, waits for the group. |
|
|
18
|
+
| `async` | Start without waiting for completion. A later sync command does not wait for it. |
|
|
19
|
+
|
|
20
|
+
Different batches can run concurrently. Failed non-async members block later work
|
|
21
|
+
in their batch until retried or deleted; failed async members do not permanently
|
|
22
|
+
block it. Already running calls can finish after another member fails. Offline or
|
|
23
|
+
credential problems can pause processing even for async commands.
|
|
24
|
+
|
|
25
|
+
Without options, ordinary writes retain the runtime's unbatched/sync behavior.
|
|
26
|
+
Dynamic Data create/save/update with a resolved file default to **async**. Specify
|
|
27
|
+
`sync` for an upload whose completion is required by a later command, or `parallel`
|
|
28
|
+
for uploads that may run together but must finish before a subsequent sync barrier.
|
|
29
|
+
The SDK deliberately emits no scheduling default.
|
|
30
|
+
|
|
31
|
+
## Order a logical operation
|
|
32
|
+
|
|
33
|
+
Allocate and persist one batch ID per logical send. Reuse it for its commands and
|
|
34
|
+
recovery. A separately evaluated `=$uuid()` on each command produces different
|
|
35
|
+
batches and loses the dependency. Avoid one fixed ID for all unrelated sends:
|
|
36
|
+
a failed member would block later operations reusing that ID.
|
|
37
|
+
|
|
38
|
+
```typescript
|
|
39
|
+
const send = screen.bottomPanel().add.list({ title: 'Send', concurrency: 'sequential' })
|
|
40
|
+
const batchId = '=@ctx.jig.inputs.sendBatchId' // allocated once by the caller
|
|
41
|
+
|
|
42
|
+
send.actions.executeEntity({ batchId, processingType: 'sync' })
|
|
43
|
+
.dynamicData('default/orders', 'save')
|
|
44
|
+
.data({ id: '=@ctx.jig.inputs.orderId' })
|
|
45
|
+
|
|
46
|
+
send.actions.executeEntity({ batchId, processingType: 'sync' })
|
|
47
|
+
.dynamicData('default/files', 'save')
|
|
48
|
+
.data({ id: '=@ctx.jig.inputs.fileId' })
|
|
49
|
+
.file({ localPath: '=@ctx.jig.inputs.attachmentUri' })
|
|
50
|
+
```
|
|
51
|
+
|
|
52
|
+
Sequential action lists order action invocation/enqueueing. Queue scheduling governs
|
|
53
|
+
later remote work. `executeEntities` applies the same batch ID and processing type
|
|
54
|
+
to its members, but is not a transactional bulk server request; use explicit
|
|
55
|
+
sequential executeEntity actions when commands have strict parent/child dependencies.
|
|
56
|
+
|
|
57
|
+
For REST parent/child creates, a batch does not automatically substitute a server ID.
|
|
58
|
+
Persist the parent's returned ID in function operations, then read current local data
|
|
59
|
+
with the child's function queries. Follow [REST recipes](./pattern-rest-acumatica.md)
|
|
60
|
+
for ID reconciliation and [sync recipes](./pattern-sync.md) for local state.
|
|
61
|
+
|
|
62
|
+
## Completion and failure
|
|
63
|
+
|
|
64
|
+
Batching is coordination, not a database transaction. A later failure does not roll
|
|
65
|
+
back completed remote writes. An action's `onSuccess` can mean locally accepted or
|
|
66
|
+
enqueued; do not mark the whole operation remotely complete from that callback.
|
|
67
|
+
Persist completion from successful remote function operations and verify all required
|
|
68
|
+
members, including uploads. Retain the operation ID so recovery resumes the same work.
|
|
69
|
+
|
|
70
|
+
`queueOperation: 'replace'` replaces queued work according to the provider's existing
|
|
71
|
+
rules; it is not server-side idempotency. Runtime expressions must yield valid
|
|
72
|
+
`add`/`replace` values; invalid values now error rather than silently acting as add.
|
|
73
|
+
|
|
74
|
+
## Recover a command or batch
|
|
75
|
+
|
|
76
|
+
```typescript
|
|
77
|
+
screen.bottomPanel().add.retryQueueCommand({
|
|
78
|
+
title: 'Retry',
|
|
79
|
+
batchId: '=@ctx.jig.inputs.sendBatchId',
|
|
80
|
+
force: false,
|
|
81
|
+
})
|
|
82
|
+
|
|
83
|
+
screen.bottomPanel().add.deleteQueueCommand({
|
|
84
|
+
title: 'Discard pending work',
|
|
85
|
+
batchId: '=@ctx.jig.inputs.sendBatchId',
|
|
86
|
+
force: false,
|
|
87
|
+
})
|
|
88
|
+
```
|
|
89
|
+
|
|
90
|
+
For individual commands use retry's `commandId` (emitted as runtime `id`) or delete's
|
|
91
|
+
`id`. Both accept a single ID, an array of IDs, or an Expression returning either.
|
|
92
|
+
`batchId` has the same shapes. Supply at least one target; both may be combined.
|
|
93
|
+
Use queue entry IDs, not entity record IDs. The SDK rejects empty literal targets;
|
|
94
|
+
ensure dynamic expressions resolve to the intended IDs at execution time.
|
|
95
|
+
|
|
96
|
+
By default, retry/delete leave `starting` and `processing` commands alone.
|
|
97
|
+
`force: true` is for deliberate recovery of stalled work: retry can duplicate an
|
|
98
|
+
in-flight provider write, and delete cannot cancel a provider call already running.
|
|
99
|
+
Deleting a batch neither reverses remote writes nor deletes local entity data.
|
|
100
|
+
|
|
101
|
+
Retry can replay captured parameters. If a corrected payload must replace a failed
|
|
102
|
+
request, follow the [REST recovery recipe](./pattern-rest-acumatica.md#retrying-failed-command-queue-calls-with-corrected-payloads).
|
|
103
|
+
Use [REST retry protection](./pattern-data-runtime.md) for ambiguous network failures.
|