Options
All
  • Public
  • Public/Protected
  • All
Menu

This class represents the entity "A_PurReqnAcctAssgmt" of service "API_PURCHASEREQ_PROCESS_SRV". This service is part of the following communication scenarios: Purchase Requisition Integration (SAP_COM_0102), SAP S/4HANA Procurement Hub - Ariba GB - Hub to Ariba GB Integration (SAP_COM_0292). See https://api.sap.com/api/API_PURCHASEREQ_PROCESS_SRV for more information.

Hierarchy

  • Entity
    • PurReqnAcctAssgmt

Implements

Index

Constructors

Properties

Methods

Constructors

constructor

  • Returns PurReqnAcctAssgmt

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 businessArea

businessArea: string

Business Area. Key that uniquely identifies a business area. Maximum length: 4.

nullable

Optional businessProcess

businessProcess: string

Business Process. Key uniquely identifying a business process. Maximum length: 12.

nullable

Optional chartOfAccounts

chartOfAccounts: string

Chart of Accounts. Key that uniquely identifies a chart of accounts. Maximum length: 4.

nullable

Optional commitmentItem

commitmentItem: string

Commitment Item. Alphanumeric code of the commitment item you are creating, changing, displaying, or to which you are assigning budget. Maximum length: 24.

nullable

Optional controllingArea

controllingArea: string

Controlling Area. Uniquely identifies a controlling area. The controlling area is the highest organizational unit in Controlling.Whether controlling area and company code are in a 1:1 relationship or a 1:n relationship, the number of posting periods in both controlling area and company code(s) must be identical. However, special periods may vary. Maximum length: 4.

nullable

Optional costCenter

costCenter: string

Cost Center. A key that uniquely identifies a cost center. Maximum length: 10.

nullable

Optional costCtrActivityType

costCtrActivityType: string

Activity Type. Key uniquely identifying . Activity types describe the activity produced by a cost center and are measured in units of time or quantity.In activity type planning, control data determines whether the activity price for evaluation of the activity type is manually set or is derived iteratively through activity price calculation. Maximum length: 6.

nullable

Optional costElement

costElement: string

G/L Account Number. The G/L account number identifies the G/L account in a chart of accounts. Maximum length: 10.

nullable

Optional costObject

costObject: string

Cost Object. Term identifying the cost object ID. Cost objects are the activity units of business whose costs are assigned based on the cost origins. The R/3 System distinguishes between the following types of cost objects:Cost objects represented by a cost object IDCost objects represented by objects from other components, such as production orders or sales order itemsCost objects in the following areas are represented by cost object IDs:Activity-Based Costing (CO-OM-ABC)In Activity-Based Costing, overhead is first assigned to cost centers and then to business processes. From there, the overhead is assigned to cost objects as process costs.Costs for Intangible Goods and Services (CO-PC-OBJ)In Costs for Intangible Goods and Services, costs can be analyzed on general cost objects.Product Cost by Period (CO-PC-OBJ)In Product Cost by Period you can create a cost object hierarchy to record actual costs that cannot be recorded at the material or order level. You can distribute the costs assigned to the nodes of a cost object hierarchy directly to the individual objects in the lowest cost object nodes at period-end closing (for example, product cost collectors) or you can settle the costs directly from the cost object hierarchy to a price difference account.Product Cost Controlling Information System (CO-PC)You can create further cost object IDs in the Product Cost Controlling Information System for CO product groups. You can create a cost object ID for each group, and assign materials to the cost object ID. The costs of the assigned materials appear in summarized form in the information system by product group.You can use CO product groups for product drilldown reports.The cost object type determines which functions can be used with the cost object. Functions for cost object hierarchies are performed on the assumption that the given cost object indicates the top node of the hierarchy. Maximum length: 12.

nullable

Optional creationDate

creationDate: Moment

Date on Which Record Was Created.

nullable

Optional earmarkedFundsDocument

earmarkedFundsDocument: string

Document Number for Earmarked Funds. Number uniquely identifying a document. Maximum length: 10.

nullable

Optional fixedAsset

