Options
All
  • Public
  • Public/Protected
  • All
Menu

This class represents the entity "A_SuplrInvcItemAcctAssgmt" of service "API_SUPPLIERINVOICE_PROCESS_SRV". This service is part of the following communication scenarios: Supplier Invoice Integration (SAP_COM_0057). See https://api.sap.com/api/API_SUPPLIERINVOICE_PROCESS_SRV for more information.

Hierarchy

  • Entity
    • SuplrInvcItemAcctAssgmt

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

Optional accountAssignmentIsUnplanned

accountAssignmentIsUnplanned: undefined | false | true

Unplanned Account Assignment from Invoice Verification.

nullable

Optional accountAssignmentNumber

accountAssignmentNumber: undefined | string

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

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 companyCode

companyCode: undefined | string

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

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 debitCreditCode

debitCreditCode: undefined | string

Debit/Credit Indicator. Shows on which side of the account (S = debit, H = credit) the transaction figures are updated. Maximum length: 1.

nullable

Optional documentCurrency

documentCurrency: undefined | string

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

nullable

fiscalYear

fiscalYear: string

Fiscal Year. Period, 12 months as a rule, for which the company is to create its inventory and balance sheet. The fiscal year can be the same as the calendar year, but does not have to be. Maximum length: 4.

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 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 internalOrder

internalOrder: undefined | string

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

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 networkActivity

networkActivity: undefined | string

Operation/Activity Number. Production Planning Determines in which order the operations of a sequence are carried out.Project SystemNumber that identifies an activity. Maximum length: 4.

nullable

Optional networkActivityInternalId

networkActivityInternalId: undefined | string

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

nullable

ordinalNumber

ordinalNumber: string

Four Character Sequential Number for Coding Block. Maximum length: 4.

Optional partnerBusinessArea

partnerBusinessArea: undefined | string

Trading partner's business area. This field contains the business area of the trading partner. Together with the business area to which the posting is made, there is a sender/receiver relationship in each line item. This relationship enables the elimination of IC sales at business area level within business area consolidation. Maximum length: 4.

nullable

Optional personnelNumber

personnelNumber: undefined | string

Personnel Number. The personnel number is the only feature within a client which is unique to an employee. You have to enter a personnel number before you can display and maintain an employee's master data and time data. Maximum length: 8.

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 profitabilitySegment

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

Optional projectNetworkInternalId

projectNetworkInternalId: undefined | 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 purchaseOrderPriceUnit

purchaseOrderPriceUnit: undefined | string

Order Price Unit (Purchasing). Indicates the unit of measure to which the purchase order price relates. 100 pc are ordered at a price of 10 $/kg. The order unit is "pc" (piece), and the purchase order price unit is "kg" (kilogram). Maximum length: 3.

nullable

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 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 quantityInPurchaseOrderUnit

quantityInPurchaseOrderUnit: BigNumber

Quantity in Purchase Order Price Unit. Specifies the quantity delivered in the purchase order price unit.

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. Alphanumeric key uniquely identifying the document. Maximum length: 6.

nullable

Optional suplrInvcAccountAssignmentText

suplrInvcAccountAssignmentText: undefined | string

Item Text. Contains an explanatory text on the line item. Line item texts can be used internally and externally. To be able to distinguish between these, you must begin texts for external use with "*". These texts can then be printed on all correspondence, dunning notices, payment advice notes, etc. The asterisk is removed when the text is printed.This function is only available in the FI component. It cannot be used in Materials Management. Maximum length: 50.

nullable

Optional suplrInvcAcctAssignmentAmount

suplrInvcAcctAssignmentAmount: BigNumber

Amount in Document Currency. Line item amount in document currency. During document entry, enter the amount manually. In the last line item, you can specify a '*'. The system will then enter the balance of the line items entered prior to the last item as the amount for the last item.Amounts you enter may be changed automatically by the system if the following postings are made:Tax adjustmentsCash discount adjustments during net postings.

nullable

supplierInvoice

supplierInvoice: string

Accounting Document Number. The document number is the key the system uses to access the accounting document. The document number is unique per company code and fiscal year. When entering an accounting document, you can specify the number manually or it can be determined by the system from a pre-defined area (number range).The relevant area of the document numbers (number range) is determined in each company code per document type. Maximum length: 10.

supplierInvoiceItem

supplierInvoiceItem: string

Document Item in Invoice Document. By entering the number of an item in an invoice document, you can go straight to the line that you want to process. The system places the line selected at the top of the invoice item display. Maximum length: 6.

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 wbsElement

wbsElement: undefined | string

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

nullable

Optional workItem

workItem: undefined | string

