AddRow
Command, Introduced in version 2.18
POST https://localhost:8001/sv/001.1/api/v1/Sales/Quotes/AddRow
Adds a row to a quote.
Returns EntityCommandResponse
The root entity id of the response is the business key identifier of the quote that the row was added to. References Quotes
The entity id of the response is the business key identifier of the added quote row. References QuoteRows
Required permission
Modify quote
Properties
Name | Type | Summary | Introduced in |
---|---|---|---|
QuoteId | Int64 | The business key identifier of the quote to add a row to. References Quotes
|
|
PartId | Int64? | The business key identifier of the part to set on the row. Only applies to part and additional rows. References Parts |
|
PartConfigurationSessionId | Guid? | The session id of the part configuration to apply for the quote row. |
Introduced in version 2.33 |
AdditionalPartCode | String | The additional part code to set for the row.
|
|
PartDescription | String | The part description to set for the row. Only applies for part and additional rows.
|
|
TextRowData | String | The text row data to set for the row. Only applies to text rows.
|
|
OrderedQuantity | Decimal | The quantity to set for the row in the part's customer order unit.
|
|
Price | Decimal? | The price to set for the row in the quote currency.
|
|
SetupPrice | Decimal? | The setup price to set for the row in the quote currency.
|
|
WarehouseId | Int64? | The business key identifier of the warehouse to set for the quote row. References Warehouses
|
|
OrderRowType | Int32 | The row type to set for the quote row.
|
|
DeliveryDate | DateTimeOffset? | The delivery date to set for the row. |
|
Discount | Decimal? | Sets the discount of the row.
|
|
SubRowContent | String | Creates a new free text sub row of this row with the specified content as text row data.
|
|
InsertRowBeforeId | Int64? | The Id of the order row you want to insert before. If null the row will be added last. References QuoteRows. |
Introduced in version 2.22 |
InsertRowAfterId | Int64? | The Id of the order row you want to insert after. If null the row will be added last. References QuoteRows. |
Introduced in version 2.22 |
WeightPerUnit | Decimal? | The weight per unit of the row. |
Introduced in version 2.36 |
RowsGoodsLabel | String | The goods label of the row |
Introduced in version 2.40 |
AlternatePreparationCode | String | The alternate preparation code of the row |
Introduced in version 2.40 |
UnitId | Int64? | The business key identifier of the unit to set for the row.
|
Introduced in version 2.48 |
ShowFreeTextIn | Int32? | Specifies which documents the free text data of the row should be projected on.
|
Introduced in version 2.55 |
CodingRows | SetProductGroupCodingRow[] | Set coding rows on the quote row's coding.
|
Introduced in version 2.55 |
PartConfigurationIdInRemoteCompany | Int64? | The business key identifier of the row's part configuration in the remote company.
|
Introduced in version 23.2 |
RemotePartConfigurationRows | SetRemotePartConfigurationRow[] | The remote configuration result price definition rows that belong to the quote row. Should only be specified when PartConfigurationIdInRemoteCompany is provided.
|
Introduced in version 24.8 |
PriceLockedFromAutomaticChanges | Boolean? | If the rows price is locked from automatic changes.
|
Introduced in version 24.2 |
RevisionId | Int64? | The business key identifier of the revision to set for the row.
|
Introduced in version 24.6 |
SumRowDetail | SumRowDetail | The sum row details to set for the row.
|
Introduced in version 24.6 |
StatisticalGoodsCodeId | Int64? | The business key identifier of the row's statistical goods code. References |
Introduced in version 25.1 |
Example
{
"QuoteId": 0,
"PartId": null,
"PartConfigurationSessionId": null,
"AdditionalPartCode": null,
"PartDescription": null,
"TextRowData": null,
"OrderedQuantity": 0.0,
"Price": null,
"SetupPrice": null,
"WarehouseId": null,
"OrderRowType": 0,
"DeliveryDate": null,
"Discount": null,
"SubRowContent": null,
"InsertRowBeforeId": null,
"InsertRowAfterId": null,
"WeightPerUnit": null,
"RowsGoodsLabel": null,
"AlternatePreparationCode": null,
"UnitId": null,
"ShowFreeTextIn": null,
"CodingRows": null,
"PartConfigurationIdInRemoteCompany": null,
"RemotePartConfigurationRows": null,
"PriceLockedFromAutomaticChanges": null,
"RevisionId": null,
"SumRowDetail": null,
"StatisticalGoodsCodeId": null
}