Options
All
  • Public
  • Public/Protected
  • All
Menu

This class represents the entity "A_ProductSalesDelivery" of service "API_PRODUCT_SRV". This service is part of the following communication scenarios: Product Integration (SAP_COM_0009), Distributed Manufacturing Integration (SAP_COM_0077), SAP Analytics Cloud for Planning Integration (SAP_COM_0087). See https://api.sap.com/api/API_PRODUCT_SRV for more information.

Hierarchy

  • Entity
    • ProductSalesDelivery

Implements

Index

Constructors

Properties

Accessors

Methods

Constructors

constructor

  • Returns ProductSalesDelivery

Properties

Protected _customFields

_customFields: MapType<any>

A mapper representing custom fields in an entity. Custom fields are represented by their field names and the corresponding values. A custom field can be added or updated using setCustomField method.

Protected _versionIdentifier

_versionIdentifier: string

The current ETag version of the entity in the remote system. The ETag identified the version of the in the remote system. It will be automatically set in the "if-match" header of update requests and can be set as a custom header for delete requests. When no ETag is provided by the remote system the value of this variable defaults to "*".

Optional accountDetnProductGroup

accountDetnProductGroup: undefined | string

Account Assignment Group for Material. Group of materials with the same accounting requirements. Used by the system when creating an accounting document from a billing document to determine the revenue or sales deduction account. Maximum length: 2.

nullable

Optional baseUnit

baseUnit: undefined | string

Base Unit of Measure. Unit of measure in which stocks of the material are managed. The system converts all the quantities you enter in other units of measure (alternative units of measure) to the base unit of measure. You define the base unit of measure and also alternative units of measure and their conversion factors in the material master record.Since all data is updated in the base unit of measure, your entry is particularly important for the conversion of alternative units of measure. A quantity in the alternative unit of measure can only be shown precisely if its value can be shown with the decimal places available. To ensure this, please note the following:The base unit of measure is the unit satisfying the highest necessary requirement for precision.The conversion of alternative units of measure to the base unit should result in simple decimal fractions (not, for example, 1/3 = 0.333...).Inventory ManagementIn Inventory Management, the base unit of measure is the same as the stockkeeping unit.ServicesServices have units of measure of their own, including the following:Service unitUnit of measure at the higher item level. The precise quantities of the individual services are each at the detailed service line level.BlanketUnit of measure at service line level for services to be provided once only, and for which no precise quantities can or are to be specified. Maximum length: 3.

nullable

Optional deliveryNoteProcMinDelivQty

deliveryNoteProcMinDelivQty: BigNumber

Minimum Delivery Quantity in Delivery Note Processing. Minimum quantity that may be delivered to a customer.

nullable

Optional deliveryQuantity

deliveryQuantity: BigNumber

Delivery unit. Only exact multiples of this number can be delivered. The delivery unit consists of a number and a unit of measure. In the case of a delivery unit of 30 pieces, 30, 60, 90, and so on pieces can be delivered, but not, however, 100 pieces.

nullable

Optional deliveryQuantityUnit

deliveryQuantityUnit: undefined | string

Unit of measure of delivery unit. Unit of measure that refers to the delivery unit. The delivery unit consists of a number and a unit of measure. In the case of a delivery unit of 30 pieces, 30, 60, 90, and so on pieces can be delivered, but not, however, 100 pieces.Enter a value in this field only if you want to use a unit of measure differing from the base unit of measure.If the field does not contain an entry, the system will assume that the unit of measure is the base unit of measure. Maximum length: 3.

nullable

Optional fifthSalesSpecProductGroup

fifthSalesSpecProductGroup: undefined | string

Product Group 5. You can use product groups when maintaining a product master record. Since these product groups are not used in the standard SAP System, you can use them as required, for example, for analyses. Maximum length: 3.

nullable

Optional firstSalesSpecProductGroup

firstSalesSpecProductGroup: undefined | string