fixedAsset: string

Asset Subnumber. This is the number which, together with the main asset number, uniquely identifies a fixed asset in Asset Accounting. Using the asset sub-number, you can:Provide for separate management of later acquisitions to assets.Represent complex fixed assets with their component parts.In contrast to the main asset number, the asset sub-number must be numerical. Maximum length: 4.

nullable

Optional functionalArea

functionalArea: string

Functional Area. Structure criterion for an enterprise or government based on functional aspects. Use for Cost-of-Sales AccountingThe functional area is required to create a profit and loss account in Financial Accounting using cost-of-sales accounting. The following are examples of structure criteria:ManufacturingAdministrationSalesResearch and developmentUse for GovernmentThe functional area is needed for Funds Management to meet legal requirements for reporting with functional aspects. You can use the functional area to represent the global targets and goals (such as public safety or city development), in particular the expenses of your organization.Use in cost-of-sales accountingSee the documentation on Filling the Functional Area Field.For comprehensive information on cost-of-sales accounting and on the functional area, see the SAP Library under Accounting -> Financial Accounting -> General Ledger -> Cost-of-Sales Accounting.Use in governmentFor more information on the functional area, see the implementation Guide for Funds Management Government in the section Activate Account Assignment Elements. Maximum length: 16.

nullable

Optional fund

fund: string

Fund. Key which uniquely identifies the fund. If you assign the budget to a fund, you can obtain a detailed list of origin for the amounts involved. Maximum length: 10.

nullable

Optional fundsCenter

fundsCenter: string

Funds Center. Alphanumeric code for the funds center, which you are creating, changing, or displaying, or to which you are assigning budget. Maximum length: 16.

nullable

Optional glAccount

glAccount: string

G/L Account Number. The G/L account number identifies the G/L account in a chart of accounts. Maximum length: 10.

nullable

Optional goodsRecipientName

goodsRecipientName: string

Goods recipient. Specifies the recipient for whom the material or the service is destined. Maximum length: 12.

nullable

Optional grantId

grantId: string

Grant. Legal instrument used to establish a funding relationship between a sponsor (grantor) and grantee, in order to carry out a public purpose of support or stimulation in which the sponsor does not expect to be substantially involved. A grant may be for any purpose and cover all or only part of the costs of the project in question. You must enter a grant type for each grant you create in Grants Management (GM).The grant as an object has a finite lifecycle, divided into stages. Each stage is represented in the GM solution by a system status. The following are the stages of a grant's lifecycle:Initial DraftThis is the first stage of a grant. It is a working copy that can be modified as many times as needed.ProposalWhen the initial draft becomes a formal and complete document, it becomes a proposal.ApplicationWhen a proposal is routed to the sponsor for approval, it becomes an application. This application might contain changes in the budget or other adjustments.AwardIf the sponsor approves an application, an award is created. This is the real operative stage of a grant. The creation and consumption of the grant's budget occurs at this stage. This stage also represents the binding contract between the sponsor and the grantee.ClosingWhen an award is expiring, a phase of closing is established. Only restricted operations can be performed in this stage.ClosedThis stage defines an expired and closed grant. No further operations are allowed except archiving. Maximum length: 20.

nullable

Optional isDeleted

isDeleted: string

Deletion indicator in purchasing document. Determines whether the item in the purchasing document is deleted or blocked. You can set the deletion indicator by choosing Edit -> Delete if:You want to cancel an itemAn item is closed and can be archivedYou can set the blocking indicator by selecting the item and then choosing Edit -> Block if you do not want to allow subsequent functions for the item. Note that you must manually remove the indicator as soon as subsequent functions are allowed again.You have entered a purchase order item by mistake. You cancel it by setting the deletion indicator.A purchase order item has been delivered, invoiced, and paid for, and can now be archived. You can set the deletion indicator. Maximum length: 1.

nullable

Optional jointVentureRecoveryCode

jointVentureRecoveryCode: string