Work Item ID. Maximum length: 10.

nullable

Static ACCOUNT_ASSIGNMENT_IS_UNPLANNED

ACCOUNT_ASSIGNMENT_IS_UNPLANNED: BooleanField<SuplrInvcItemAcctAssgmt> = new BooleanField('AccountAssignmentIsUnplanned', SuplrInvcItemAcctAssgmt, 'Edm.Boolean')

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

Static ACCOUNT_ASSIGNMENT_NUMBER

ACCOUNT_ASSIGNMENT_NUMBER: StringField<SuplrInvcItemAcctAssgmt> = new StringField('AccountAssignmentNumber', SuplrInvcItemAcctAssgmt, '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<SuplrInvcItemAcctAssgmt> = new AllFields('*', SuplrInvcItemAcctAssgmt)

All fields selector.

Static BUSINESS_AREA

BUSINESS_AREA: StringField<SuplrInvcItemAcctAssgmt> = new StringField('BusinessArea', SuplrInvcItemAcctAssgmt, '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<SuplrInvcItemAcctAssgmt> = new StringField('BusinessProcess', SuplrInvcItemAcctAssgmt, '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<SuplrInvcItemAcctAssgmt> = new StringField('CommitmentItem', SuplrInvcItemAcctAssgmt, '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 COMPANY_CODE

COMPANY_CODE: StringField<SuplrInvcItemAcctAssgmt> = new StringField('CompanyCode', SuplrInvcItemAcctAssgmt, '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 CONTROLLING_AREA

CONTROLLING_AREA: StringField<SuplrInvcItemAcctAssgmt> = new StringField('ControllingArea', SuplrInvcItemAcctAssgmt, '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<SuplrInvcItemAcctAssgmt> = new StringField('CostCenter', SuplrInvcItemAcctAssgmt, '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<SuplrInvcItemAcctAssgmt> = new StringField('CostCtrActivityType', SuplrInvcItemAcctAssgmt, '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<SuplrInvcItemAcctAssgmt> = new StringField('CostObject', SuplrInvcItemAcctAssgmt, '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 DEBIT_CREDIT_CODE

DEBIT_CREDIT_CODE: StringField<SuplrInvcItemAcctAssgmt> = new StringField('DebitCreditCode', SuplrInvcItemAcctAssgmt, 'Edm.String')

Static representation of the debitCreditCode 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<SuplrInvcItemAcctAssgmt> = new StringField('DocumentCurrency', SuplrInvcItemAcctAssgmt, '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 FISCAL_YEAR

FISCAL_YEAR: StringField<SuplrInvcItemAcctAssgmt> = new StringField('FiscalYear', SuplrInvcItemAcctAssgmt, 'Edm.String')

Static representation of the fiscalYear 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<SuplrInvcItemAcctAssgmt> = new StringField('FixedAsset', SuplrInvcItemAcctAssgmt, '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<SuplrInvcItemAcctAssgmt> = new StringField('FunctionalArea', SuplrInvcItemAcctAssgmt, '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<SuplrInvcItemAcctAssgmt> = new StringField('Fund', SuplrInvcItemAcctAssgmt, '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<SuplrInvcItemAcctAssgmt> = new StringField('FundsCenter', SuplrInvcItemAcctAssgmt, '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<SuplrInvcItemAcctAssgmt> = new StringField('GLAccount', SuplrInvcItemAcctAssgmt, '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 GRANT_ID

GRANT_ID: StringField<SuplrInvcItemAcctAssgmt> = new StringField('GrantID', SuplrInvcItemAcctAssgmt, '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 INTERNAL_ORDER

INTERNAL_ORDER: StringField<SuplrInvcItemAcctAssgmt> = new StringField('InternalOrder', SuplrInvcItemAcctAssgmt, 'Edm.String')

Static representation of the internalOrder 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<SuplrInvcItemAcctAssgmt> = new StringField('MasterFixedAsset', SuplrInvcItemAcctAssgmt, '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 NETWORK_ACTIVITY

NETWORK_ACTIVITY: StringField<SuplrInvcItemAcctAssgmt> = new StringField('NetworkActivity', SuplrInvcItemAcctAssgmt, 'Edm.String')

Static representation of the networkActivity 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<SuplrInvcItemAcctAssgmt> = new StringField('NetworkActivityInternalID', SuplrInvcItemAcctAssgmt, '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 ORDINAL_NUMBER

ORDINAL_NUMBER: StringField<SuplrInvcItemAcctAssgmt> = new StringField('OrdinalNumber', SuplrInvcItemAcctAssgmt, 'Edm.String')

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

Static PARTNER_BUSINESS_AREA

PARTNER_BUSINESS_AREA: StringField<SuplrInvcItemAcctAssgmt> = new StringField('PartnerBusinessArea', SuplrInvcItemAcctAssgmt, 'Edm.String')

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

Static PERSONNEL_NUMBER

PERSONNEL_NUMBER: StringField<SuplrInvcItemAcctAssgmt> = new StringField('PersonnelNumber', SuplrInvcItemAcctAssgmt, 'Edm.String')

Static representation of the personnelNumber 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<SuplrInvcItemAcctAssgmt> = new StringField('ProfitabilitySegment', SuplrInvcItemAcctAssgmt, '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<SuplrInvcItemAcctAssgmt> = new StringField('ProfitCenter', SuplrInvcItemAcctAssgmt, '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<SuplrInvcItemAcctAssgmt> = new StringField('ProjectNetwork', SuplrInvcItemAcctAssgmt, '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<SuplrInvcItemAcctAssgmt> = new StringField('ProjectNetworkInternalID', SuplrInvcItemAcctAssgmt, '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_ORDER_PRICE_UNIT

PURCHASE_ORDER_PRICE_UNIT: StringField<SuplrInvcItemAcctAssgmt> = new StringField('PurchaseOrderPriceUnit', SuplrInvcItemAcctAssgmt, 'Edm.String')

Static representation of the purchaseOrderPriceUnit 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<SuplrInvcItemAcctAssgmt> = new StringField('PurchaseOrderQuantityUnit', SuplrInvcItemAcctAssgmt, '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 QUANTITY

QUANTITY: BigNumberField<SuplrInvcItemAcctAssgmt> = new BigNumberField('Quantity', SuplrInvcItemAcctAssgmt, '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 QUANTITY_IN_PURCHASE_ORDER_UNIT

QUANTITY_IN_PURCHASE_ORDER_UNIT: BigNumberField<SuplrInvcItemAcctAssgmt> = new BigNumberField('QuantityInPurchaseOrderUnit', SuplrInvcItemAcctAssgmt, 'Edm.Decimal')

Static representation of the quantityInPurchaseOrderUnit 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<SuplrInvcItemAcctAssgmt> = new StringField('SalesOrder', SuplrInvcItemAcctAssgmt, '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<SuplrInvcItemAcctAssgmt> = new StringField('SalesOrderItem', SuplrInvcItemAcctAssgmt, '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 SUPLR_INVC_ACCOUNT_ASSIGNMENT_TEXT

SUPLR_INVC_ACCOUNT_ASSIGNMENT_TEXT: StringField<SuplrInvcItemAcctAssgmt> = new StringField('SuplrInvcAccountAssignmentText', SuplrInvcItemAcctAssgmt, 'Edm.String')

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

Static SUPLR_INVC_ACCT_ASSIGNMENT_AMOUNT

SUPLR_INVC_ACCT_ASSIGNMENT_AMOUNT: BigNumberField<SuplrInvcItemAcctAssgmt> = new BigNumberField('SuplrInvcAcctAssignmentAmount', SuplrInvcItemAcctAssgmt, 'Edm.Decimal')

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

Static SUPPLIER_INVOICE

SUPPLIER_INVOICE: StringField<SuplrInvcItemAcctAssgmt> = new StringField('SupplierInvoice', SuplrInvcItemAcctAssgmt, 'Edm.String')

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

Static SUPPLIER_INVOICE_ITEM

SUPPLIER_INVOICE_ITEM: StringField<SuplrInvcItemAcctAssgmt> = new StringField('SupplierInvoiceItem', SuplrInvcItemAcctAssgmt, 'Edm.String')

Static representation of the supplierInvoiceItem 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<SuplrInvcItemAcctAssgmt> = new StringField('TaxCode', SuplrInvcItemAcctAssgmt, '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<SuplrInvcItemAcctAssgmt> = new StringField('TaxJurisdiction', SuplrInvcItemAcctAssgmt, '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 WBS_ELEMENT

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

WORK_ITEM: StringField<SuplrInvcItemAcctAssgmt> = new StringField('WorkItem', SuplrInvcItemAcctAssgmt, 'Edm.String')

Static representation of the workItem 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<SuplrInvcItemAcctAssgmt> | BigNumberField<SuplrInvcItemAcctAssgmt> | BooleanField<SuplrInvcItemAcctAssgmt>> = [SuplrInvcItemAcctAssgmt.SUPPLIER_INVOICE,SuplrInvcItemAcctAssgmt.FISCAL_YEAR,SuplrInvcItemAcctAssgmt.SUPPLIER_INVOICE_ITEM,SuplrInvcItemAcctAssgmt.ORDINAL_NUMBER,SuplrInvcItemAcctAssgmt.COST_CENTER,SuplrInvcItemAcctAssgmt.CONTROLLING_AREA,SuplrInvcItemAcctAssgmt.BUSINESS_AREA,SuplrInvcItemAcctAssgmt.PROFIT_CENTER,SuplrInvcItemAcctAssgmt.FUNCTIONAL_AREA,SuplrInvcItemAcctAssgmt.GL_ACCOUNT,SuplrInvcItemAcctAssgmt.SALES_ORDER,SuplrInvcItemAcctAssgmt.SALES_ORDER_ITEM,SuplrInvcItemAcctAssgmt.COST_OBJECT,SuplrInvcItemAcctAssgmt.COST_CTR_ACTIVITY_TYPE,SuplrInvcItemAcctAssgmt.BUSINESS_PROCESS,SuplrInvcItemAcctAssgmt.WBS_ELEMENT,SuplrInvcItemAcctAssgmt.DOCUMENT_CURRENCY,SuplrInvcItemAcctAssgmt.SUPLR_INVC_ACCT_ASSIGNMENT_AMOUNT,SuplrInvcItemAcctAssgmt.PURCHASE_ORDER_QUANTITY_UNIT,SuplrInvcItemAcctAssgmt.QUANTITY,SuplrInvcItemAcctAssgmt.TAX_CODE,SuplrInvcItemAcctAssgmt.ACCOUNT_ASSIGNMENT_NUMBER,SuplrInvcItemAcctAssgmt.ACCOUNT_ASSIGNMENT_IS_UNPLANNED,SuplrInvcItemAcctAssgmt.PERSONNEL_NUMBER,SuplrInvcItemAcctAssgmt.WORK_ITEM,SuplrInvcItemAcctAssgmt.MASTER_FIXED_ASSET,SuplrInvcItemAcctAssgmt.FIXED_ASSET,SuplrInvcItemAcctAssgmt.DEBIT_CREDIT_CODE,SuplrInvcItemAcctAssgmt.TAX_JURISDICTION,SuplrInvcItemAcctAssgmt.INTERNAL_ORDER,SuplrInvcItemAcctAssgmt.PROJECT_NETWORK_INTERNAL_ID,SuplrInvcItemAcctAssgmt.NETWORK_ACTIVITY_INTERNAL_ID,SuplrInvcItemAcctAssgmt.PROJECT_NETWORK,SuplrInvcItemAcctAssgmt.NETWORK_ACTIVITY,SuplrInvcItemAcctAssgmt.COMMITMENT_ITEM,SuplrInvcItemAcctAssgmt.FUNDS_CENTER,SuplrInvcItemAcctAssgmt.FUND,SuplrInvcItemAcctAssgmt.GRANT_ID,SuplrInvcItemAcctAssgmt.PARTNER_BUSINESS_AREA,SuplrInvcItemAcctAssgmt.COMPANY_CODE,SuplrInvcItemAcctAssgmt.SUPLR_INVC_ACCOUNT_ASSIGNMENT_TEXT,SuplrInvcItemAcctAssgmt.PURCHASE_ORDER_PRICE_UNIT,SuplrInvcItemAcctAssgmt.QUANTITY_IN_PURCHASE_ORDER_UNIT,SuplrInvcItemAcctAssgmt.PROFITABILITY_SEGMENT]

All fields of the SuplrInvcItemAcctAssgmt entity.

Static _defaultServicePath

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

Default url path for the according service.

Static _entityName

_entityName: string = "A_SuplrInvcItemAcctAssgmt"

Technical entity name for SuplrInvcItemAcctAssgmt.

Static _keyFields

_keyFields: Array<Selectable<SuplrInvcItemAcctAssgmt>> = [SuplrInvcItemAcctAssgmt.SUPPLIER_INVOICE, SuplrInvcItemAcctAssgmt.FISCAL_YEAR, SuplrInvcItemAcctAssgmt.SUPPLIER_INVOICE_ITEM, SuplrInvcItemAcctAssgmt.ORDINAL_NUMBER]

All key fields of the SuplrInvcItemAcctAssgmt entity.

Static _keys

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

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

Type declaration

Static _serviceName

_serviceName: string = "API_SUPPLIERINVOICE_PROCESS_SRV"
deprecated

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

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

    Parameters

    • fieldName: string

      Name of the custom field to select

    Returns CustomField<SuplrInvcItemAcctAssgmt>

    A builder that constructs instances of entity type SuplrInvcItemAcctAssgmt.

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

    Returns SuplrInvcItemAcctAssgmtRequestBuilder

    A SuplrInvcItemAcctAssgmt request builder.