Product Group 1. You can use product groups when maintaining a product master record. Since these product groups are not used in the standard SAP System, you can use them as required, for example, for analyses. Maximum length: 3.

nullable

Optional fourthSalesSpecProductGroup

fourthSalesSpecProductGroup: undefined | string

Product Group 4. You can use product groups when maintaining a product master record. Since these product groups are not used in the standard SAP System, you can use them as required, for example, for analyses. Maximum length: 3.

nullable

Optional isMarkedForDeletion

isMarkedForDeletion: undefined | false | true

Ind.: Flag material for deletion at distribution chain level. If this indicator is set, the archive and delete program checks whether the material may be deleted at distribution chain level, and deletes the data at this level.

nullable

Optional itemCategoryGroup

itemCategoryGroup: undefined | string

Item Category Group from Material Master. A grouping of materials that the system uses to determine item categories during the processing of sales documents. Depending on the item category group that you apply and the sales document type you are processing, the system automatically proposes an item category in the document.In the standard system, for example, there are standard items, items that represent services (and do not require delivery processing), and items that represent packaging materials. Maximum length: 4.

nullable

Optional minimumMakeToOrderOrderQty

minimumMakeToOrderOrderQty: BigNumber

Minimum make-to-order quantity. Minimum quantity allowed when the material is made to order. If the order quantity exceeds an exact multiple of the minimum make-to-order quantity, the system indicates the unplanned additional requirements when it processes the order.

nullable

Optional minimumOrderQuantity

minimumOrderQuantity: BigNumber

Minimum order quantity in base unit of measure. The minimum quantity a customer may order.

nullable

Optional priceSpecificationProductGroup

priceSpecificationProductGroup: undefined | string

Product Pricing Group. A way of grouping products to which you want to apply the same conditions. You can create condition records for a product price group using the following condition types:Product price group (for example, all non-food products)A combination of customer and product price groupA combination of customer price group and product price group (for example, all wholesale customers and all non-food products). Maximum length: 2.

nullable

product

product: string

Product Number. Alphanumeric key uniquely identifying the product. Maximum length: 40.

productDistributionChnl

productDistributionChnl: string

Distribution Channel. The way in which products or services reach the customer. Typical examples of distribution channels are wholesale, retail, or direct sales. You can maintain information about customers and materials by sales organization and distribution channel. Within a sales organization you can deliver goods to a given customer through more than one distribution channel.You can assign a distribution channel to one or more sales organizations. If, for example, you have numerous sales organizations, each sales organization may use the "Wholesale" distribution channel.For each combination of sales organization and distribution channel, you can further assign one or more of the divisions that are defined for the sales organization. You can, for example, assign "Food" and "Non-food" divisions to the "Wholesale" distribution channel. A particular combination of sales organization, distribution channel, and division is known as a sales area. Maximum length: 2.

Optional productHierarchy

productHierarchy: undefined | string

Product Hierarchy. Alphanumeric character string for grouping together materials by combining different characteristics. It is used for analyses and price determination. In the standard SAP System, the product hierarchy can have up to 3 levels, each with a specific number of characters.Level Number of characters allowed1 52 53 8You define a product hierarchy with the following levels:Level Example Description1 00005 Electrical goods2 00003 Wet appliances3 00000001 Washing machineIn this case, a washing machine belongs to the product hierarchy 000050000300000001. Maximum length: 18.

nullable

productSalesOrg

productSalesOrg: string

Sales Organization. An organizational unit responsible for the sale of certain products or services. The responsibility of a sales organization may include legal liability for products and customer claims. You can assign any number of distribution channels and divisions to a sales organization. A particular combination of sales organization, distribution channel, and division is known as a sales area. Maximum length: 4.

Optional productSalesStatus

productSalesStatus: undefined | string

Distribution-chain-specific material status. Indicates whether, for a specific distribution chain, the material may be used in individual functions in Sales. The distribution-chain-specific material status restricts the usability of the material for the distribution chain concerned, that is, it defines whether a warning or error message is displayed if you include the material in a particular function.The material may be a part under development or one to be discontinued. Maximum length: 2.