Recovery Indicator. In global companies that belong to joint ventures, incurred costs are usually shared among different recovery indicators which can then be dealt with in different ways using the periodic settlement program. You can define recovery indicators at three different levels:o Document typeYou can assign a recovery indicator to each document type for thecredit side and for the debit side. These recovery indicators areinternal recovery indicators and are defined in a separate systemtable.o Cost element (primary and secondary)o Cost objectWhen you make a posting in one of the feeder systems of the Joint Venture Accounting System, all three levels are evaluated in the sequence defined. The first recovery indicator found is transferred to the Joint Venture Accounting System.o Costs that are 100% allocableo Costs borne 100% by the operatoro Overheads applied by the operatoro Costs which exceed a contractually agreed price and cannot thereforebe allocatedo Costs already allocated. Maximum length: 2.

nullable

Optional masterFixedAsset

masterFixedAsset: string

Main Asset Number. This is the number which, together with the asset sub-number, identifies a fixed asset in Asset Accounting. Maximum length: 12.

nullable

Optional multipleAcctAssgmtDistrPercent

multipleAcctAssgmtDistrPercent: BigNumber

Distribution percentage in the case of multiple acct assgt. Percentage of the total order quantity that you want to allocate to this account assignment item. The percentage entered determines what percentage of the costs are to be distributed to this account assignment item.The total of the percentages must equal 100%.

nullable

Optional networkActivityInternalId

networkActivityInternalId: string

Internal counter. Identifies the activity posting. Maximum length: 8.

nullable

Optional orderId

orderId: string

Order Number. Key that uniquely identifies an order within a client. Maximum length: 12.

nullable

Optional orderIntBillOfOperationsItem

orderIntBillOfOperationsItem: string

General counter for order. Maximum length: 8.

nullable

Optional orderInternalId

orderInternalId: string

Routing number of operations in the order. Number of the routing or reference operation set used in the order. Maximum length: 10.

nullable

Optional partnerAccountNumber

partnerAccountNumber: string

Partner account number. Maximum length: 10.

nullable

Optional plant

plant: string

Plant. Specifies the key for a production facility or branch office within the company (that is, the company code). You use the plant key to determine, for instance, which plant is to receive ordered goods. Maximum length: 4.

nullable

Optional processOrder

processOrder: string

Order Number. Key that uniquely identifies an order within a client. Maximum length: 12.

nullable

Optional profitCenter

profitCenter: string

Profit Center. Key which together with the controlling area uniquely identifies a profit center. Maximum length: 10.

nullable

Optional profitabilitySegment

profitabilitySegment: string

Profitability Segment Number (CO-PA). See glossary Examples:Customer '123'/Product '4710' Profitability segment no. 1Customer '123'/Product '4712' Profitability segment no. 2Country 'USA'/Region 'NORTH' Profitability segment no. 3. Maximum length: 10.

nullable

Optional projectNetwork

projectNetwork: string

Network Number for Account Assignment. A network can structure an entire project or a task within a project. Numbers are used to differentiate these project structures.When you specify a network, for example, when you are entering attendances, you can define that the network is debited when the sender cost center is credited.Use the possible entries pushbutton to select the network number for the required project structure. Maximum length: 12.

nullable

Optional projectNetworkInternalId

projectNetworkInternalId: string

Routing number of operations in the order. Number of the routing or reference operation set used in the order. Maximum length: 10.

nullable

Optional purReqnNetAmount

purReqnNetAmount: BigNumber

Net Order Value in PO Currency. Value of the purchase order (including discounts and surcharges) Order value = order quantity X order price.

nullable

purchaseReqnAcctAssgmtNumber

purchaseReqnAcctAssgmtNumber: string

Serial number for PReq account assignment segment. Specifies the serial number of the account assignment item in the purchase requisition. Maximum length: 2.

purchaseRequisition

purchaseRequisition: string

Purchase Requisition Number. Alphanumeric key uniquely identifying the document. Maximum length: 10.

purchaseRequisitionItem

purchaseRequisitionItem: string

Item number of purchase requisition. Specifies the number that uniquely identifies an item in . Maximum length: 5.

Optional purchaseRequisitionType

purchaseRequisitionType: string

