@celigo/api-specs 0.2.319 → 0.2.320
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/dist/import.yml +16 -12
- package/dist/tool.yml +16 -12
- package/package.json +1 -1
- package/schemas.json +1 -1
package/dist/import.yml
CHANGED
|
@@ -4641,8 +4641,10 @@ components:
|
|
|
4641
4641
|
on placement:
|
|
4642
4642
|
* Line-level (on `lists[].fields[].`
|
|
4643
4643
|
`subRecordMapping`) — the array of lines the
|
|
4644
|
-
sublist iterates (`lineItems`); `$` only
|
|
4645
|
-
each record is itself one line
|
|
4644
|
+
sublist iterates (`lineItems`, `items`); `$` only
|
|
4645
|
+
when each record is itself one line — on an item
|
|
4646
|
+
fulfillment whose lines sat under a field, `$`
|
|
4647
|
+
rendered no subrecord.
|
|
4646
4648
|
* Body-level (on `fields[].subRecordMapping`)
|
|
4647
4649
|
— a path into the source record root.
|
|
4648
4650
|
Defaults to `$`.
|
|
@@ -5033,10 +5035,12 @@ components:
|
|
|
5033
5035
|
one line. Defaults to `$`.
|
|
5034
5036
|
x-celigo-ai-guidance:
|
|
5035
5037
|
- |-
|
|
5036
|
-
|
|
5037
|
-
|
|
5038
|
-
|
|
5039
|
-
(
|
|
5038
|
+
On an item fulfillment whose lines sat under a field of the source record
|
|
5039
|
+
(`items`), an inventory detail with `$` rendered no subrecord for any line and
|
|
5040
|
+
the save failed with `Please configure the inventory detail in line 2 of the
|
|
5041
|
+
item list` (line 2 was its first lot-numbered line); with the line array
|
|
5042
|
+
named (`items`) it saved. Name the line array (`lineItems`, `items`), never
|
|
5043
|
+
the current-line context.
|
|
5040
5044
|
mapping:
|
|
5041
5045
|
type: object
|
|
5042
5046
|
description: |
|
|
@@ -5148,10 +5152,10 @@ components:
|
|
|
5148
5152
|
line that matches none is added as a new line, which an item fulfillment's `item` sublist
|
|
5149
5153
|
refuses with `SSS_INVALID_SUBLIST_OPERATION`: its lines are its order's.
|
|
5150
5154
|
|
|
5151
|
-
On a fulfillment created from an order, a kit's lot
|
|
5152
|
-
|
|
5153
|
-
|
|
5154
|
-
|
|
5155
|
+
On a fulfillment created from an order, a kit's lot-managed components are lines of their own
|
|
5156
|
+
under the kit's line, each with its own `line` and `orderline` (the component's own order
|
|
5157
|
+
line) and `kitmemberof` holding the kit line's id; the inventory detail belongs on those
|
|
5158
|
+
component lines, and a kit line refuses it. Serial- and bin-managed components were not read.
|
|
5155
5159
|
x-celigo-ai-guidance:
|
|
5156
5160
|
- |-
|
|
5157
5161
|
To make an update replace a sublist's lines, also map the body field
|
|
@@ -5168,8 +5172,8 @@ components:
|
|
|
5168
5172
|
that already hold repeated lines fail the same way once a key is set.
|
|
5169
5173
|
- |-
|
|
5170
5174
|
A key field is read from the existing lines, never written, so a read-only field keys as well
|
|
5171
|
-
as a writable one. The mapper's "Items : Line ID" is `line` (the fulfillment's own line number
|
|
5172
|
-
|
|
5175
|
+
as a writable one. The mapper's "Items : Line ID" is `line` (the fulfillment's own line number;
|
|
5176
|
+
on a fresh full transform it held the same ids as `orderline`) and "Items : Line Number" is `linenum`;
|
|
5173
5177
|
`orderline` and `kitmemberof` are not in its picker — type `item[*].orderline` /
|
|
5174
5178
|
`item[*].kitmemberof` as the destination (the metadata id form of a sublist field; the
|
|
5175
5179
|
document stores `orderline` / `kitmemberof` under `lists[]` with `generate: item`).
|
package/dist/tool.yml
CHANGED
|
@@ -17325,8 +17325,10 @@ components:
|
|
|
17325
17325
|
on placement:
|
|
17326
17326
|
* Line-level (on `lists[].fields[].`
|
|
17327
17327
|
`subRecordMapping`) — the array of lines the
|
|
17328
|
-
sublist iterates (`lineItems`); `$` only
|
|
17329
|
-
each record is itself one line
|
|
17328
|
+
sublist iterates (`lineItems`, `items`); `$` only
|
|
17329
|
+
when each record is itself one line — on an item
|
|
17330
|
+
fulfillment whose lines sat under a field, `$`
|
|
17331
|
+
rendered no subrecord.
|
|
17330
17332
|
* Body-level (on `fields[].subRecordMapping`)
|
|
17331
17333
|
— a path into the source record root.
|
|
17332
17334
|
Defaults to `$`.
|
|
@@ -17717,10 +17719,12 @@ components:
|
|
|
17717
17719
|
one line. Defaults to `$`.
|
|
17718
17720
|
x-celigo-ai-guidance:
|
|
17719
17721
|
- |-
|
|
17720
|
-
|
|
17721
|
-
|
|
17722
|
-
|
|
17723
|
-
(
|
|
17722
|
+
On an item fulfillment whose lines sat under a field of the source record
|
|
17723
|
+
(`items`), an inventory detail with `$` rendered no subrecord for any line and
|
|
17724
|
+
the save failed with `Please configure the inventory detail in line 2 of the
|
|
17725
|
+
item list` (line 2 was its first lot-numbered line); with the line array
|
|
17726
|
+
named (`items`) it saved. Name the line array (`lineItems`, `items`), never
|
|
17727
|
+
the current-line context.
|
|
17724
17728
|
mapping:
|
|
17725
17729
|
type: object
|
|
17726
17730
|
description: |
|
|
@@ -17832,10 +17836,10 @@ components:
|
|
|
17832
17836
|
line that matches none is added as a new line, which an item fulfillment's `item` sublist
|
|
17833
17837
|
refuses with `SSS_INVALID_SUBLIST_OPERATION`: its lines are its order's.
|
|
17834
17838
|
|
|
17835
|
-
On a fulfillment created from an order, a kit's lot
|
|
17836
|
-
|
|
17837
|
-
|
|
17838
|
-
|
|
17839
|
+
On a fulfillment created from an order, a kit's lot-managed components are lines of their own
|
|
17840
|
+
under the kit's line, each with its own `line` and `orderline` (the component's own order
|
|
17841
|
+
line) and `kitmemberof` holding the kit line's id; the inventory detail belongs on those
|
|
17842
|
+
component lines, and a kit line refuses it. Serial- and bin-managed components were not read.
|
|
17839
17843
|
x-celigo-ai-guidance:
|
|
17840
17844
|
- |-
|
|
17841
17845
|
To make an update replace a sublist's lines, also map the body field
|
|
@@ -17852,8 +17856,8 @@ components:
|
|
|
17852
17856
|
that already hold repeated lines fail the same way once a key is set.
|
|
17853
17857
|
- |-
|
|
17854
17858
|
A key field is read from the existing lines, never written, so a read-only field keys as well
|
|
17855
|
-
as a writable one. The mapper's "Items : Line ID" is `line` (the fulfillment's own line number
|
|
17856
|
-
|
|
17859
|
+
as a writable one. The mapper's "Items : Line ID" is `line` (the fulfillment's own line number;
|
|
17860
|
+
on a fresh full transform it held the same ids as `orderline`) and "Items : Line Number" is `linenum`;
|
|
17857
17861
|
`orderline` and `kitmemberof` are not in its picker — type `item[*].orderline` /
|
|
17858
17862
|
`item[*].kitmemberof` as the destination (the metadata id form of a sublist field; the
|
|
17859
17863
|
document stores `orderline` / `kitmemberof` under `lists[]` with `generate: item`).
|
package/package.json
CHANGED