Options
All
  • Public
  • Public/Protected
  • All
Menu

This class represents the entity "A_PurgPrcgCndnRecdValidity" of service "API_PURGPRCGCONDITIONRECORD_SRV". This service is part of the following communication scenarios: Pricing Data Integration (SAP_COM_0294). See https://api.sap.com/api/API_PURGPRCGCONDITIONRECORD_SRV for more information.

Hierarchy

  • Entity
    • PurgPrcgCndnRecdValidity

Implements

Index

Constructors

Properties

Methods

Constructors

constructor

  • Returns PurgPrcgCndnRecdValidity

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 accountTaxType

accountTaxType: string

Tax type. Classification of companies according to tax aspects. Maximum length: 2.

nullable

Optional acctAssgmtTaxClassification

acctAssgmtTaxClassification: string

Tax Indicator: Account Assignment (Purchasing). Tax indicator for account assignment. The tax indicator is used in the automatic determination of the tax indicator in Purchasing.If you have taxable and non-taxable account assignments, you can define two tax indicators with the aid of which different tax codes can be determined. Maximum length: 1.

nullable

Optional activeSupplierSubrange

activeSupplierSubrange: string

Supplier Subrange. Subdivision of a supplier's overall product range according to various criteria. For each supplier sub-range:The master data is kept on a common basisCertain conditions applyIn the supplier master, you can create different purchasing data and different partner functions for each supplier sub-range.You can also maintain and change the conditions for each supplier sub-range. You assign a material to a supplier sub-range in the info record.In the supplier master, you can maintain different data for particular supplier sub-ranges, such as ordering addresses or terms of payment, for example.When creating a purchase order with a known supplier, different data is only determined if the supplier sub-range is entered in the initial screen.Your supplier Smith in Houston has two sub-ranges: paint and glue.All materials from the "paint" sub-range are ordered in Houston.You have maintained an alternative ordering address in Detroit for the "glue" sub-range.If you order materials from the "glue" sub-range, the supplier sub-range finds the Detroit ordering address. Maximum length: 6.

nullable

Optional billToParty

billToParty: string

Bill-To Party. Maximum length: 10.

nullable

Optional companyCode

companyCode: string

Company Code. The company code is an organizational unit within financial accounting. Maximum length: 4.

nullable

Optional conditionApplication

conditionApplication: string

Application. Subdivides the usage of a condition (for example, pricing) for use in different application areas (for example, sales & distribution or purchasing). Maximum length: 2.

nullable

Optional conditionContract

conditionContract: string

Condition Contract. Maximum length: 10.

nullable

conditionRecord

conditionRecord: string

Number of the Condition Record. Number that uniquely identifies a condition record. The system uses the condition record number to store and retrieve information during processing (pricing, for example). Maximum length: 10.

Optional conditionReleaseStatus

conditionReleaseStatus: string

Release status. The release status controls in which scenarios the condition records are found. If the status is set at 'B', for example, then the corresponding records are taken into account during a pricing simulation, but are not used in current documents.The release status can only be maintained directly for agreements (sales deals). For condition records, this is done via the processing status for conditions. Maximum length: 1.

nullable

Optional conditionType

conditionType: string

Condition Type. The key that uniquely identifies the condition. The condition type indicates, for example, whether, during pricing, the system applies a price, a discount, a surcharge, or other pricing elements, such as freight costs and sales taxes. For each of these pricing elements, there is a condition type defined in the system. Maximum length: 4.

nullable

conditionValidityEndDate

conditionValidityEndDate: Moment

Validity end date of the condition record. The date up to which the condition is valid.

Optional conditionValidityStartDate

conditionValidityStartDate: Moment

Validity start date of the condition record. Date from which the condition is valid.

nullable

Optional country

country: string

Country Key. Here you specify the country key for the customer or vendor. Maximum length: 3.

nullable

Optional destinationCountry

destinationCountry: string

Destination Country. Identifies the destination country in which the goods are delivered to the customer. As a general rule, it is best to use the existing international standards for identifying vehicles from different countries (for example: USA = United States, I = Italy, and so on).The system uses the country key identifier to:Help determine the appropriate taxes during pricingDetermine important country-specific standards (the length of postal codes and bank account numbers, for example)When you process billing documents collectively, you can use the destination country as one of the selection criteria. Maximum length: 3.

