Options
All
  • Public
  • Public/Protected
  • All
Menu

This class represents the entity "A_PurOrdAccountAssignment" of service "API_PURCHASEORDER_PROCESS_SRV". This service is part of the following communication scenarios: Distributed Manufacturing Integration (SAP_COM_0077), Purchase Order Integration (SAP_COM_0053). See https://api.sap.com/api/API_PURCHASEORDER_PROCESS_SRV for more information.

Hierarchy

  • Entity
    • PurOrdAccountAssignment

Implements

Index

Constructors

Properties

Accessors

Methods

Constructors

constructor

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 "*".

accountAssignmentNumber

accountAssignmentNumber: string

Sequential Number of Account Assignment. Number uniquely defining the account assignment of a purchase document item. Maximum length: 2.

Optional budgetPeriod

budgetPeriod: undefined | string

Budget Period. Time frame of available budget authority. During the budget period, the organization may commit, obligate, and encumber funds (terminology varies). After it, the organization may only post follow-on documents.The budget period always works together with the fund account assignment element in Funds Management (FM).Budget Period A: 2000-2010Budget Period B: 2005-2015The actuals and commitments recorded then are differentiated by the period of time on which authority was granted to a particular fund.Fund F1 Budget Period: AFund F2 Budget Period: AFund F2 Budget Period: B. Maximum length: 10.

nullable

Optional businessArea

businessArea: undefined | string

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

nullable

Optional businessProcess

businessProcess: undefined | string

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

nullable

Optional commitmentItem

commitmentItem: undefined | 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: undefined | 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: undefined | string

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

nullable

Optional costCtrActivityType

costCtrActivityType: undefined | 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 costObject

costObject: undefined | 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 documentCurrency

documentCurrency: undefined | string

Currency Key. Currency key for amounts in the system. Maximum length: 5.

nullable

Optional earmarkedFundsDocument

earmarkedFundsDocument: undefined | string

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

nullable

Optional fixedAsset

fixedAsset: undefined | 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: undefined | 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: undefined | 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: undefined | 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: undefined | 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: undefined | string

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

nullable

Optional grantId

grantId: undefined | 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: undefined | false | true

Deletion Indicator: Purchasing Document Account Assignment. Shows that the account assignment item has been deleted.

nullable

Optional jointVentureRecoveryCode

jointVentureRecoveryCode: undefined | 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: undefined | 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 orderId

orderId: undefined | string

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

nullable

Optional partnerAccountNumber

partnerAccountNumber: undefined | string

Partner account number. Maximum length: 10.

nullable

Optional profitCenter

profitCenter: undefined | string

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

nullable

Optional projectNetwork

projectNetwork: undefined | 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

purchaseOrder

purchaseOrder: string

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

purchaseOrderItem

purchaseOrderItem: string

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

Optional purchaseOrderQuantityUnit

purchaseOrderQuantityUnit: undefined | string

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

nullable

Optional purgDocNetAmount

purgDocNetAmount: BigNumber

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

nullable

Optional quantity

quantity: BigNumber

Quantity. Portion of total purchase order quantity that you wish to allocate to this account assignment item. The quantity entered determines which portion of the costs you wish to distribute to this account assignment item.

nullable

Optional realEstateObject

realEstateObject: undefined | 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 salesOrder

salesOrder: undefined | string

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

nullable

Optional salesOrderItem

salesOrderItem: undefined | string

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

nullable

Optional salesOrderScheduleLine

salesOrderScheduleLine: undefined | 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 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 taxCode

taxCode: undefined | 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 taxJurisdiction

taxJurisdiction: undefined | 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

Optional unloadingPointName

unloadingPointName: undefined | string

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

nullable

Optional wbsElement

wbsElement: undefined | string

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

nullable

Optional wbsElementExternalId

wbsElementExternalId: undefined | string

Work Breakdown Structure Element (WBS Element) Edited. External 24-character name of an operative WBS element without a conversion routine stored in the domain. Maximum length: 24.

nullable

Optional wbsElementInternalId

wbsElementInternalId: undefined | string

WBS Element. Key identifying a WBS element. Maximum length: 8.

nullable

Static ACCOUNT_ASSIGNMENT_NUMBER

ACCOUNT_ASSIGNMENT_NUMBER: StringField<PurOrdAccountAssignment> = new StringField('AccountAssignmentNumber', PurOrdAccountAssignment, 'Edm.String')

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

All fields selector.

Static BUDGET_PERIOD

BUDGET_PERIOD: StringField<PurOrdAccountAssignment> = new StringField('BudgetPeriod', PurOrdAccountAssignment, 'Edm.String')

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

Static BUSINESS_AREA