Purchase Requisition Document Type. Allows a distinction to be made between various kinds of purchase requisition. Using the document type, you can, for instance, differentiate between a standard purchase requisition and a requisition relating to a stock transport order, although both documents belong to the purchasing document category purchase requisition.The document type controls number assignment and the selection of fields to be maintained. Maximum length: 4.

nullable

Optional purchasingGroup

purchasingGroup: string

Purchasing Group. Key for a buyer or a group of buyers, who is/are responsible for certain purchasing activities. Internally, the purchasing group is responsible for the procurement of a material or a class of materials.Externally, it is the medium through which contacts with the vendor are maintained. Maximum length: 3.

nullable

Optional purchasingOrganization

purchasingOrganization: string

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

nullable

Optional quantity

quantity: BigNumber

Purchase requisition quantity. Specifies the quantity to be ordered, as stipulated in the purchase requisition.

nullable

Optional realEstateObject

realEstateObject: string

Internal Key for Real Estate Object. Maximum length: 40.

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 salesDocumentItem

salesDocumentItem: string

Sales Document Item. The number that uniquely identifies the item in the sales document. Maximum length: 6.

nullable

Optional salesOrder

salesOrder: string

Sales and Distribution Document Number. The number that uniquely identifies the sales, delivery, or billing document. Maximum length: 10.

nullable

Optional salesOrderItem

salesOrderItem: string

Sales Document Item. The number that uniquely identifies the item in the sales document. Maximum length: 6.

nullable

Optional salesOrderScheduleLine

salesOrderScheduleLine: string

Schedule Line Number. The number that uniquely identifies the schedule line in the sales document. When an item has more than one schedule line, the system automatically assigns a unique number to each line. The number is displayed in the details screens for schedule lines.The schedule line number serves internal purposes and does not, for example, determine the sequence of schedule lines in the overview screen. The schedule lines on the overview screen are sorted by date. Maximum length: 4.

nullable

Optional scheduleLine

scheduleLine: string

Schedule Line Number. The number that uniquely identifies the schedule line in the sales document. When an item has more than one schedule line, the system automatically assigns a unique number to each line. The number is displayed in the details screens for schedule lines.The schedule line number serves internal purposes and does not, for example, determine the sequence of schedule lines in the overview screen. The schedule lines on the overview screen are sorted by date. Maximum length: 4.

nullable

Optional sdDocument

sdDocument: string

Sales and Distribution Document Number. The number that uniquely identifies the sales, delivery, or billing document. Maximum length: 10.

nullable

Optional settlementReferenceDate

settlementReferenceDate: Moment

Reference date for settlement. The reference date is used to identify the settlement period for invoice account assignment. You always have to enter the reference date when making postings on settlement units.

nullable

Optional unloadingPointName

unloadingPointName: string

Unloading Point. Specifies the point at which the material is to be unloaded (for example, ramp 1). Maximum length: 25.

nullable

Optional validityDate

validityDate: Moment

Validity Date.

nullable

versionIdentifier

versionIdentifier: string

ETag version identifier accessor.

returns

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

Optional wbsElement

wbsElement: string

Work Breakdown Structure Element (WBS Element). Key identifying a WBS element. Maximum length: 24.

nullable

Static ALL_FIELDS

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

All fields selector.

Static BUSINESS_AREA

BUSINESS_AREA: StringField<PurReqnAcctAssgmt> = new StringField('BusinessArea', PurReqnAcctAssgmt, 'Edm.String')

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

Static BUSINESS_PROCESS

BUSINESS_PROCESS: StringField<PurReqnAcctAssgmt> = new StringField('BusinessProcess', PurReqnAcctAssgmt, 'Edm.String')

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

Static CHART_OF_ACCOUNTS

CHART_OF_ACCOUNTS: StringField<PurReqnAcctAssgmt> = new StringField('ChartOfAccounts', PurReqnAcctAssgmt, 'Edm.String')

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

Static COMMITMENT_ITEM

COMMITMENT_ITEM: StringField<PurReqnAcctAssgmt> = new StringField('CommitmentItem', PurReqnAcctAssgmt, 'Edm.String')

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