nullable

Optional eTag

eTag: string

E Tag. Maximum length: 40.

nullable

Optional importTaxClassification

importTaxClassification: string

Tax indicator: Import. Tax indicator for import. The tax indicator is set in purchasing documents if the country of origin differs from the country of destination of the goods.Specify the transaction to which the tax code is to apply. In doing so, make use of the "possible entries" facility. Maximum length: 1.

nullable

Optional inGstSupplierClassification

inGstSupplierClassification: string

Vendor Classification for GST. Indicates the categorization of vendors according to their registration status in the Goods and Services Tax regime. The different categories include:RegisteredNot RegisteredCompounding SchemeEconomic Zone. Maximum length: 1.

nullable

Optional incotermsClassification

incotermsClassification: string

Incoterms (Part 1). Commonly used trading terms that comply with the standards established by the International Chamber of Commerce (ICC). Incoterms specify internationally recognized procedures that the shipper and the receiving party must follow for the shipping transaction to be completed successfully.If goods are shipped through a port of departure, the appropriate Incoterm might be: FOB ("Free On Board"). You can provide further details (for example, the name of the port) in the secondary Incoterm field: FOB Boston, for example. Maximum length: 3.

nullable

Optional invoicingParty

invoicingParty: string

Different Invoicing Party. Alphanumeric key uniquely identifying the document. This number denotes the supplier (creditor) invoicing the ordered material or services performed, to whom the amount due is payable.When the invoice is received, the number of the invoicing party is inserted in the invoice in place of the actual supplier. Maximum length: 10.

nullable

Optional material

material: string

Material Number. Alphanumeric key uniquely identifying the material. Maximum length: 40.

nullable

Optional materialConditionGroup

materialConditionGroup: string

Condition Group with Supplier. Condition group to which the material belongs with the supplier. The condition group of the supplier is entered in the purchasing info record.Using the condition group, you can create conditions relating to a certain material and a certain supplier. Conditions defined for a condition group are taken into account in computing the effective price of the purchase order item.Enter the description of the condition group for which you want to define conditions. Your input can be alphanumeric. Maximum length: 4.

nullable

Optional materialGroup

materialGroup: string

Material Group. Key that you use to group together several materials or services with the same attributes, and to assign them to a particular material group. You can use material groups to:Restrict the scope of analysesSearch specifically for material master records via search helps. Maximum length: 9.

nullable

Optional materialType

materialType: string

Material Type. Key that assigns the material to a group of materials such as raw materials, operating supplies or trading goods. The material type defines certain attributes of the material and has important control functions. Maximum length: 4.

nullable

Optional plant

plant: string

Plant. Key uniquely identifying a plant. Maximum length: 4.

nullable

Optional plantRegion

plantRegion: string

Region in which plant is located. Maximum length: 3.

nullable

Optional plantTaxClassification

plantTaxClassification: string

Tax Indicator: Plant (Purchasing). Tax indicator for plant. The tax indicator is used in the automatic determination of the tax code in Purchasing.If you have some plants that are liable to tax and others than are not, you can define two tax indicators with the aid of which different tax codes can be determined. Maximum length: 1.

nullable

Optional purchasingDocument

purchasingDocument: string

Purchasing Document Number. Alphanumeric key uniquely identifying the document. Maximum length: 10.

nullable

Optional purchasingDocumentItem

purchasingDocumentItem: string

Item Number of Purchasing Document. Specifies the number that uniquely identifies an item in . Maximum length: 5.

nullable

Optional purchasingInfoRecord

purchasingInfoRecord: string

Number of purchasing info record. Specifies the number that uniquely identifies a purchasing info record. Maximum length: 10.

nullable

Optional purchasingInfoRecordCategory

purchasingInfoRecordCategory: string

Purchasing info record category. The info record category enables you to create different info records for different document types. You can create purchasing info records for:Normal procurementSubcontractingPipelineConsignment. Maximum length: 1.

nullable

Optional purchasingOrganization

purchasingOrganization: string

Purchasing Organization. Denotes the purchasing organization. Maximum length: 4.

nullable

Optional purgDocOrderQuantityUnit

