ResponsePurchaseOrderLineItemDto¶
Example Json Object
1{
2 "code": "UPDATED",
3 "message": "string",
4 "defaultMessage": "string",
5 "debugMessage": "string",
6 "errors": {
7 "all": [
8 {
9 "type": "GENERIC",
10 "source": {},
11 "errorMessage": "string",
12 "field": "string",
13 "errorKey": "string"
14 }
15 ]
16 },
17 "object": {
18 "id": 0,
19 "displayId": "string",
20 "quantity": 0,
21 "allocatedQuantity": 0,
22 "receivedQuantity": 0,
23 "unitPrice": 0,
24 "description": "string",
25 "expenseCategory": {
26 "id": 0,
27 "displayId": "string",
28 "status": "CREATED",
29 "name": "string",
30 "expenseCategoryType": "PAYMENT"
31 },
32 "costCenter": {
33 "id": 0,
34 "displayId": "string",
35 "status": "CREATED",
36 "name": "string",
37 "erpSystemId": 0
38 },
39 "profitCenter": {
40 "id": 0,
41 "displayId": "string",
42 "status": "CREATED",
43 "name": "string",
44 "validTo": "2019-08-24",
45 "erpSystemId": 0,
46 "erpSystemDisplayId": "string"
47 },
48 "taxJurisdiction": {
49 "id": 0,
50 "displayId": "string",
51 "status": "CREATED",
52 "name": "string",
53 "erpSystemId": 0,
54 "schema": "string",
55 "countryDisplayId": "string"
56 },
57 "taxCode": {
58 "id": 0,
59 "displayId": "string",
60 "status": "CREATED",
61 "name": "string",
62 "erpSystemId": 0
63 },
64 "taxLineItems": [
65 {
66 "id": 0,
67 "taxRate": 0.1,
68 "taxAmount": 0,
69 "taxType": "string",
70 "purchaseOrderLineItemId": 0
71 }
72 ],
73 "purchaseOrderId": 0,
74 "purchaseOrderDisplayId": "string",
75 "purchaseOrderState": "INV_DRAFT",
76 "invoiceLineItems": [
77 {
78 "id": 0,
79 "displayId": "string",
80 "expenseCategory": {
81 "id": 0,
82 "displayId": "string",
83 "status": "CREATED",
84 "name": "string",
85 "expenseCategoryType": "PAYMENT"
86 },
87 "description": "string",
88 "unitOfMeasure": {
89 "id": 0,
90 "displayId": "string",
91 "status": "CREATED",
92 "name": "string",
93 "erpSystemId": 0
94 },
95 "quantity": 0,
96 "unitPrice": 0,
97 "taxJurisdiction": {
98 "id": 0,
99 "displayId": "string",
100 "status": "CREATED",
101 "name": "string",
102 "erpSystemId": 0,
103 "schema": "string",
104 "countryDisplayId": "string"
105 },
106 "taxCode": {
107 "id": 0,
108 "displayId": "string",
109 "status": "CREATED",
110 "name": "string",
111 "erpSystemId": 0
112 },
113 "taxExpenseAccount": {
114 "id": 0,
115 "displayId": "string",
116 "generalLedgerAccountName": "string",
117 "generalLedgerAccountCode": "string",
118 "openItemManagement": true,
119 "accountCategory": "BALANCESHEET",
120 "shortName": "string",
121 "longName": "string"
122 },
123 "taxLineItems": [
124 {
125 "id": 0,
126 "taxRate": 0.1,
127 "taxAmount": 0,
128 "taxType": "string",
129 "invoiceLineItemId": 0
130 }
131 ],
132 "workBreakdownStructure": {
133 "id": 0,
134 "displayId": "string",
135 "status": "CREATED",
136 "name": "string",
137 "erpSystemId": 0
138 },
139 "costCenter": {
140 "id": 0,
141 "displayId": "string",
142 "status": "CREATED",
143 "name": "string",
144 "erpSystemId": 0
145 },
146 "profitCenter": {
147 "id": 0,
148 "displayId": "string",
149 "status": "CREATED",
150 "name": "string",
151 "validTo": "2019-08-24",
152 "erpSystemId": 0,
153 "erpSystemDisplayId": "string"
154 },
155 "functionalArea": {
156 "id": 0,
157 "displayId": "string",
158 "status": "CREATED",
159 "name": "string",
160 "erpSystemId": 0
161 },
162 "businessArea": {
163 "id": 0,
164 "displayId": "string",
165 "status": "CREATED",
166 "name": "string",
167 "erpSystemId": 0
168 },
169 "segment": {
170 "id": 0,
171 "displayId": "string",
172 "status": "CREATED",
173 "name": "string",
174 "erpSystemId": 0
175 },
176 "network": {
177 "id": 0,
178 "displayId": "string",
179 "status": "CREATED",
180 "name": "string",
181 "erpSystemId": 0
182 },
183 "internalOrderType": {
184 "id": 0,
185 "displayId": "string",
186 "status": "CREATED",
187 "name": "string",
188 "erpSystemId": 0
189 },
190 "internalOrder": {
191 "id": 0,
192 "displayId": "string",
193 "status": "CREATED",
194 "name": "string",
195 "erpSystemId": 0,
196 "internalOrderTypeId": 0
197 },
198 "additionalCurrencies": [
199 {
200 "id": 0,
201 "amount": 0,
202 "currency": {
203 "id": 0,
204 "displayId": "string",
205 "status": "CREATED",
206 "name": "string",
207 "decimalPoints": 0
208 },
209 "conversionRate": 0,
210 "conversionDate": "2019-08-24",
211 "translationDateType": "DOCUMENT_DATE",
212 "amountType": "NET_AMOUNT",
213 "currencyDefinitionType": "CONTRACT_CURRENCY",
214 "invoiceEntryId": 0,
215 "invoiceEntryDisplayId": "string"
216 }
217 ],
218 "scheduledPaymentMatches": [
219 {
220 "id": 0,
221 "fromId": 0,
222 "toId": 0,
223 "amount": 0
224 }
225 ],
226 "goodsReceiptLineItemLinks": [
227 {
228 "id": 0,
229 "fromId": 0,
230 "toId": 0,
231 "linkedQuantity": 0
232 }
233 ],
234 "invoiceId": 0,
235 "invoiceDisplayId": "string",
236 "invoiceState": "INV_DRAFT",
237 "vendorPaymentId": 0,
238 "purchaseOrderLineItemId": 0,
239 "netAmount": 0,
240 "allowsSystemGenerateNewId": true,
241 "numberRangeIdentifierValue": "string",
242 "numberRangeIdentifierType": {
243 "name": "string"
244 },
245 "numberRangeType": {
246 "name": "string"
247 }
248 }
249 ],
250 "goodsReceiptLineItems": [
251 {
252 "id": 0,
253 "displayId": "string",
254 "quantity": 0,
255 "invoicedQuantity": 0,
256 "description": "string",
257 "expenseCategory": {
258 "id": 0,
259 "displayId": "string",
260 "status": "CREATED",
261 "name": "string",
262 "expenseCategoryType": "PAYMENT"
263 },
264 "goodsReceiptId": 0,
265 "goodsReceiptDisplayId": "string",
266 "goodsReceiptState": "INV_DRAFT",
267 "purchaseOrderLineItemId": 0,
268 "invoiceLineItemLinks": [
269 {
270 "id": 0,
271 "fromId": 0,
272 "toId": 0,
273 "linkedQuantity": 0
274 }
275 ],
276 "availableQuantity": 0,
277 "allowsSystemGenerateNewId": true,
278 "numberRangeIdentifierValue": "string",
279 "numberRangeIdentifierType": {
280 "name": "string"
281 },
282 "numberRangeType": {
283 "name": "string"
284 }
285 }
286 ],
287 "vendorPaymentId": 0,
288 "purchaseRequisitionLineItemId": 0,
289 "purchaseRequisitionDisplayId": "string",
290 "purchaseRequisitionLineItemAvailableQuantity": 0,
291 "remainingQuantity": 0,
292 "availableQuantity": 0,
293 "allowsSystemGenerateNewId": true,
294 "numberRangeIdentifierValue": "string",
295 "numberRangeIdentifierType": {
296 "name": "string"
297 },
298 "numberRangeType": {
299 "name": "string"
300 }
301 }
302}
📄 Description: Data transfer object representing a line item within a purchase order, detailing product specifications, quantities, and pricing information essential for effective procurement and inventory management.
Properties
Name |
Type |
Required |
Restrictions |
Description |
|---|---|---|---|---|
code |
string |
false |
none |
Code identifier for the resource |
message |
string |
false |
write-only |
Textual representation of the message associated with the purchase order line item, providing essential context or notes for business transactions. |
defaultMessage |
string |
false |
write-only |
Default message associated with the purchase order line item, used to provide additional context or instructions for processing. |
debugMessage |
string |
false |
write-only |
Provides detailed information about any errors or issues encountered during the processing of a purchase order line item. |
errors |
false |
none |
Collection of error messages related to the processing of the purchase order line item, providing insights for troubleshooting and resolution. |
|
object |
false |
none |
Represents the detailed information of a specific line item within a purchase order, facilitating efficient order management and tracking. |
Enumerated Values
Attribute |
Value |
|---|---|
code |
API_CALL_FAILED, ATTACHED, BAD_REQUEST, DATA_VALIDATION_ERROR, DELETED, DETACHED, INTERNAL_SYSTEM_ERROR, NULL_RESPONSE, OK, OK_BUT_RESPONSE_INVALID, REQUEST_VALIDATION_ERROR, SERVICE_VALIDATION_ERROR, UPDATED |