Static CONTROLLING_AREA

CONTROLLING_AREA: StringField<PurReqnAcctAssgmt> = new StringField('ControllingArea', PurReqnAcctAssgmt, 'Edm.String')

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

Static COST_CENTER

COST_CENTER: StringField<PurReqnAcctAssgmt> = new StringField('CostCenter', PurReqnAcctAssgmt, 'Edm.String')

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

Static COST_CTR_ACTIVITY_TYPE

COST_CTR_ACTIVITY_TYPE: StringField<PurReqnAcctAssgmt> = new StringField('CostCtrActivityType', PurReqnAcctAssgmt, 'Edm.String')

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

Static COST_ELEMENT

COST_ELEMENT: StringField<PurReqnAcctAssgmt> = new StringField('CostElement', PurReqnAcctAssgmt, 'Edm.String')

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

Static COST_OBJECT

COST_OBJECT: StringField<PurReqnAcctAssgmt> = new StringField('CostObject', PurReqnAcctAssgmt, 'Edm.String')

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

Static CREATION_DATE

CREATION_DATE: DateField<PurReqnAcctAssgmt> = new DateField('CreationDate', PurReqnAcctAssgmt, 'Edm.DateTime')

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

Static EARMARKED_FUNDS_DOCUMENT

EARMARKED_FUNDS_DOCUMENT: StringField<PurReqnAcctAssgmt> = new StringField('EarmarkedFundsDocument', PurReqnAcctAssgmt, 'Edm.String')

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

Static FIXED_ASSET

FIXED_ASSET: StringField<PurReqnAcctAssgmt> = new StringField('FixedAsset', PurReqnAcctAssgmt, 'Edm.String')

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

Static FUNCTIONAL_AREA

FUNCTIONAL_AREA: StringField<PurReqnAcctAssgmt> = new StringField('FunctionalArea', PurReqnAcctAssgmt, 'Edm.String')

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

Static FUND

FUND: StringField<PurReqnAcctAssgmt> = new StringField('Fund', PurReqnAcctAssgmt, 'Edm.String')

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

Static FUNDS_CENTER

FUNDS_CENTER: StringField<PurReqnAcctAssgmt> = new StringField('FundsCenter', PurReqnAcctAssgmt, 'Edm.String')

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

Static GL_ACCOUNT

GL_ACCOUNT: StringField<PurReqnAcctAssgmt> = new StringField('GLAccount', PurReqnAcctAssgmt, 'Edm.String')

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

Static GOODS_RECIPIENT_NAME

GOODS_RECIPIENT_NAME: StringField<PurReqnAcctAssgmt> = new StringField('GoodsRecipientName', PurReqnAcctAssgmt, 'Edm.String')

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

Static GRANT_ID

GRANT_ID: StringField<PurReqnAcctAssgmt> = new StringField('GrantID', PurReqnAcctAssgmt, 'Edm.String')

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

Static IS_DELETED

IS_DELETED: StringField<PurReqnAcctAssgmt> = new StringField('IsDeleted', PurReqnAcctAssgmt, 'Edm.String')

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

Static JOINT_VENTURE_RECOVERY_CODE

JOINT_VENTURE_RECOVERY_CODE: StringField<PurReqnAcctAssgmt> = new StringField('JointVentureRecoveryCode', PurReqnAcctAssgmt, 'Edm.String')

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

Static MASTER_FIXED_ASSET

MASTER_FIXED_ASSET: StringField<PurReqnAcctAssgmt> = new StringField('MasterFixedAsset', PurReqnAcctAssgmt, 'Edm.String')

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

Static MULTIPLE_ACCT_ASSGMT_DISTR_PERCENT

MULTIPLE_ACCT_ASSGMT_DISTR_PERCENT: BigNumberField<PurReqnAcctAssgmt> = new BigNumberField('MultipleAcctAssgmtDistrPercent', PurReqnAcctAssgmt, 'Edm.Decimal')

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

Static NETWORK_ACTIVITY_INTERNAL_ID