purgDocOrderQuantityUnit: string

Purchase Order Unit of Measure. Specifies the unit of measure in which the material is ordered. Maximum length: 3.

nullable

Optional region

region: string

Region (State, Province, County). In some countries, the region forms part of the address. The meaning depends on the country. The automatic address formatting function prints the region in addresses in the USA, Canada, Italy, Brazil or Australia, and the county in Great Britain.For more information, see the examples in the documentation on the Address Layout Key.Meaning of the regional code in ...Australia -> ProvinceBrazil -> StateCanada -> ProvinceGermany -> StateGreat Britain -> CountyItaly -> ProvinceJapan -> PrefectureSwitzerland -> CantonUSA -> State. Maximum length: 3.

nullable

Optional regionTaxClassification

regionTaxClassification: string

Tax indicator: Region (Intrastat). Tax indicator for the region. The tax indicator is set in purchasing documents if the region of origin differs from the region of destination.Specify the transaction to which the tax code is to apply. In doing so, make use of the "possible entries" facility. Maximum length: 1.

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 stockSegment

stockSegment: string

Stock Segment. Segment assigned to a stockable item. The valid stock segment is defined in the segmentation strategy and the strategy is assigned to the material in the material master. Maximum length: 40.

nullable

Optional supplier

supplier: string