nullable

Optional productSalesStatusValidityDate

productSalesStatusValidityDate: Moment

Date from which distr.-chain-spec. material status is valid.

nullable

Protected remoteState

remoteState: object

The remote state of the entity. Remote state refers to the last known state of the entity on the remote system from which it has been retrieved or to which it has been posted. It is stored as map, where the keys are stored in the format of VDM properties.

Type declaration

  • [keys: string]: any

Optional salesMeasureUnit

salesMeasureUnit: undefined | string

Sales Unit. Unit of measure in which the material is sold. Maximum length: 3.

nullable

Optional secondSalesSpecProductGroup

secondSalesSpecProductGroup: undefined | string

Product Group 2. You can use product groups when maintaining a product master record. Since these product groups are not used in the standard SAP System, you can use them as required, for example, for analyses. Maximum length: 3.

nullable

Optional supplyingPlant

supplyingPlant: undefined | string

Delivering Plant (Own or External). Plant from which the goods should be delivered to the customer. This plant is automatically copied into the sales order item as the default value.If there is no default value when you process the sales order item, enter a delivering plant.The value proposed in the item is eitherfrom the customer master record of the goods recipient, orfrom the material master recordThe system checks whether it can propose a value (and for your own plants, whether the material has been created in the plant). If the system can propose a value, the plant is copied to the sales order item where you can change it as required. Maximum length: 4.

nullable

Optional thirdSalesSpecProductGroup

thirdSalesSpecProductGroup: undefined | string

Product Group 3. You can use product groups when maintaining a product master record. Since these product groups are not used in the standard SAP System, you can use them as required, for example, for analyses. Maximum length: 3.

nullable

toSalesTax

toSalesTax: ProductSalesTax[]

One-to-many navigation property to the ProductSalesTax entity.

toSalesText

toSalesText: ProductSalesText[]

One-to-many navigation property to the ProductSalesText entity.

Static ACCOUNT_DETN_PRODUCT_GROUP

ACCOUNT_DETN_PRODUCT_GROUP: StringField<ProductSalesDelivery> = new StringField('AccountDetnProductGroup', ProductSalesDelivery, 'Edm.String')

Static representation of the accountDetnProductGroup property for query construction. Use to reference this property in query operations such as 'select' in the fluent request API.

Static ALL_FIELDS

ALL_FIELDS: AllFields<ProductSalesDelivery> = new AllFields('*', ProductSalesDelivery)

All fields selector.

Static BASE_UNIT

BASE_UNIT: StringField<ProductSalesDelivery> = new StringField('BaseUnit', ProductSalesDelivery, 'Edm.String')

Static representation of the baseUnit property for query construction. Use to reference this property in query operations such as 'select' in the fluent request API.

Static DELIVERY_NOTE_PROC_MIN_DELIV_QTY

DELIVERY_NOTE_PROC_MIN_DELIV_QTY: BigNumberField<ProductSalesDelivery> = new BigNumberField('DeliveryNoteProcMinDelivQty', ProductSalesDelivery, 'Edm.Decimal')

Static representation of the deliveryNoteProcMinDelivQty property for query construction. Use to reference this property in query operations such as 'select' in the fluent request API.

Static DELIVERY_QUANTITY

DELIVERY_QUANTITY: BigNumberField<ProductSalesDelivery> = new BigNumberField('DeliveryQuantity', ProductSalesDelivery, 'Edm.Decimal')

Static representation of the deliveryQuantity property for query construction. Use to reference this property in query operations such as 'select' in the fluent request API.

Static DELIVERY_QUANTITY_UNIT

DELIVERY_QUANTITY_UNIT: StringField<ProductSalesDelivery> = new StringField('DeliveryQuantityUnit', ProductSalesDelivery, 'Edm.String')