NETWORK_ACTIVITY_INTERNAL_ID: StringField<PurReqnAcctAssgmt> = new StringField('NetworkActivityInternalID', PurReqnAcctAssgmt, 'Edm.String')

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

Static ORDER_ID

ORDER_ID: StringField<PurReqnAcctAssgmt> = new StringField('OrderID', PurReqnAcctAssgmt, 'Edm.String')

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

Static ORDER_INTERNAL_ID

ORDER_INTERNAL_ID: StringField<PurReqnAcctAssgmt> = new StringField('OrderInternalID', PurReqnAcctAssgmt, 'Edm.String')

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

Static ORDER_INT_BILL_OF_OPERATIONS_ITEM

ORDER_INT_BILL_OF_OPERATIONS_ITEM: StringField<PurReqnAcctAssgmt> = new StringField('OrderIntBillOfOperationsItem', PurReqnAcctAssgmt, 'Edm.String')

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

Static PARTNER_ACCOUNT_NUMBER

PARTNER_ACCOUNT_NUMBER: StringField<PurReqnAcctAssgmt> = new StringField('PartnerAccountNumber', PurReqnAcctAssgmt, 'Edm.String')

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

Static PLANT

PLANT: StringField<PurReqnAcctAssgmt> = new StringField('Plant', PurReqnAcctAssgmt, '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 PROCESS_ORDER

PROCESS_ORDER: StringField<PurReqnAcctAssgmt> = new StringField('ProcessOrder', PurReqnAcctAssgmt, 'Edm.String')

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

Static PROFITABILITY_SEGMENT

PROFITABILITY_SEGMENT: StringField<PurReqnAcctAssgmt> = new StringField('ProfitabilitySegment', PurReqnAcctAssgmt, 'Edm.String')

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

Static PROFIT_CENTER

PROFIT_CENTER: StringField<PurReqnAcctAssgmt> = new StringField('ProfitCenter', PurReqnAcctAssgmt, 'Edm.String')

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

Static PROJECT_NETWORK

PROJECT_NETWORK: StringField<PurReqnAcctAssgmt> = new StringField('ProjectNetwork', PurReqnAcctAssgmt, 'Edm.String')

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

Static PROJECT_NETWORK_INTERNAL_ID

PROJECT_NETWORK_INTERNAL_ID: StringField<PurReqnAcctAssgmt> = new StringField('ProjectNetworkInternalID', PurReqnAcctAssgmt, 'Edm.String')

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

Static PURCHASE_REQN_ACCT_ASSGMT_NUMBER

PURCHASE_REQN_ACCT_ASSGMT_NUMBER: StringField<PurReqnAcctAssgmt> = new StringField('PurchaseReqnAcctAssgmtNumber', PurReqnAcctAssgmt, 'Edm.String')

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

Static PURCHASE_REQUISITION

PURCHASE_REQUISITION: StringField<PurReqnAcctAssgmt> = new StringField('PurchaseRequisition', PurReqnAcctAssgmt, 'Edm.String')

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

Static PURCHASE_REQUISITION_ITEM

PURCHASE_REQUISITION_ITEM: StringField<PurReqnAcctAssgmt> = new StringField('PurchaseRequisitionItem', PurReqnAcctAssgmt, 'Edm.String')

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

Static PURCHASE_REQUISITION_TYPE

PURCHASE_REQUISITION_TYPE: StringField<PurReqnAcctAssgmt> = new StringField('PurchaseRequisitionType', PurReqnAcctAssgmt, 'Edm.String')

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

Static PURCHASING_GROUP

PURCHASING_GROUP: StringField<PurReqnAcctAssgmt> = new StringField('PurchasingGroup', PurReqnAcctAssgmt, 'Edm.String')

Static representation of the purchasingGroup 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<PurReqnAcctAssgmt> = new StringField('PurchasingOrganization', PurReqnAcctAssgmt, '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 PUR_REQN_NET_AMOUNT

PUR_REQN_NET_AMOUNT: BigNumberField<PurReqnAcctAssgmt> = new BigNumberField('PurReqnNetAmount', PurReqnAcctAssgmt, 'Edm.Decimal')

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

Static QUANTITY

QUANTITY: BigNumberField<PurReqnAcctAssgmt> = new BigNumberField('Quantity', PurReqnAcctAssgmt, 'Edm.Decimal')

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

Static REAL_ESTATE_OBJECT

REAL_ESTATE_OBJECT: StringField<PurReqnAcctAssgmt> = new StringField('RealEstateObject', PurReqnAcctAssgmt, 'Edm.String')

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

Static SALES_DOCUMENT_ITEM

SALES_DOCUMENT_ITEM: StringField<PurReqnAcctAssgmt> = new StringField('SalesDocumentItem', PurReqnAcctAssgmt, 'Edm.String')

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

Static SALES_ORDER

SALES_ORDER: StringField<PurReqnAcctAssgmt> = new StringField('SalesOrder', PurReqnAcctAssgmt, 'Edm.String')

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

Static SALES_ORDER_ITEM

SALES_ORDER_ITEM: StringField<PurReqnAcctAssgmt> = new StringField('SalesOrderItem', PurReqnAcctAssgmt, 'Edm.String')

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

Static SALES_ORDER_SCHEDULE_LINE

SALES_ORDER_SCHEDULE_LINE: StringField<PurReqnAcctAssgmt> = new StringField('SalesOrderScheduleLine', PurReqnAcctAssgmt, 'Edm.String')

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

Static SCHEDULE_LINE

SCHEDULE_LINE: StringField<PurReqnAcctAssgmt> = new StringField('ScheduleLine', PurReqnAcctAssgmt, 'Edm.String')

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

Static SD_DOCUMENT

SD_DOCUMENT: StringField<PurReqnAcctAssgmt> = new StringField('SDDocument', PurReqnAcctAssgmt, 'Edm.String')

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

Static SETTLEMENT_REFERENCE_DATE

SETTLEMENT_REFERENCE_DATE: DateField<PurReqnAcctAssgmt> = new DateField('SettlementReferenceDate', PurReqnAcctAssgmt, 'Edm.DateTime')

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

Static UNLOADING_POINT_NAME

UNLOADING_POINT_NAME: StringField<PurReqnAcctAssgmt> = new StringField('UnloadingPointName', PurReqnAcctAssgmt, 'Edm.String')

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

Static VALIDITY_DATE

VALIDITY_DATE: DateField<PurReqnAcctAssgmt> = new DateField('ValidityDate', PurReqnAcctAssgmt, 'Edm.DateTime')

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

Static WBS_ELEMENT

WBS_ELEMENT: StringField<PurReqnAcctAssgmt> = new StringField('WBSElement', PurReqnAcctAssgmt, 'Edm.String')

Static representation of the wbsElement 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<PurReqnAcctAssgmt> | BigNumberField<PurReqnAcctAssgmt> | DateField<PurReqnAcctAssgmt>> = [PurReqnAcctAssgmt.PURCHASE_REQUISITION,PurReqnAcctAssgmt.PURCHASE_REQUISITION_ITEM,PurReqnAcctAssgmt.PURCHASE_REQN_ACCT_ASSGMT_NUMBER,PurReqnAcctAssgmt.COST_CENTER,PurReqnAcctAssgmt.MASTER_FIXED_ASSET,PurReqnAcctAssgmt.PROJECT_NETWORK,PurReqnAcctAssgmt.QUANTITY,PurReqnAcctAssgmt.MULTIPLE_ACCT_ASSGMT_DISTR_PERCENT,PurReqnAcctAssgmt.PUR_REQN_NET_AMOUNT,PurReqnAcctAssgmt.IS_DELETED,PurReqnAcctAssgmt.COST_ELEMENT,PurReqnAcctAssgmt.GL_ACCOUNT,PurReqnAcctAssgmt.BUSINESS_AREA,PurReqnAcctAssgmt.SD_DOCUMENT,PurReqnAcctAssgmt.SALES_ORDER,PurReqnAcctAssgmt.SALES_DOCUMENT_ITEM,PurReqnAcctAssgmt.SALES_ORDER_ITEM,PurReqnAcctAssgmt.SCHEDULE_LINE,PurReqnAcctAssgmt.SALES_ORDER_SCHEDULE_LINE,PurReqnAcctAssgmt.FIXED_ASSET,PurReqnAcctAssgmt.PROCESS_ORDER,PurReqnAcctAssgmt.ORDER_ID,PurReqnAcctAssgmt.UNLOADING_POINT_NAME,PurReqnAcctAssgmt.CONTROLLING_AREA,PurReqnAcctAssgmt.COST_OBJECT,PurReqnAcctAssgmt.PROFITABILITY_SEGMENT,PurReqnAcctAssgmt.PROFIT_CENTER,PurReqnAcctAssgmt.PROJECT_NETWORK_INTERNAL_ID,PurReqnAcctAssgmt.COMMITMENT_ITEM,PurReqnAcctAssgmt.FUNDS_CENTER,PurReqnAcctAssgmt.FUND,PurReqnAcctAssgmt.FUNCTIONAL_AREA,PurReqnAcctAssgmt.CREATION_DATE,PurReqnAcctAssgmt.GOODS_RECIPIENT_NAME,PurReqnAcctAssgmt.REAL_ESTATE_OBJECT,PurReqnAcctAssgmt.NETWORK_ACTIVITY_INTERNAL_ID,PurReqnAcctAssgmt.PARTNER_ACCOUNT_NUMBER,PurReqnAcctAssgmt.JOINT_VENTURE_RECOVERY_CODE,PurReqnAcctAssgmt.SETTLEMENT_REFERENCE_DATE,PurReqnAcctAssgmt.ORDER_INTERNAL_ID,PurReqnAcctAssgmt.ORDER_INT_BILL_OF_OPERATIONS_ITEM,PurReqnAcctAssgmt.EARMARKED_FUNDS_DOCUMENT,PurReqnAcctAssgmt.COST_CTR_ACTIVITY_TYPE,PurReqnAcctAssgmt.BUSINESS_PROCESS,PurReqnAcctAssgmt.GRANT_ID,PurReqnAcctAssgmt.VALIDITY_DATE,PurReqnAcctAssgmt.CHART_OF_ACCOUNTS,PurReqnAcctAssgmt.WBS_ELEMENT,PurReqnAcctAssgmt.PURCHASE_REQUISITION_TYPE,PurReqnAcctAssgmt.PLANT,PurReqnAcctAssgmt.PURCHASING_ORGANIZATION,PurReqnAcctAssgmt.PURCHASING_GROUP]

All fields of the PurReqnAcctAssgmt entity.

Static _defaultServicePath

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

Default url path for the according service.

Static _entityName

_entityName: string = "A_PurReqnAcctAssgmt"

Technical entity name for PurReqnAcctAssgmt.

Static _keyFields

_keyFields: Array<Selectable<PurReqnAcctAssgmt>> = [PurReqnAcctAssgmt.PURCHASE_REQUISITION, PurReqnAcctAssgmt.PURCHASE_REQUISITION_ITEM, PurReqnAcctAssgmt.PURCHASE_REQN_ACCT_ASSGMT_NUMBER]

All key fields of the PurReqnAcctAssgmt entity.

Static _keys

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

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

Static _serviceName

_serviceName: string = "API_PURCHASEREQ_PROCESS_SRV"
deprecated

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

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

  • Returns an entity builder to construct instances PurReqnAcctAssgmt.

    Returns EntityBuilderType<PurReqnAcctAssgmt, PurReqnAcctAssgmtType>

    A builder that constructs instances of entity type PurReqnAcctAssgmt.

Static customField

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

    Parameters

    • fieldName: string

      Name of the custom field to select

    Returns CustomField<PurReqnAcctAssgmt>

    A builder that constructs instances of entity type PurReqnAcctAssgmt.

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 PurReqnAcctAssgmt entity type.

    Returns PurReqnAcctAssgmtRequestBuilder

    A PurReqnAcctAssgmt request builder.