PartTemplates
Queryable, Introduced in version 2.47
GET https://localhost:8001/sv/001.1/api/v1/Inventory/PartTemplates
Represents a part template.
GUID
429950a6-1de2-4eb6-b509-77cd0c55c9e1
Required permission
Show basic data for part
Properties
| Name | Type | Summary | Introduced in |
|---|---|---|---|
| Id | Int64 | The business key identifier of the part template. |
|
| AbcCodeId | Int64? | The business key identifier of the ABC code that the part template applies.
|
|
| AnnualVolume | Decimal? | The annual volume that the part template applies. |
|
| AutomaticReportingMode | Int32? | The automatic reporting mode that the part template applies.
|
|
| CategoryString | String | The category string that the part template applies.
|
|
| Code | String | The human readable identifier of the part template.
|
|
| CountryOfOriginId | Int64? | The business key identifier of the country of origin that the part template applies.
|
|
| DeductSalesForecast | Int32? | The sales forecast deduction type that the part template applies.
|
|
| DeductionMethod | Int32? | The sales deduction method that the part template applies if a deduct sales forecast type is defined.
|
|
| Description | String | The description of the part template. |
|
| Eoq | Decimal? | The EOQ that the part template applies. |
|
| IsActive | Boolean | Specifies whether or not the part template is active. |
|
| IsDefault | Boolean | Specifies whether or not the part template is the default part template. |
|
| IsPreset | Boolean | Specifies whether or not the part template is a preset. |
|
| LotSizingRule | Int32? | The lot sizing rule that the part template applies.
|
|
| ManageStockBalance | Boolean? | The stock balance management strategy that the part template applies. |
|
| UseRandomLocationStorage | Boolean? | The random location storage strategy that the part template applies. |
|
| AllowOrderCreationFromCustomerOrder | Boolean? | The customer order creation permission that the part template applies. |
|
| RoundingBase | Decimal? | The rounding base that the part template applies. |
|
| LeadTime | TimeSpan? | The lead time that the part template applies. |
|
| ManufacturingLabelType | Int32? | The manufacturing transport label type that the part template applies.
|
|
| SalesLabelType | Int32? | The sales transport label type that the part template applies.
|
|
| PurchaseLabelType | Int32? | The purchase transport label type that the part template applies.
|
|
| UseInCalculation | Boolean | Whether or not the parts that derive from the part template should be used in calculations. |
|
| PartCodeId | Int64? | The business key identifier of the part code that the part template applies.
|
|
| PartType | Int32? | The part template type that the part template applies.
|
|
| PreparerId | Int64? | The business key identifier of the preparer that the part template applies.
|
|
| ProductGroupId | Int64? | The business key identifier of the product group that the part template applies.
|
|
| ReorderPoint | Decimal? | The reorder point that the part template applies. |
|
| SafetyStock | Decimal? | The safety stock that the part template applies. |
|
| SafetyTime | TimeSpan? | The safety time that the part template applies. |
|
| SerialNumberGeneration | Int32? | The serial number generation strategy that the part template applies.
|
|
| SerialNumberGenerationSource | Int32? | The serial number generation source that the part template applies.
|
|
| TemplateType | Int32 | The template type of the part template.
|
|
| TraceabilityMode | Int32? | The traceability mode that the part template applies.
|
|
| ProfitMarkupId | Int64? | The business key identifier of the profit markup that the part template applies.
|
|
| SalesOverheadMarkupId | Int64? | The business key identifier of the sales overhead markup that the part template applies.
|
|
| PartActivityTemplateId | Int64? | The business key identifier of the part activity template that the part template applies. References PartActivityTemplate. |
|
| PartStatus | Int32? | The part status that the part template applies.
|
|
| LithuanianCountyOfOrigin | Int32? | The county of origin that the part template applies. Only used in the Lithuanian country package.
|
Introduced in version 25.8 |
Example
{
"Id": 0,
"AbcCodeId": null,
"AnnualVolume": null,
"AutomaticReportingMode": null,
"CategoryString": null,
"Code": null,
"CountryOfOriginId": null,
"DeductSalesForecast": null,
"DeductionMethod": null,
"Description": null,
"Eoq": null,
"IsActive": false,
"IsDefault": false,
"IsPreset": false,
"LotSizingRule": null,
"ManageStockBalance": null,
"UseRandomLocationStorage": null,
"AllowOrderCreationFromCustomerOrder": null,
"RoundingBase": null,
"LeadTime": null,
"ManufacturingLabelType": null,
"SalesLabelType": null,
"PurchaseLabelType": null,
"UseInCalculation": false,
"PartCodeId": null,
"PartType": null,
"PreparerId": null,
"ProductGroupId": null,
"ReorderPoint": null,
"SafetyStock": null,
"SafetyTime": null,
"SerialNumberGeneration": null,
"SerialNumberGenerationSource": null,
"TemplateType": 0,
"TraceabilityMode": null,
"ProfitMarkupId": null,
"SalesOverheadMarkupId": null,
"PartActivityTemplateId": null,
"PartStatus": null,
"LithuanianCountyOfOrigin": null
}