Static representation of the deliveryQuantityUnit property for query construction. Use to reference this property in query operations such as 'select' in the fluent request API.

Static FIFTH_SALES_SPEC_PRODUCT_GROUP

FIFTH_SALES_SPEC_PRODUCT_GROUP: StringField<ProductSalesDelivery> = new StringField('FifthSalesSpecProductGroup', ProductSalesDelivery, 'Edm.String')

Static representation of the fifthSalesSpecProductGroup property for query construction. Use to reference this property in query operations such as 'select' in the fluent request API.

Static FIRST_SALES_SPEC_PRODUCT_GROUP

FIRST_SALES_SPEC_PRODUCT_GROUP: StringField<ProductSalesDelivery> = new StringField('FirstSalesSpecProductGroup', ProductSalesDelivery, 'Edm.String')

Static representation of the firstSalesSpecProductGroup property for query construction. Use to reference this property in query operations such as 'select' in the fluent request API.

Static FOURTH_SALES_SPEC_PRODUCT_GROUP

FOURTH_SALES_SPEC_PRODUCT_GROUP: StringField<ProductSalesDelivery> = new StringField('FourthSalesSpecProductGroup', ProductSalesDelivery, 'Edm.String')

Static representation of the fourthSalesSpecProductGroup property for query construction. Use to reference this property in query operations such as 'select' in the fluent request API.

Static IS_MARKED_FOR_DELETION

IS_MARKED_FOR_DELETION: BooleanField<ProductSalesDelivery> = new BooleanField('IsMarkedForDeletion', ProductSalesDelivery, 'Edm.Boolean')

Static representation of the isMarkedForDeletion property for query construction. Use to reference this property in query operations such as 'select' in the fluent request API.

Static ITEM_CATEGORY_GROUP

ITEM_CATEGORY_GROUP: StringField<ProductSalesDelivery> = new StringField('ItemCategoryGroup', ProductSalesDelivery, 'Edm.String')

Static representation of the itemCategoryGroup property for query construction. Use to reference this property in query operations such as 'select' in the fluent request API.

Static MINIMUM_MAKE_TO_ORDER_ORDER_QTY

MINIMUM_MAKE_TO_ORDER_ORDER_QTY: BigNumberField<ProductSalesDelivery> = new BigNumberField('MinimumMakeToOrderOrderQty', ProductSalesDelivery, 'Edm.Decimal')

Static representation of the minimumMakeToOrderOrderQty property for query construction. Use to reference this property in query operations such as 'select' in the fluent request API.

Static MINIMUM_ORDER_QUANTITY

MINIMUM_ORDER_QUANTITY: BigNumberField<ProductSalesDelivery> = new BigNumberField('MinimumOrderQuantity', ProductSalesDelivery, 'Edm.Decimal')

Static representation of the minimumOrderQuantity property for query construction. Use to reference this property in query operations such as 'select' in the fluent request API.

Static PRICE_SPECIFICATION_PRODUCT_GROUP

PRICE_SPECIFICATION_PRODUCT_GROUP: StringField<ProductSalesDelivery> = new StringField('PriceSpecificationProductGroup', ProductSalesDelivery, 'Edm.String')

Static representation of the priceSpecificationProductGroup property for query construction. Use to reference this property in query operations such as 'select' in the fluent request API.

Static PRODUCT

PRODUCT: StringField<ProductSalesDelivery> = new StringField('Product', ProductSalesDelivery, 'Edm.String')

Static representation of the product property for query construction. Use to reference this property in query operations such as 'select' in the fluent request API.

Static PRODUCT_DISTRIBUTION_CHNL

PRODUCT_DISTRIBUTION_CHNL: StringField<ProductSalesDelivery> = new StringField('ProductDistributionChnl', ProductSalesDelivery, 'Edm.String')

Static representation of the productDistributionChnl property for query construction. Use to reference this property in query operations such as 'select' in the fluent request API.