Vendor Account Number. Alphanumeric key uniquely identifying the document. With the supplier number, information from the supplier master record (such as the supplier's address and bank details) is copied into a purchasing document (such as a request for quotation or a purchase order).You can use the supplier number to keep track of requests for quotation, purchase orders and outline agreements. Maximum length: 10.

nullable

Optional taxCode

taxCode: string

Tax on Sales/Purchases Code. The tax code represents a tax category which must be taken into consideration when making a tax return to the tax authorities. Tax codes are unique per country. The tax rate calculation rules and further features are stored in a table for each tax code.For tax-exempt or non-taxable transactions, you should use tax codes with a 0 percentage rate if the corresponding transactions are to be displayed in the tax returns.You must define new tax codes if tax rates are changed by the state. The old codes with the old tax rates must remain in the system until no more open items which use this tax code exist. Maximum length: 2.

nullable

Optional taxIndicator

taxIndicator: string

Tax indicator for material (Purchasing). Tax indicator for material. The tax indicator is used in the automatic determination of the tax code in Purchasing.The tax code can be determined automatically within the framework of price determination (via the conditions).Tax indicators are used to facilitate this process. They can be derived from the material master record, Customizing, or the purchasing document. The system determines the tax code from the combination of these tax indicators.In a service procurement scenario, you can apply different tax rates, based on the type of service.Automatic determination of the tax code is useful, for example, if different tax rates apply depending on whether a material is placed in stock or consumed directly.If the tax code can be determined automatically via conditions, it takes precedence over the tax code that has been maintained in the purchasing info record. Maximum length: 1.

nullable

Optional taxJurisdiction

taxJurisdiction: string

Tax Jurisdiction. The tax jurisdiction is used for determining the tax rates in the USA. It defines to which tax authorities you must pay your taxes. It is always the city to which the goods are supplied. Maximum length: 15.

nullable

toPurgPrcgCndnRecdSuplmnt

toPurgPrcgCndnRecdSuplmnt: PurgPrcgCndnRecdSuplmnt[]

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

toPurgPrcgConditionRecord

toPurgPrcgConditionRecord: PurgPrcgConditionRecord

One-to-one navigation property to the PurgPrcgConditionRecord entity.

Optional tradingContract

tradingContract: string

Trading Contract. Number used to clearly identify a trading contract. Maximum length: 10.

nullable

Optional valueAddedServiceChargeCode

valueAddedServiceChargeCode: string

VAS Charge Codes. Indicates the VAS charge code. You can use the charge code to specify your customer's or vendor's surcharge per value-added service type for the execution of value-added services.You can define a charge code in the sales or purchasing document itself. If you have defined this in your VAS conditions per value-added service, the system determines the charge code along with the other value-added service details in the document.For example, you can create charge codes for each VAS-type. That means, the key and short text of the codes show which codes you want to use for ticketing/labeling, packing or special services.You should only delete a charge code if you no longer use it in valid VAS-conditions. Maximum length: 3.

nullable

Optional variantCondition

variantCondition: string

Variant Condition. Maximum length: 26.

nullable

versionIdentifier

versionIdentifier: string

ETag version identifier accessor.

returns

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

Static ACCOUNT_TAX_TYPE

ACCOUNT_TAX_TYPE: StringField<PurgPrcgCndnRecdValidity> = new StringField('AccountTaxType', PurgPrcgCndnRecdValidity, 'Edm.String')

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

Static ACCT_ASSGMT_TAX_CLASSIFICATION

ACCT_ASSGMT_TAX_CLASSIFICATION: StringField<PurgPrcgCndnRecdValidity> = new StringField('AcctAssgmtTaxClassification', PurgPrcgCndnRecdValidity, 'Edm.String')

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

Static ACTIVE_SUPPLIER_SUBRANGE

ACTIVE_SUPPLIER_SUBRANGE: StringField<PurgPrcgCndnRecdValidity> = new StringField('ActiveSupplierSubrange', PurgPrcgCndnRecdValidity, 'Edm.String')

Static representation of the activeSupplierSubrange 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<PurgPrcgCndnRecdValidity> = new AllFields('*', PurgPrcgCndnRecdValidity)

All fields selector.

Static BILL_TO_PARTY

BILL_TO_PARTY: StringField<PurgPrcgCndnRecdValidity> = new StringField('BillToParty', PurgPrcgCndnRecdValidity, 'Edm.String')

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

Static COMPANY_CODE

COMPANY_CODE: StringField<PurgPrcgCndnRecdValidity> = new StringField('CompanyCode', PurgPrcgCndnRecdValidity, 'Edm.String')

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

Static CONDITION_APPLICATION

CONDITION_APPLICATION: StringField<PurgPrcgCndnRecdValidity> = new StringField('ConditionApplication', PurgPrcgCndnRecdValidity, 'Edm.String')

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

Static CONDITION_CONTRACT

CONDITION_CONTRACT: StringField<PurgPrcgCndnRecdValidity> = new StringField('ConditionContract', PurgPrcgCndnRecdValidity, 'Edm.String')

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

Static CONDITION_RECORD

CONDITION_RECORD: StringField<PurgPrcgCndnRecdValidity> = new StringField('ConditionRecord', PurgPrcgCndnRecdValidity, 'Edm.String')

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

Static CONDITION_RELEASE_STATUS

CONDITION_RELEASE_STATUS: StringField<PurgPrcgCndnRecdValidity> = new StringField('ConditionReleaseStatus', PurgPrcgCndnRecdValidity, 'Edm.String')

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

Static CONDITION_TYPE

CONDITION_TYPE: StringField<PurgPrcgCndnRecdValidity> = new StringField('ConditionType', PurgPrcgCndnRecdValidity, 'Edm.String')

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

Static CONDITION_VALIDITY_END_DATE

CONDITION_VALIDITY_END_DATE: DateField<PurgPrcgCndnRecdValidity> = new DateField('ConditionValidityEndDate', PurgPrcgCndnRecdValidity, 'Edm.DateTime')

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

Static CONDITION_VALIDITY_START_DATE

CONDITION_VALIDITY_START_DATE: DateField<PurgPrcgCndnRecdValidity> = new DateField('ConditionValidityStartDate', PurgPrcgCndnRecdValidity, 'Edm.DateTime')

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

Static COUNTRY

COUNTRY: StringField<PurgPrcgCndnRecdValidity> = new StringField('Country', PurgPrcgCndnRecdValidity, 'Edm.String')

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

Static DESTINATION_COUNTRY

DESTINATION_COUNTRY: StringField<PurgPrcgCndnRecdValidity> = new StringField('DestinationCountry', PurgPrcgCndnRecdValidity, 'Edm.String')

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

Static E_TAG

E_TAG: StringField<PurgPrcgCndnRecdValidity> = new StringField('ETag', PurgPrcgCndnRecdValidity, 'Edm.String')

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

Static IMPORT_TAX_CLASSIFICATION

IMPORT_TAX_CLASSIFICATION: StringField<PurgPrcgCndnRecdValidity> = new StringField('ImportTaxClassification', PurgPrcgCndnRecdValidity, 'Edm.String')

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

Static INCOTERMS_CLASSIFICATION

INCOTERMS_CLASSIFICATION: StringField<PurgPrcgCndnRecdValidity> = new StringField('IncotermsClassification', PurgPrcgCndnRecdValidity, 'Edm.String')

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

Static INVOICING_PARTY

INVOICING_PARTY: StringField<PurgPrcgCndnRecdValidity> = new StringField('InvoicingParty', PurgPrcgCndnRecdValidity, 'Edm.String')

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

Static IN_GST_SUPPLIER_CLASSIFICATION

IN_GST_SUPPLIER_CLASSIFICATION: StringField<PurgPrcgCndnRecdValidity> = new StringField('IN_GSTSupplierClassification', PurgPrcgCndnRecdValidity, 'Edm.String')

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

Static MATERIAL

MATERIAL: StringField<PurgPrcgCndnRecdValidity> = new StringField('Material', PurgPrcgCndnRecdValidity, 'Edm.String')

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

Static MATERIAL_CONDITION_GROUP

MATERIAL_CONDITION_GROUP: StringField<PurgPrcgCndnRecdValidity> = new StringField('MaterialConditionGroup', PurgPrcgCndnRecdValidity, 'Edm.String')

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

Static MATERIAL_GROUP

MATERIAL_GROUP: StringField<PurgPrcgCndnRecdValidity> = new StringField('MaterialGroup', PurgPrcgCndnRecdValidity, 'Edm.String')

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

Static MATERIAL_TYPE

MATERIAL_TYPE: StringField<PurgPrcgCndnRecdValidity> = new StringField('MaterialType', PurgPrcgCndnRecdValidity, 'Edm.String')

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

Static PLANT

PLANT: StringField<PurgPrcgCndnRecdValidity> = new StringField('Plant', PurgPrcgCndnRecdValidity, 'Edm.String')

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

Static PLANT_REGION

PLANT_REGION: StringField<PurgPrcgCndnRecdValidity> = new StringField('PlantRegion', PurgPrcgCndnRecdValidity, 'Edm.String')

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

Static PLANT_TAX_CLASSIFICATION

PLANT_TAX_CLASSIFICATION: StringField<PurgPrcgCndnRecdValidity> = new StringField('PlantTaxClassification', PurgPrcgCndnRecdValidity, 'Edm.String')

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

Static PURCHASING_DOCUMENT

PURCHASING_DOCUMENT: StringField<PurgPrcgCndnRecdValidity> = new StringField('PurchasingDocument', PurgPrcgCndnRecdValidity, 'Edm.String')

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

Static PURCHASING_DOCUMENT_ITEM

PURCHASING_DOCUMENT_ITEM: StringField<PurgPrcgCndnRecdValidity> = new StringField('PurchasingDocumentItem', PurgPrcgCndnRecdValidity, 'Edm.String')

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

Static PURCHASING_INFO_RECORD

PURCHASING_INFO_RECORD: StringField<PurgPrcgCndnRecdValidity> = new StringField('PurchasingInfoRecord', PurgPrcgCndnRecdValidity, 'Edm.String')

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

Static PURCHASING_INFO_RECORD_CATEGORY

PURCHASING_INFO_RECORD_CATEGORY: StringField<PurgPrcgCndnRecdValidity> = new StringField('PurchasingInfoRecordCategory', PurgPrcgCndnRecdValidity, 'Edm.String')

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

Static PURCHASING_ORGANIZATION

PURCHASING_ORGANIZATION: StringField<PurgPrcgCndnRecdValidity> = new StringField('PurchasingOrganization', PurgPrcgCndnRecdValidity, 'Edm.String')

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

Static PURG_DOC_ORDER_QUANTITY_UNIT

PURG_DOC_ORDER_QUANTITY_UNIT: StringField<PurgPrcgCndnRecdValidity> = new StringField('PurgDocOrderQuantityUnit', PurgPrcgCndnRecdValidity, 'Edm.String')

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

Static REGION

REGION: StringField<PurgPrcgCndnRecdValidity> = new StringField('Region', PurgPrcgCndnRecdValidity, 'Edm.String')

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

Static REGION_TAX_CLASSIFICATION

REGION_TAX_CLASSIFICATION: StringField<PurgPrcgCndnRecdValidity> = new StringField('RegionTaxClassification', PurgPrcgCndnRecdValidity, 'Edm.String')

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

Static STOCK_SEGMENT

STOCK_SEGMENT: StringField<PurgPrcgCndnRecdValidity> = new StringField('StockSegment', PurgPrcgCndnRecdValidity, 'Edm.String')

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

Static SUPPLIER

SUPPLIER: StringField<PurgPrcgCndnRecdValidity> = new StringField('Supplier', PurgPrcgCndnRecdValidity, 'Edm.String')

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

Static TAX_CODE

TAX_CODE: StringField<PurgPrcgCndnRecdValidity> = new StringField('TaxCode', PurgPrcgCndnRecdValidity, 'Edm.String')

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

Static TAX_INDICATOR

TAX_INDICATOR: StringField<PurgPrcgCndnRecdValidity> = new StringField('TaxIndicator', PurgPrcgCndnRecdValidity, 'Edm.String')

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

Static TAX_JURISDICTION

TAX_JURISDICTION: StringField<PurgPrcgCndnRecdValidity> = new StringField('TaxJurisdiction', PurgPrcgCndnRecdValidity, 'Edm.String')

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

Static TO_PURG_PRCG_CNDN_RECD_SUPLMNT

TO_PURG_PRCG_CNDN_RECD_SUPLMNT: Link<PurgPrcgCndnRecdValidity, PurgPrcgCndnRecdSuplmnt> = new Link('to_PurgPrcgCndnRecdSuplmnt', PurgPrcgCndnRecdValidity, PurgPrcgCndnRecdSuplmnt)

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

Static TO_PURG_PRCG_CONDITION_RECORD

TO_PURG_PRCG_CONDITION_RECORD: OneToOneLink<PurgPrcgCndnRecdValidity, PurgPrcgConditionRecord> = new OneToOneLink('to_PurgPrcgConditionRecord', PurgPrcgCndnRecdValidity, PurgPrcgConditionRecord)

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

Static TRADING_CONTRACT

TRADING_CONTRACT: StringField<PurgPrcgCndnRecdValidity> = new StringField('TradingContract', PurgPrcgCndnRecdValidity, 'Edm.String')

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

Static VALUE_ADDED_SERVICE_CHARGE_CODE

VALUE_ADDED_SERVICE_CHARGE_CODE: StringField<PurgPrcgCndnRecdValidity> = new StringField('ValueAddedServiceChargeCode', PurgPrcgCndnRecdValidity, 'Edm.String')

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

Static VARIANT_CONDITION

VARIANT_CONDITION: StringField<PurgPrcgCndnRecdValidity> = new StringField('VariantCondition', PurgPrcgCndnRecdValidity, 'Edm.String')

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

Static _allFields

_allFields: Array<StringField<PurgPrcgCndnRecdValidity> | DateField<PurgPrcgCndnRecdValidity> | Link<PurgPrcgCndnRecdValidity, PurgPrcgCndnRecdSuplmnt> | OneToOneLink<PurgPrcgCndnRecdValidity, PurgPrcgConditionRecord>> = [PurgPrcgCndnRecdValidity.CONDITION_RECORD,PurgPrcgCndnRecdValidity.CONDITION_VALIDITY_END_DATE,PurgPrcgCndnRecdValidity.CONDITION_VALIDITY_START_DATE,PurgPrcgCndnRecdValidity.CONDITION_APPLICATION,PurgPrcgCndnRecdValidity.CONDITION_TYPE,PurgPrcgCndnRecdValidity.CONDITION_RELEASE_STATUS,PurgPrcgCndnRecdValidity.PURG_DOC_ORDER_QUANTITY_UNIT,PurgPrcgCndnRecdValidity.COMPANY_CODE,PurgPrcgCndnRecdValidity.CONDITION_CONTRACT,PurgPrcgCndnRecdValidity.MATERIAL_CONDITION_GROUP,PurgPrcgCndnRecdValidity.PURCHASING_ORGANIZATION,PurgPrcgCndnRecdValidity.PURCHASING_INFO_RECORD_CATEGORY,PurgPrcgCndnRecdValidity.PURCHASING_DOCUMENT,PurgPrcgCndnRecdValidity.PURCHASING_DOCUMENT_ITEM,PurgPrcgCndnRecdValidity.INCOTERMS_CLASSIFICATION,PurgPrcgCndnRecdValidity.PURCHASING_INFO_RECORD,PurgPrcgCndnRecdValidity.ACCOUNT_TAX_TYPE,PurgPrcgCndnRecdValidity.BILL_TO_PARTY,PurgPrcgCndnRecdValidity.COUNTRY,PurgPrcgCndnRecdValidity.SUPPLIER,PurgPrcgCndnRecdValidity.INVOICING_PARTY,PurgPrcgCndnRecdValidity.DESTINATION_COUNTRY,PurgPrcgCndnRecdValidity.ACTIVE_SUPPLIER_SUBRANGE,PurgPrcgCndnRecdValidity.MATERIAL_GROUP,PurgPrcgCndnRecdValidity.MATERIAL,PurgPrcgCndnRecdValidity.MATERIAL_TYPE,PurgPrcgCndnRecdValidity.TAX_CODE,PurgPrcgCndnRecdValidity.REGION,PurgPrcgCndnRecdValidity.STOCK_SEGMENT,PurgPrcgCndnRecdValidity.ACCT_ASSGMT_TAX_CLASSIFICATION,PurgPrcgCndnRecdValidity.IMPORT_TAX_CLASSIFICATION,PurgPrcgCndnRecdValidity.TAX_INDICATOR,PurgPrcgCndnRecdValidity.REGION_TAX_CLASSIFICATION,PurgPrcgCndnRecdValidity.PLANT_TAX_CLASSIFICATION,PurgPrcgCndnRecdValidity.TRADING_CONTRACT,PurgPrcgCndnRecdValidity.VARIANT_CONDITION,PurgPrcgCndnRecdValidity.VALUE_ADDED_SERVICE_CHARGE_CODE,PurgPrcgCndnRecdValidity.IN_GST_SUPPLIER_CLASSIFICATION,PurgPrcgCndnRecdValidity.PLANT,PurgPrcgCndnRecdValidity.PLANT_REGION,PurgPrcgCndnRecdValidity.TAX_JURISDICTION,PurgPrcgCndnRecdValidity.E_TAG,PurgPrcgCndnRecdValidity.TO_PURG_PRCG_CNDN_RECD_SUPLMNT,PurgPrcgCndnRecdValidity.TO_PURG_PRCG_CONDITION_RECORD]

All fields of the PurgPrcgCndnRecdValidity entity.

Static _defaultServicePath

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

Default url path for the according service.

Static _entityName

_entityName: string = "A_PurgPrcgCndnRecdValidity"

Technical entity name for PurgPrcgCndnRecdValidity.

Static _keyFields

_keyFields: Array<Selectable<PurgPrcgCndnRecdValidity>> = [PurgPrcgCndnRecdValidity.CONDITION_RECORD, PurgPrcgCndnRecdValidity.CONDITION_VALIDITY_END_DATE]

All key fields of the PurgPrcgCndnRecdValidity entity.

Static _keys

_keys: any = PurgPrcgCndnRecdValidity._keyFields.reduce((acc: any, field) => {acc[field.fieldName] = field;return acc;}, {})

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

Static _serviceName

_serviceName: string = "API_PURGPRCGCONDITIONRECORD_SRV"
deprecated

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

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.

    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): this
  • Set the ETag version identifier of the retrieved entity.

    Parameters

    • etag: string

      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 PurgPrcgCndnRecdValidity.

    Parameters

    • fieldName: string

      Name of the custom field to select

    Returns CustomField<PurgPrcgCndnRecdValidity>

    A builder that constructs instances of entity type PurgPrcgCndnRecdValidity.

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, JsonT>(entityConstructor: Constructable<EntityT>): EntityBuilderType<EntityT, JsonT>
  • Type parameters

    • EntityT: Entity

    • JsonT

    Parameters

    • entityConstructor: Constructable<EntityT>

    Returns EntityBuilderType<EntityT, JsonT>

Static requestBuilder

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

    Returns PurgPrcgCndnRecdValidityRequestBuilder

    A PurgPrcgCndnRecdValidity request builder.