Show / Hide Table of Contents

    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.

    • References AbcCodes
    AnnualVolume Decimal? The annual volume that the part template applies.
    AutomaticReportingMode Int32? The automatic reporting mode that the part template applies.

    • PickingLocation: 1
    • Cleared: 2
    • BufferLocation: 4
    • Project: 8
    CategoryString String The category string that the part template applies.

    • Max length is 15
    Code String The human readable identifier of the part template.

    • Unique
    • Max length is 20
    CountryOfOriginId Int64? The business key identifier of the country of origin that the part template applies.

    • References Countries
    DeductSalesForecast Int32? The sales forecast deduction type that the part template applies.

    • None: 0
    • LeadTime: 1
    • Now: 2
    DeductionMethod Int32? The sales deduction method that the part template applies if a deduct sales forecast type is defined.

    • Percent: 0
    • TimeOrder: 1
    • Closest: 2
    • ClosestBefore: 3
    • PeriodicIntervals: 4
    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.

    • LotForLot: 1
    • FixedQuantity: 2
    • PeriodRequirement: 3
    • Bucketpart: 4
    • Linked: 5
    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.

    • None: 0
    • Transport: 1
    • Label: 2
    • SmallLabel: 3
    • MultiLabel: 4
    • SelectAtPrintout: 5
    SalesLabelType Int32? The sales transport label type that the part template applies.

    • None: 0
    • Transport: 1
    • Label: 2
    • SmallLabel: 3
    • MultiLabel: 4
    • SelectAtPrintout: 5
    PurchaseLabelType Int32? The purchase transport label type that the part template applies.

    • None: 0
    • Transport: 1
    • Label: 2
    • SmallLabel: 3
    • MultiLabel: 4
    • SelectAtPrintout: 5
    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.

    • References PartCodes
    PartType Int32? The part template type that the part template applies.

    • Purchased: 0
    • Manufactured: 1
    • Fictitious: 2
    • Service: 5
    • Subcontract: 6
    PreparerId Int64? The business key identifier of the preparer that the part template applies.

    • References Persons
    ProductGroupId Int64? The business key identifier of the product group that the part template applies.

    • References ProductGroups
    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.

    • Never: 0
    • CustomerOrderRegistration: 1
    • ManufacturingOrderRegistration: 2
    • DeliveryReporting: 3
    SerialNumberGenerationSource Int32? The serial number generation source that the part template applies.

    • NumberSeries: 0
    • Manual: 1
    TemplateType Int32 The template type of the part template.

    • Part: 0
    • ConsumableEquipment: 1
    • ReusableEquipment: 2
    • EquipmentList: 3
    TraceabilityMode Int32? The traceability mode that the part template applies.

    • None: 0
    • Batch: 1
    • Individual: 2
    • IndividualOnlyWithdrawal: 4
    ProfitMarkupId Int64? The business key identifier of the profit markup that the part template applies.

    • References ProfitMarkups
    SalesOverheadMarkupId Int64? The business key identifier of the sales overhead markup that the part template applies.

    • References SalesOverheadMarkups
    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.

    • Quote: 1
    • Prototype: 2
    • New: 3
    • Normal: 4
    • NewRevision: 5
    • PhasingOut: 6
    • Expired: 9
    • Inactive: 99

    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
    }
    
    Back to top Copyright © 2023 Monitor ERP System AB