Static PRODUCT_HIERARCHY

PRODUCT_HIERARCHY: StringField<ProductSalesDelivery> = new StringField('ProductHierarchy', ProductSalesDelivery, 'Edm.String')

Static representation of the productHierarchy property for query construction. Use to reference this property in query operations such as 'select' in the fluent request API.

Static PRODUCT_SALES_ORG

PRODUCT_SALES_ORG: StringField<ProductSalesDelivery> = new StringField('ProductSalesOrg', ProductSalesDelivery, 'Edm.String')

Static representation of the productSalesOrg property for query construction. Use to reference this property in query operations such as 'select' in the fluent request API.

Static PRODUCT_SALES_STATUS

PRODUCT_SALES_STATUS: StringField<ProductSalesDelivery> = new StringField('ProductSalesStatus', ProductSalesDelivery, 'Edm.String')

Static representation of the productSalesStatus property for query construction. Use to reference this property in query operations such as 'select' in the fluent request API.

Static PRODUCT_SALES_STATUS_VALIDITY_DATE

PRODUCT_SALES_STATUS_VALIDITY_DATE: DateField<ProductSalesDelivery> = new DateField('ProductSalesStatusValidityDate', ProductSalesDelivery, 'Edm.DateTime')

Static representation of the productSalesStatusValidityDate property for query construction. Use to reference this property in query operations such as 'select' in the fluent request API.

Static SALES_MEASURE_UNIT

SALES_MEASURE_UNIT: StringField<ProductSalesDelivery> = new StringField('SalesMeasureUnit', ProductSalesDelivery, 'Edm.String')

Static representation of the salesMeasureUnit property for query construction. Use to reference this property in query operations such as 'select' in the fluent request API.

Static SECOND_SALES_SPEC_PRODUCT_GROUP

SECOND_SALES_SPEC_PRODUCT_GROUP: StringField<ProductSalesDelivery> = new StringField('SecondSalesSpecProductGroup', ProductSalesDelivery, 'Edm.String')

Static representation of the secondSalesSpecProductGroup property for query construction. Use to reference this property in query operations such as 'select' in the fluent request API.

Static SUPPLYING_PLANT

SUPPLYING_PLANT: StringField<ProductSalesDelivery> = new StringField('SupplyingPlant', ProductSalesDelivery, 'Edm.String')

Static representation of the supplyingPlant property for query construction. Use to reference this property in query operations such as 'select' in the fluent request API.

Static THIRD_SALES_SPEC_PRODUCT_GROUP

THIRD_SALES_SPEC_PRODUCT_GROUP: StringField<ProductSalesDelivery> = new StringField('ThirdSalesSpecProductGroup', ProductSalesDelivery, 'Edm.String')

Static representation of the thirdSalesSpecProductGroup property for query construction. Use to reference this property in query operations such as 'select' in the fluent request API.

Static TO_SALES_TAX

TO_SALES_TAX: Link<ProductSalesDelivery, ProductSalesTax> = new Link('to_SalesTax', ProductSalesDelivery, ProductSalesTax)

Static representation of the one-to-many navigation property toSalesTax for query construction. Use to reference this property in query operations such as 'select' in the fluent request API.

Static TO_SALES_TEXT

TO_SALES_TEXT: Link<ProductSalesDelivery, ProductSalesText> = new Link('to_SalesText', ProductSalesDelivery, ProductSalesText)

Static representation of the one-to-many navigation property toSalesText for query construction. Use to reference this property in query operations such as 'select' in the fluent request API.

Static _allFields