BUSINESS_AREA: StringField<PurOrdAccountAssignment> = new StringField('BusinessArea', PurOrdAccountAssignment, '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<PurOrdAccountAssignment> = new StringField('BusinessProcess', PurOrdAccountAssignment, '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 COMMITMENT_ITEM

COMMITMENT_ITEM: StringField<PurOrdAccountAssignment> = new StringField('CommitmentItem', PurOrdAccountAssignment, '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<PurOrdAccountAssignment> = new StringField('ControllingArea', PurOrdAccountAssignment, '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<PurOrdAccountAssignment> = new StringField('CostCenter', PurOrdAccountAssignment, '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<PurOrdAccountAssignment> = new StringField('CostCtrActivityType', PurOrdAccountAssignment, '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_OBJECT

COST_OBJECT: StringField<PurOrdAccountAssignment> = new StringField('CostObject', PurOrdAccountAssignment, '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 DOCUMENT_CURRENCY

DOCUMENT_CURRENCY: StringField<PurOrdAccountAssignment> = new StringField('DocumentCurrency', PurOrdAccountAssignment, 'Edm.String')

Static representation of the documentCurrency 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<PurOrdAccountAssignment> = new StringField('EarmarkedFundsDocument', PurOrdAccountAssignment, '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<PurOrdAccountAssignment> = new StringField('FixedAsset', PurOrdAccountAssignment, '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<PurOrdAccountAssignment> = new StringField('FunctionalArea', PurOrdAccountAssignment, '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<PurOrdAccountAssignment> = new StringField('Fund', PurOrdAccountAssignment, '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<PurOrdAccountAssignment> = new StringField('FundsCenter', PurOrdAccountAssignment, '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<PurOrdAccountAssignment> = new StringField('GLAccount', PurOrdAccountAssignment, '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<PurOrdAccountAssignment> = new StringField('GoodsRecipientName', PurOrdAccountAssignment, '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<PurOrdAccountAssignment> = new StringField('GrantID', PurOrdAccountAssignment, '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: BooleanField<PurOrdAccountAssignment> = new BooleanField('IsDeleted', PurOrdAccountAssignment, 'Edm.Boolean')

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<PurOrdAccountAssignment> = new StringField('JointVentureRecoveryCode', PurOrdAccountAssignment, '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<PurOrdAccountAssignment> = new StringField('MasterFixedAsset', PurOrdAccountAssignment, '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<PurOrdAccountAssignment> = new BigNumberField('MultipleAcctAssgmtDistrPercent', PurOrdAccountAssignment, '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 ORDER_ID

ORDER_ID: StringField<PurOrdAccountAssignment> = new StringField('OrderID', PurOrdAccountAssignment, '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 PARTNER_ACCOUNT_NUMBER

PARTNER_ACCOUNT_NUMBER: StringField<PurOrdAccountAssignment> = new StringField('PartnerAccountNumber', PurOrdAccountAssignment, '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 PROFIT_CENTER

PROFIT_CENTER: StringField<PurOrdAccountAssignment> = new StringField('ProfitCenter', PurOrdAccountAssignment, '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<PurOrdAccountAssignment> = new StringField('ProjectNetwork', PurOrdAccountAssignment, '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 PURCHASE_ORDER

PURCHASE_ORDER: StringField<PurOrdAccountAssignment> = new StringField('PurchaseOrder', PurOrdAccountAssignment, 'Edm.String')

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

Static PURCHASE_ORDER_ITEM

PURCHASE_ORDER_ITEM: StringField<PurOrdAccountAssignment> = new StringField('PurchaseOrderItem', PurOrdAccountAssignment, 'Edm.String')

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

Static PURCHASE_ORDER_QUANTITY_UNIT

PURCHASE_ORDER_QUANTITY_UNIT: StringField<PurOrdAccountAssignment> = new StringField('PurchaseOrderQuantityUnit', PurOrdAccountAssignment, 'Edm.String')

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

Static PURG_DOC_NET_AMOUNT

PURG_DOC_NET_AMOUNT: BigNumberField<PurOrdAccountAssignment> = new BigNumberField('PurgDocNetAmount', PurOrdAccountAssignment, 'Edm.Decimal')

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

Static QUANTITY

QUANTITY: BigNumberField<PurOrdAccountAssignment> = new BigNumberField('Quantity', PurOrdAccountAssignment, '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<PurOrdAccountAssignment> = new StringField('RealEstateObject', PurOrdAccountAssignment, '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_ORDER

SALES_ORDER: StringField<PurOrdAccountAssignment> = new StringField('SalesOrder', PurOrdAccountAssignment, '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<PurOrdAccountAssignment> = new StringField('SalesOrderItem', PurOrdAccountAssignment, '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<PurOrdAccountAssignment> = new StringField('SalesOrderScheduleLine', PurOrdAccountAssignment, '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 SETTLEMENT_REFERENCE_DATE

SETTLEMENT_REFERENCE_DATE: DateField<PurOrdAccountAssignment> = new DateField('SettlementReferenceDate', PurOrdAccountAssignment, '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 TAX_CODE

TAX_CODE: StringField<PurOrdAccountAssignment> = new StringField('TaxCode', PurOrdAccountAssignment, '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_JURISDICTION

TAX_JURISDICTION: StringField<PurOrdAccountAssignment> = new StringField('TaxJurisdiction', PurOrdAccountAssignment, '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 UNLOADING_POINT_NAME

UNLOADING_POINT_NAME: StringField<PurOrdAccountAssignment> = new StringField('UnloadingPointName', PurOrdAccountAssignment, '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 WBS_ELEMENT

WBS_ELEMENT: StringField<PurOrdAccountAssignment> = new StringField('WBSElement', PurOrdAccountAssignment, '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 WBS_ELEMENT_EXTERNAL_ID

WBS_ELEMENT_EXTERNAL_ID: StringField<PurOrdAccountAssignment> = new StringField('WBSElementExternalID', PurOrdAccountAssignment, 'Edm.String')

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

Static WBS_ELEMENT_INTERNAL_ID

WBS_ELEMENT_INTERNAL_ID: StringField<PurOrdAccountAssignment> = new StringField('WBSElementInternalID', PurOrdAccountAssignment, 'Edm.String')

Static representation of the wbsElementInternalId 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<PurOrdAccountAssignment> | BooleanField<PurOrdAccountAssignment> | BigNumberField<PurOrdAccountAssignment> | DateField<PurOrdAccountAssignment>> = [PurOrdAccountAssignment.PURCHASE_ORDER,PurOrdAccountAssignment.PURCHASE_ORDER_ITEM,PurOrdAccountAssignment.ACCOUNT_ASSIGNMENT_NUMBER,PurOrdAccountAssignment.IS_DELETED,PurOrdAccountAssignment.PURCHASE_ORDER_QUANTITY_UNIT,PurOrdAccountAssignment.QUANTITY,PurOrdAccountAssignment.MULTIPLE_ACCT_ASSGMT_DISTR_PERCENT,PurOrdAccountAssignment.DOCUMENT_CURRENCY,PurOrdAccountAssignment.PURG_DOC_NET_AMOUNT,PurOrdAccountAssignment.GL_ACCOUNT,PurOrdAccountAssignment.BUSINESS_AREA,PurOrdAccountAssignment.COST_CENTER,PurOrdAccountAssignment.SALES_ORDER,PurOrdAccountAssignment.SALES_ORDER_ITEM,PurOrdAccountAssignment.SALES_ORDER_SCHEDULE_LINE,PurOrdAccountAssignment.MASTER_FIXED_ASSET,PurOrdAccountAssignment.FIXED_ASSET,PurOrdAccountAssignment.GOODS_RECIPIENT_NAME,PurOrdAccountAssignment.UNLOADING_POINT_NAME,PurOrdAccountAssignment.CONTROLLING_AREA,PurOrdAccountAssignment.COST_OBJECT,PurOrdAccountAssignment.ORDER_ID,PurOrdAccountAssignment.PROFIT_CENTER,PurOrdAccountAssignment.WBS_ELEMENT_INTERNAL_ID,PurOrdAccountAssignment.WBS_ELEMENT,PurOrdAccountAssignment.WBS_ELEMENT_EXTERNAL_ID,PurOrdAccountAssignment.PROJECT_NETWORK,PurOrdAccountAssignment.REAL_ESTATE_OBJECT,PurOrdAccountAssignment.PARTNER_ACCOUNT_NUMBER,PurOrdAccountAssignment.COMMITMENT_ITEM,PurOrdAccountAssignment.JOINT_VENTURE_RECOVERY_CODE,PurOrdAccountAssignment.FUNDS_CENTER,PurOrdAccountAssignment.FUND,PurOrdAccountAssignment.FUNCTIONAL_AREA,PurOrdAccountAssignment.SETTLEMENT_REFERENCE_DATE,PurOrdAccountAssignment.TAX_CODE,PurOrdAccountAssignment.TAX_JURISDICTION,PurOrdAccountAssignment.COST_CTR_ACTIVITY_TYPE,PurOrdAccountAssignment.BUSINESS_PROCESS,PurOrdAccountAssignment.EARMARKED_FUNDS_DOCUMENT,PurOrdAccountAssignment.GRANT_ID,PurOrdAccountAssignment.BUDGET_PERIOD]

All fields of the PurOrdAccountAssignment entity.

Static _defaultServicePath

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

Default url path for the according service.

Static _entityName

_entityName: string = "A_PurOrdAccountAssignment"

Technical entity name for PurOrdAccountAssignment.

Static _keyFields

_keyFields: Array<Selectable<PurOrdAccountAssignment>> = [PurOrdAccountAssignment.PURCHASE_ORDER, PurOrdAccountAssignment.PURCHASE_ORDER_ITEM, PurOrdAccountAssignment.ACCOUNT_ASSIGNMENT_NUMBER]

All key fields of the PurOrdAccountAssignment entity.

Static _keys

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

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

Type declaration

Static _serviceName

_serviceName: string = "API_PURCHASEORDER_PROCESS_SRV"
deprecated

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

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

    Parameters

    • fieldName: string

      Name of the custom field to select

    Returns CustomField<PurOrdAccountAssignment>

    A builder that constructs instances of entity type PurOrdAccountAssignment.

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

    Returns PurOrdAccountAssignmentRequestBuilder

    A PurOrdAccountAssignment request builder.