_allFields: Array<StringField<ProductSalesDelivery> | BigNumberField<ProductSalesDelivery> | DateField<ProductSalesDelivery> | BooleanField<ProductSalesDelivery> | Link<ProductSalesDelivery, ProductSalesTax> | Link<ProductSalesDelivery, ProductSalesText>> = [ProductSalesDelivery.PRODUCT,ProductSalesDelivery.PRODUCT_SALES_ORG,ProductSalesDelivery.PRODUCT_DISTRIBUTION_CHNL,ProductSalesDelivery.MINIMUM_ORDER_QUANTITY,ProductSalesDelivery.SUPPLYING_PLANT,ProductSalesDelivery.PRICE_SPECIFICATION_PRODUCT_GROUP,ProductSalesDelivery.ACCOUNT_DETN_PRODUCT_GROUP,ProductSalesDelivery.DELIVERY_NOTE_PROC_MIN_DELIV_QTY,ProductSalesDelivery.ITEM_CATEGORY_GROUP,ProductSalesDelivery.DELIVERY_QUANTITY_UNIT,ProductSalesDelivery.DELIVERY_QUANTITY,ProductSalesDelivery.PRODUCT_SALES_STATUS,ProductSalesDelivery.PRODUCT_SALES_STATUS_VALIDITY_DATE,ProductSalesDelivery.SALES_MEASURE_UNIT,ProductSalesDelivery.IS_MARKED_FOR_DELETION,ProductSalesDelivery.PRODUCT_HIERARCHY,ProductSalesDelivery.FIRST_SALES_SPEC_PRODUCT_GROUP,ProductSalesDelivery.SECOND_SALES_SPEC_PRODUCT_GROUP,ProductSalesDelivery.THIRD_SALES_SPEC_PRODUCT_GROUP,ProductSalesDelivery.FOURTH_SALES_SPEC_PRODUCT_GROUP,ProductSalesDelivery.FIFTH_SALES_SPEC_PRODUCT_GROUP,ProductSalesDelivery.MINIMUM_MAKE_TO_ORDER_ORDER_QTY,ProductSalesDelivery.BASE_UNIT,ProductSalesDelivery.TO_SALES_TAX,ProductSalesDelivery.TO_SALES_TEXT]

All fields of the ProductSalesDelivery entity.

Static _defaultServicePath

_defaultServicePath: string = "/sap/opu/odata/sap/API_PRODUCT_SRV"

Default url path for the according service.

Static _entityName

_entityName: string = "A_ProductSalesDelivery"

Technical entity name for ProductSalesDelivery.

Static _keyFields

_keyFields: Array<Selectable<ProductSalesDelivery>> = [ProductSalesDelivery.PRODUCT, ProductSalesDelivery.PRODUCT_SALES_ORG, ProductSalesDelivery.PRODUCT_DISTRIBUTION_CHNL]

All key fields of the ProductSalesDelivery entity.

Static _keys

_keys: object = ProductSalesDelivery._keyFields.reduce((acc: { [keys: string]: Selectable<ProductSalesDelivery> }, field: Selectable<ProductSalesDelivery>) => {acc[field._fieldName] = field;return acc;}, {})

Mapping of all key field names to the respective static field property ProductSalesDelivery.

Type declaration

Static _serviceName

_serviceName: string = "API_PRODUCT_SRV"
deprecated

Since v1.0.1 Use _defaultServicePath instead. Technical service name for ProductSalesDelivery.

Accessors

versionIdentifier

  • get versionIdentifier(): string
  • ETag version identifier accessor.

    Returns string

    The ETag version identifier of the retrieved entity, returns undefined if not retrieved

Methods

Protected getCurrentMapKeys

  • getCurrentMapKeys(): Entity
  • Returns a map of all defined fields in entity to their current values.

    Returns Entity

    Entity with all defined entity fields

getCustomField

  • getCustomField(fieldName: string): any
  • Custom field value getter.

    Parameters

    • fieldName: string

      The name of the custom field

    Returns any

    The value of the corresponding custom field

getCustomFields

  • getCustomFields(): MapType<any>
  • Returns a map that contains all entity custom fields.

    Returns MapType<any>

    A map of all defined custom fields in the entity

getUpdatedCustomFields

  • getUpdatedCustomFields(): MapType<any>
  • Returns all updated custom field properties compared to the last known remote state.

    Returns MapType<any>

    A map containing all updated custom properties, with their new values

getUpdatedProperties

  • getUpdatedProperties(): Entity
  • Returns all changed properties compared to the last known remote state. The returned properties does not include custom fields. Use getUpdatedCustomFields, if updated custom fields are needed.

    Returns Entity

    Entity with all properties that changed

hasCustomField

  • hasCustomField(fieldName: string): boolean
  • Validates whether a custom field exists in the entity.

    Parameters

    • fieldName: string

      The name of the custom field to update

    Returns boolean

    A boolean value, that indicates whether a custom field is defined in entity

initializeCustomFields

  • initializeCustomFields(customFields: MapType<any>): this
  • Sets all retrieved custom fields in entity.

    Parameters

    • customFields: MapType<any>

      Extracted custom fields from a retrieved entity

    Returns this

    A boolean value, that indicates the existence of the field in entity

Protected isConflictingCustomField

  • isConflictingCustomField(customFieldName: string): boolean
  • Validates whether a field name does not conflict with an original field name and thus can be defined as custom fields.

    Parameters

    • customFieldName: string

      Field name to check

    Returns boolean

    Boolean value that describes whether a field name can be defined as custom field

setCustomField

  • setCustomField(fieldName: string, value: any): this
  • Sets a new custom field in the entity or updates it. Throws an error, if the provided custom field name is already defined by an original field in entity.

    Parameters

    • fieldName: string

      The name of the custom field to update

    • value: any

      The value of the field

    Returns this

    The entity itself, to facilitate method chaining

setOrInitializeRemoteState

  • setOrInitializeRemoteState(state?: MapType<any>): this
  • Initializes or sets the remoteState of the entity. This function is called on all read, create and update requests. This function should be called after initializeCustomFields, if custom fields are defined.

    deprecated

    Since 1.12.0. Will be removed in version 2.0.

    Parameters

    • Optional state: MapType<any>

      State to be set as remote state

    Returns this

    The entity itself, to facilitate method chaining

setVersionIdentifier

  • setVersionIdentifier(etag: string | undefined): this
  • Set the ETag version identifier of the retrieved entity.

    Parameters

    • etag: string | undefined

      The returned ETag version of the entity

    Returns this

    The entity itself, to facilitate method chaining

toJSON

  • toJSON(): object
  • Overwrites the default toJSON method so that all instance variables as well as all custom fields of the entity are returned.

    Returns object

    An object containing all instance variables + custom fields.

    • [key: string]: any

Static builder

Static customField

  • Returns a selectable object that allows the selection of custom field in a get request for the entity ProductSalesDelivery.

    Parameters

    • fieldName: string

      Name of the custom field to select

    Returns CustomField<ProductSalesDelivery>

    A builder that constructs instances of entity type ProductSalesDelivery.

Static Protected customFieldSelector

  • customFieldSelector<EntityT>(fieldName: string, entityConstructor: Constructable<EntityT>): CustomField<EntityT>
  • Type parameters

    • EntityT: Entity

    Parameters

    • fieldName: string
    • entityConstructor: Constructable<EntityT>

    Returns CustomField<EntityT>

Static Protected entityBuilder

  • entityBuilder<EntityT, EntityTypeForceMandatoryT>(entityConstructor: Constructable<EntityT, EntityTypeForceMandatoryT>): EntityBuilderType<EntityT, EntityTypeForceMandatoryT>
  • Type parameters

    • EntityT: Entity

    • EntityTypeForceMandatoryT

    Parameters

    • entityConstructor: Constructable<EntityT, EntityTypeForceMandatoryT>

    Returns EntityBuilderType<EntityT, EntityTypeForceMandatoryT>

Static requestBuilder

  • Returns a request builder to construct requests for operations on the ProductSalesDelivery entity type.

    Returns ProductSalesDeliveryRequestBuilder

    A ProductSalesDelivery request builder.