Options
All
  • Public
  • Public/Protected
  • All
Menu

This class represents the entity "A_DebitMemoRequest" of service "API_DEBIT_MEMO_REQUEST_SRV". This service is part of the following communication scenarios: Debit Memo Request Integration (SAP_COM_0159). See https://api.sap.com/api/API_DEBIT_MEMO_REQUEST_SRV for more information.

Hierarchy

  • Entity
    • DebitMemoRequest

Implements

Index

Constructors

Properties

Accessors

Methods

Constructors

constructor

  • Returns DebitMemoRequest

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 billingDocumentDate

billingDocumentDate: Moment

Billing Date. Date on which billing is processed and posted to Accounting. When you process billing documents in collective processing, you can use the billing date as a selection criterion.If invoice dates are defined for customers, the system proposes the billing date from the invoice date calendar. If no invoice dates are agreed, then the actual goods issue date is formed on the basis of delivery related billing. In order related billing, the billing date of the order forms the basis of the billing date. When billing services, the system proposes the date of services rendered. You can change the date in the sales document manually.If you use a billing plan to bill a project, the system can use the planned and actual dates to propose billing dates for the billing plan in the corresponding partial billing. In a billing plan for a maintenance or rental contract, you can specify rules by which the system determines billing dates on the basis of other dates in the contract.

nullable

Optional createdByUser

createdByUser: undefined | string

Name of Person Who Created Object. Maximum length: 12.

nullable

Optional creationDate

creationDate: Moment

Date on Which Record Was Created.

nullable

Optional customerPaymentTerms

customerPaymentTerms: undefined | string

Terms of Payment Key. Key for defining payment terms composed of cash discount percentages and payment periods. It is used in sales orders, purchase orders, and invoices. Terms of payment provide information for:Cash managementDunning proceduresPayment transactionsData can be entered in the field for the terms of payment key in various ways as you enter a business transaction:In most business transactions, the system defaults the key specified in the master record of the customer/vendor in question.In some transactions (for example, credit memos), however, the system does not default the key from the master record. Despite this, you can use the key from the customer/vendor master record by entering "*" in the field.Regardless of whether or not a key is defaulted from the master record, you can manually enter a key during document entry at:item level in sales ordersheader level in purchase orders and invoicesMaster records have separate areas for Financial Accounting, Sales, and Purchasing. You can specify different terms of payment keys in each of these areas. When you then enter a business transaction, the application in question will use the key specified in its area of the master record. Maximum length: 4.

nullable

Optional customerPurchaseOrderDate

customerPurchaseOrderDate: Moment

Customer Reference Date. The date that appears on the customer's purchase order. This date can be, for example, the date on which the customer created the purchase order.

nullable

Optional customerPurchaseOrderType

customerPurchaseOrderType: undefined | string

Customer Purchase Order Type. The way in which the sales document (the inquiry or sales order, for example) arrives from the customer. You can record here whether the sales document arrived, for example, by telephone, mail, or fax.Enter one of the values predefined for your system. Maximum length: 4.

nullable

debitMemoRequest

debitMemoRequest: string

Debit Memo Request. Maximum length: 10.

Optional debitMemoRequestDate

debitMemoRequestDate: Moment

Document Date (Date Received/Sent). The date on which you want the sales document (the sales order, for example) to become effective for sales management purposes. When you want to generate a list of sales documents or sales statistics, the document date you enter determines which sales documents are selected. You can define the document date to meet the needs of your organization.For sales orders, for example, you can define the document date as the date when the order actually arrives at your offices. Alternatively, you could define it as the date when the order was written up by a field sales representative.The system proposes the current date. You can change it manually in the sales document.

nullable

Optional debitMemoRequestType

debitMemoRequestType: undefined | string

Sales Document Type. A classification that distinguishes between different types of sales documents. The sales document type determines how the system processes the sales document. For example, depending on the sales document type, the system determines which screens to present and which data to ask you for. Maximum length: 4.

nullable

Optional distributionChannel

distributionChannel: undefined | string

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

nullable

Optional headerBillingBlockReason

headerBillingBlockReason: undefined | string

Billing Block in SD Document. Indicates if the entire sales document is blocked for billing. The system can propose the billing block according to the type of sales document. The billing block applies to the entire document. You can block or unblock the entire document manually in the header. If you want to block only a particular item, enter a value at the item level.You may want to apply a billing block to certain documents so that prices can be checked before further processing. Maximum length: 2.

nullable

Optional incotermsClassification

incotermsClassification: undefined | string

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

nullable

Optional incotermsLocation1

incotermsLocation1: undefined | string

Incoterms Location 1. Provides additional information for the primary Incoterm. For Incoterms 2010, this field represents:

  1. For sea and inland waterway transport - Port of Shipment2. For any mode of transport - Place of Delivery 2010Incoterms are divided as follows:Group 1: Rules for any mode or modes of transport (including by vessel)Incoterms Incoterms Description Location 1 EXW Ex Works Place of DeliveryFCA Free Carrier Place of DeliveryCPT Carriage Paid To Place of DestinationCIP Carriage & Insurance Paid To Place of DestinationDAF Delivered at Frontier Place of DeliveryDDP Delivered Duty Paid Place of DestinationDDU Delivered Duty Unpaid Place of DestinationGroup 2: Rules for sea and inland waterwaysIncoterms Incoterms Description Location 1 FAS Free Alongside Ship Port of ShipmentFOB Free On Board Port of ShipmentCFR Cost & Freight Port of DestinationCIF Cost Insurance & Freight Port of DestinationDEQ Delivered Eq Quay (Duty Paid) Port of DestinationDES Delivered Ex Ship Port of DestinationIf the primary incoterm is specified as FOB “Free on Board”, the second field provides details of the port from which the delivery leaves, such as FOB Boston. Maximum length: 70.
nullable

Optional incotermsLocation2

incotermsLocation2: undefined | string

Incoterms Location 2. Provides additional information for the Incoterms. This field is only available for C-Clauses (if customized appropriately). Note the following for the incoterms versions below: No Version:This field is disabledIncoterm Version 2000This field is disabled as part of standard delivery unless a customer decides to enable it by the way of Customizing for Sales and Distribution under Master Data -> Business Partners -> Customers -> Billing Document -> Incoterms -> Map Incoterms to Versions.Incoterm Version 2010For this version, the field represents:Sea and inland waterway transport - Port of DestinationAny mode of transport - Place of Destination2010 Incoterms are divided as follows:Group 1: Rules for any mode or modes of transport (including by vessel)Incoterms Incoterms Description Location 2CPT Carriage Paid To Place of DestinationCIP Carriage & Insurance Paid To Place of DestinationGroup 2: Rules for sea and inland waterwaysIncoterms Incoterms Description Location 2CFR Cost & Freight Port of DestinationCIF Cost Insurance & Freight Port of Destination. Maximum length: 70.

nullable

Optional incotermsTransferLocation

incotermsTransferLocation: undefined | string

Incoterms (Part 2). Additional information for the primary Incoterm. If the primary Incoterm is, for example, FOB ("Free on Board"), then the second field provides details of the port from which the delivery leaves (for example, "FOB Boston"). Maximum length: 28.

nullable

Optional incotermsVersion

incotermsVersion: undefined | string

Incoterms Version. An incoterms version is an edition containing a list of international terms for transportation that is defined by the International Chamber of Commerce (ICC). Maximum length: 4.

nullable

Optional lastChangeDate

lastChangeDate: Moment

Date of Last Change.

nullable

Optional lastChangeDateTime

lastChangeDateTime: Moment

UTC Time Stamp in Long Form (YYYYMMDDhhmmssmmmuuun). The UTC timestamp displays date and time according to UTC (Universal Coordinated Time). In order to convert local time into a UTC time stamp, which makes it easier to compare times, the local time must be converted according to your time zone. The ABAP command convert is available for this purpose.Even if the time zone that the conversion is based on can be redetermined from Customizing or master data, we still recommend that you save the time zone.The internal structure of the high-resolution UTC time stamp is logically organized in date and time sections in a packed decimal format (YYYYMMDDhhmmssmmmuuun), which depicts the year, month, day, hour,second, millisecond, microsecond and the first decimal of the nanoseconds. Please note that the hardware that is normally used does not fully support a resolution of 100 nanoseconds, which is available in the structure.See also GET TIME STAMPA UTC time stamp in short form is also available.

nullable

Optional organizationDivision

organizationDivision: undefined | string

Division. A way of grouping materials, products, or services. The system uses divisions to determine the sales areas and the business areas for a material, product, or service. A product or service is always assigned to just one division. From the point of view of sales and distribution, the use of divisions lets you organize your sales structure around groups of similar products or product lines. This allows the people in a division who process orders and service customers to specialize within a manageable area of expertise.If a sales organization sells food and non-food products through both retail and wholesaledistribution channels each distribution channel could then be further split into food and non-food divisions. Maximum length: 2.

nullable

Optional overallOrdReltdBillgStatus

overallOrdReltdBillgStatus: undefined | string

Order-Related Billing Status (All Items). The overall billing status of the sales order or delivery. The overall billing status tells you whether the sales order or delivery is relevant for billing, and, if so, to what extent billing has taken place. Maximum length: 1.

nullable

Optional overallSdDocumentRejectionSts

overallSdDocumentRejectionSts: undefined | string

Rejection Status (All Items). Displays the rejection status of the entire sales document. The system determines the total status from the status of all individual items in the sales document. The status message tells you whether the sales document has been partially or completely rejected or whether nothing has been rejected. Maximum length: 1.

nullable

Optional overallSdProcessStatus

overallSdProcessStatus: undefined | string

Overall Processing Status (Header/All Items). The processing status of the entire sales document. The system determines the status of the entire sales document by taking into account the status of all header-related information and the status of all individual items. The status message tells you whether processing of the sales document is open, in progress, or complete. Maximum length: 1.

nullable

Optional paymentMethod

paymentMethod: undefined | string

Payment Method. Payment method with which this item is to be paid. If you enter a payment method, then only this payment method can be used in automatic payment transactions. Unless you enter a payment method, one of the payment methods that was allowed in the master record is selected in the payment program according to specified rules.For document entry or document changes, you only enter a payment method if you want to switch off the automatic payment method selection of the payment program. Maximum length: 1.

nullable

Optional pricingDate

pricingDate: Moment

Date for Pricing and Exchange Rate. The date that determines date-related pricing elements, such as conditions and foreign exchange rate. You can use the pricing date as a selection criterion when you process billing documents collectively.The system proposes the current date. You can change it manually in the document. If you change the pricing date, the system recalculates pricing for the entire document. If the date is in the past, you receive a warning before you can continue.Determining the ProposalIn the order: You can customize the order type to determine a proposal, such as the current date or the requested delivery date as the pricing date.In the billing document: The billing date is proposed as the pricing date.

nullable

Optional purchaseOrderByCustomer

purchaseOrderByCustomer: undefined | string

Customer Reference. Number that the customer uses to uniquely identify a purchasing document (e.g. an inquiry or a purchase order). The number creates the link between the customer purchase order and the sales document that you create. You can use the number used by the customer during correspondence with the customer to find certain document information. If the number refers to a purchase order, you can also print it on the documents that you send to the customer (e.g. on the delivery note). Maximum length: 35.

nullable

Optional referenceSdDocument

referenceSdDocument: undefined | string

Document Number of the Reference Document. Identifies the sales order to which the delivery refers. Maximum length: 10.

nullable

Optional referenceSdDocumentCategory

referenceSdDocumentCategory: undefined | string

Document Category of Preceding SD Document. Specifies the sales document category of the preceding sales, delivery, or billing document. Maximum length: 4.

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 salesDistrict

salesDistrict: undefined | string

Sales District. A geographical sales district or region. Each customer can be assigned to a sales district. You can use sales districts to apply pricing conditions. When you want to generate sales statistics, you can use sales districts as a selection criteria.The system can propose a value from the customer master record of the sold-to party. You can change the value manually in the document at the header or item level. Maximum length: 6.

nullable

Optional salesGroup

salesGroup: undefined | string

Sales Group. A group of sales people who are responsible for processing sales of certain products or services. By using sales groups you can designate different areas of responsibility within a sales office. When you generate sales statistics, you can use the sales group as one of the selection criteria.If sales office personnel service both retail and wholesale markets, you can assign a sales group to each market.You assign each salesperson to a sales group in his or her user master record. You assign each customer to a particular sales group in the customer's master record. Maximum length: 3.

nullable

Optional salesOffice

salesOffice: undefined | string

Sales Office. A physical location (for example, a branch office) that has responsibility for the sale of certain products or services within a given geographical area. When you create sales statistics, you can use a sales office as one of the selection criteria. When you print out order confirmations, you can include the address of the sales office.You can assign each customer to a sales office in the customer master record.Within a sales office you can establish sales groups (for example, departments) with specific sales responsibilities. Each person who works in the sales office can be assigned to a sales group in his or her user master record. Each customer can also be assigned to a particular sales group in the customer master record. Maximum length: 4.

nullable

Optional salesOrganization

salesOrganization: undefined | string

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

nullable

Optional sdDocumentReason

sdDocumentReason: undefined | string

Order Reason (Reason for the Business Transaction). Indicates the reason for creating the sales document. You can freely define order reasons according to the needs of your organization. When you generate sales statistics, you can use the order reason as one of the selection criteria.Enter one of the values predefined for your system. If you are creating a credit or debit memo request, you must enter an order reason.If the order reason specifies, for example, that a customer placed a sales order as a result of contact at a trade fair, you can later generate statistics for all sales orders that were placed at trade fairs. Maximum length: 3.

nullable

Optional servicesRenderedDate

servicesRenderedDate: Moment

Date on which services are rendered. The date of services rendered that determines when the system calculates taxes (for example, sales tax) for the material. If you deliver products, the date of services rendered corresponds to the goods issue date and you do not have to enter a date in this field. If you provide a service, however, and you are billing hours, you can enter a date manually. You can use the date of services rendered as one of the selection criteria when you process billing documents collectively.

nullable

Optional soldToParty

soldToParty: undefined | string

Sold-To Party. The customer who orders the goods or services. The sold-to party is contractually responsible for sales orders. Maximum length: 10.

nullable

toItem

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

toPartner

toPartner: DebitMemoReqPartner[]

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

toPricingElement

toPricingElement: DebitMemoReqPrcgElmnt[]

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

Optional totalCreditCheckStatus

totalCreditCheckStatus: undefined | string

Overall Status of Credit Checks. Maximum length: 1.

nullable

Optional totalNetAmount

totalNetAmount: BigNumber

Net Value of the Sales Order in Document Currency. The total value of all items in the sales document, after any discounts and surcharges are taken into account. The value is expressed in the document currency.

nullable

Optional transactionCurrency

transactionCurrency: undefined | string

SD document currency. The currency that applies to the document (for example, to a sales order or an invoice). The system proposes the document currency from the customer master record of the sold-to party. You can change the currency manually in the document. If you change the currency, the system recalculates prices for the entire document. Maximum length: 5.

nullable

Static ALL_FIELDS

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

All fields selector.

Static BILLING_DOCUMENT_DATE

BILLING_DOCUMENT_DATE: DateField<DebitMemoRequest> = new DateField('BillingDocumentDate', DebitMemoRequest, 'Edm.DateTime')

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

Static CREATED_BY_USER

CREATED_BY_USER: StringField<DebitMemoRequest> = new StringField('CreatedByUser', DebitMemoRequest, 'Edm.String')

Static representation of the createdByUser 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<DebitMemoRequest> = new DateField('CreationDate', DebitMemoRequest, '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 CUSTOMER_PAYMENT_TERMS

CUSTOMER_PAYMENT_TERMS: StringField<DebitMemoRequest> = new StringField('CustomerPaymentTerms', DebitMemoRequest, 'Edm.String')

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

Static CUSTOMER_PURCHASE_ORDER_DATE

CUSTOMER_PURCHASE_ORDER_DATE: DateField<DebitMemoRequest> = new DateField('CustomerPurchaseOrderDate', DebitMemoRequest, 'Edm.DateTime')

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

Static CUSTOMER_PURCHASE_ORDER_TYPE

CUSTOMER_PURCHASE_ORDER_TYPE: StringField<DebitMemoRequest> = new StringField('CustomerPurchaseOrderType', DebitMemoRequest, 'Edm.String')

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

Static DEBIT_MEMO_REQUEST

DEBIT_MEMO_REQUEST: StringField<DebitMemoRequest> = new StringField('DebitMemoRequest', DebitMemoRequest, 'Edm.String')

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

Static DEBIT_MEMO_REQUEST_DATE

DEBIT_MEMO_REQUEST_DATE: DateField<DebitMemoRequest> = new DateField('DebitMemoRequestDate', DebitMemoRequest, 'Edm.DateTime')

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

Static DEBIT_MEMO_REQUEST_TYPE

DEBIT_MEMO_REQUEST_TYPE: StringField<DebitMemoRequest> = new StringField('DebitMemoRequestType', DebitMemoRequest, 'Edm.String')

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

Static DISTRIBUTION_CHANNEL

DISTRIBUTION_CHANNEL: StringField<DebitMemoRequest> = new StringField('DistributionChannel', DebitMemoRequest, 'Edm.String')

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

Static HEADER_BILLING_BLOCK_REASON

HEADER_BILLING_BLOCK_REASON: StringField<DebitMemoRequest> = new StringField('HeaderBillingBlockReason', DebitMemoRequest, 'Edm.String')

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

Static INCOTERMS_CLASSIFICATION

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

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

Static INCOTERMS_LOCATION_1

INCOTERMS_LOCATION_1: StringField<DebitMemoRequest> = new StringField('IncotermsLocation1', DebitMemoRequest, 'Edm.String')

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

Static INCOTERMS_LOCATION_2

INCOTERMS_LOCATION_2: StringField<DebitMemoRequest> = new StringField('IncotermsLocation2', DebitMemoRequest, 'Edm.String')

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

Static INCOTERMS_TRANSFER_LOCATION

INCOTERMS_TRANSFER_LOCATION: StringField<DebitMemoRequest> = new StringField('IncotermsTransferLocation', DebitMemoRequest, 'Edm.String')

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

Static INCOTERMS_VERSION

INCOTERMS_VERSION: StringField<DebitMemoRequest> = new StringField('IncotermsVersion', DebitMemoRequest, 'Edm.String')

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

Static LAST_CHANGE_DATE

LAST_CHANGE_DATE: DateField<DebitMemoRequest> = new DateField('LastChangeDate', DebitMemoRequest, 'Edm.DateTime')

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

Static LAST_CHANGE_DATE_TIME

LAST_CHANGE_DATE_TIME: DateField<DebitMemoRequest> = new DateField('LastChangeDateTime', DebitMemoRequest, 'Edm.DateTimeOffset')

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

Static ORGANIZATION_DIVISION

ORGANIZATION_DIVISION: StringField<DebitMemoRequest> = new StringField('OrganizationDivision', DebitMemoRequest, 'Edm.String')

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

Static OVERALL_ORD_RELTD_BILLG_STATUS

OVERALL_ORD_RELTD_BILLG_STATUS: StringField<DebitMemoRequest> = new StringField('OverallOrdReltdBillgStatus', DebitMemoRequest, 'Edm.String')

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

Static OVERALL_SD_DOCUMENT_REJECTION_STS

OVERALL_SD_DOCUMENT_REJECTION_STS: StringField<DebitMemoRequest> = new StringField('OverallSDDocumentRejectionSts', DebitMemoRequest, 'Edm.String')

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

Static OVERALL_SD_PROCESS_STATUS

OVERALL_SD_PROCESS_STATUS: StringField<DebitMemoRequest> = new StringField('OverallSDProcessStatus', DebitMemoRequest, 'Edm.String')

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

Static PAYMENT_METHOD

PAYMENT_METHOD: StringField<DebitMemoRequest> = new StringField('PaymentMethod', DebitMemoRequest, 'Edm.String')

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

Static PRICING_DATE

PRICING_DATE: DateField<DebitMemoRequest> = new DateField('PricingDate', DebitMemoRequest, 'Edm.DateTime')

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

Static PURCHASE_ORDER_BY_CUSTOMER

PURCHASE_ORDER_BY_CUSTOMER: StringField<DebitMemoRequest> = new StringField('PurchaseOrderByCustomer', DebitMemoRequest, 'Edm.String')

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

Static REFERENCE_SD_DOCUMENT

REFERENCE_SD_DOCUMENT: StringField<DebitMemoRequest> = new StringField('ReferenceSDDocument', DebitMemoRequest, 'Edm.String')

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

Static REFERENCE_SD_DOCUMENT_CATEGORY

REFERENCE_SD_DOCUMENT_CATEGORY: StringField<DebitMemoRequest> = new StringField('ReferenceSDDocumentCategory', DebitMemoRequest, 'Edm.String')

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

Static SALES_DISTRICT

SALES_DISTRICT: StringField<DebitMemoRequest> = new StringField('SalesDistrict', DebitMemoRequest, 'Edm.String')

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

Static SALES_GROUP

SALES_GROUP: StringField<DebitMemoRequest> = new StringField('SalesGroup', DebitMemoRequest, 'Edm.String')

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

Static SALES_OFFICE

SALES_OFFICE: StringField<DebitMemoRequest> = new StringField('SalesOffice', DebitMemoRequest, 'Edm.String')

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

Static SALES_ORGANIZATION

SALES_ORGANIZATION: StringField<DebitMemoRequest> = new StringField('SalesOrganization', DebitMemoRequest, 'Edm.String')

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

Static SD_DOCUMENT_REASON

SD_DOCUMENT_REASON: StringField<DebitMemoRequest> = new StringField('SDDocumentReason', DebitMemoRequest, 'Edm.String')

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

Static SERVICES_RENDERED_DATE

SERVICES_RENDERED_DATE: DateField<DebitMemoRequest> = new DateField('ServicesRenderedDate', DebitMemoRequest, 'Edm.DateTime')

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

Static SOLD_TO_PARTY

SOLD_TO_PARTY: StringField<DebitMemoRequest> = new StringField('SoldToParty', DebitMemoRequest, 'Edm.String')

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

Static TOTAL_CREDIT_CHECK_STATUS

TOTAL_CREDIT_CHECK_STATUS: StringField<DebitMemoRequest> = new StringField('TotalCreditCheckStatus', DebitMemoRequest, 'Edm.String')

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

Static TOTAL_NET_AMOUNT

TOTAL_NET_AMOUNT: BigNumberField<DebitMemoRequest> = new BigNumberField('TotalNetAmount', DebitMemoRequest, 'Edm.Decimal')

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

Static TO_ITEM

TO_ITEM: Link<DebitMemoRequest, DebitMemoRequestItem> = new Link('to_Item', DebitMemoRequest, DebitMemoRequestItem)

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

Static TO_PARTNER

TO_PARTNER: Link<DebitMemoRequest, DebitMemoReqPartner> = new Link('to_Partner', DebitMemoRequest, DebitMemoReqPartner)

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

Static TO_PRICING_ELEMENT

TO_PRICING_ELEMENT: Link<DebitMemoRequest, DebitMemoReqPrcgElmnt> = new Link('to_PricingElement', DebitMemoRequest, DebitMemoReqPrcgElmnt)

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

Static TRANSACTION_CURRENCY

TRANSACTION_CURRENCY: StringField<DebitMemoRequest> = new StringField('TransactionCurrency', DebitMemoRequest, 'Edm.String')

Static representation of the transactionCurrency 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<DebitMemoRequest> | DateField<DebitMemoRequest> | BigNumberField<DebitMemoRequest> | Link<DebitMemoRequest, DebitMemoRequestItem> | Link<DebitMemoRequest, DebitMemoReqPartner> | Link<DebitMemoRequest, DebitMemoReqPrcgElmnt>> = [DebitMemoRequest.DEBIT_MEMO_REQUEST,DebitMemoRequest.DEBIT_MEMO_REQUEST_TYPE,DebitMemoRequest.SALES_ORGANIZATION,DebitMemoRequest.DISTRIBUTION_CHANNEL,DebitMemoRequest.ORGANIZATION_DIVISION,DebitMemoRequest.SALES_GROUP,DebitMemoRequest.SALES_OFFICE,DebitMemoRequest.SALES_DISTRICT,DebitMemoRequest.SOLD_TO_PARTY,DebitMemoRequest.CREATION_DATE,DebitMemoRequest.CREATED_BY_USER,DebitMemoRequest.LAST_CHANGE_DATE,DebitMemoRequest.LAST_CHANGE_DATE_TIME,DebitMemoRequest.PURCHASE_ORDER_BY_CUSTOMER,DebitMemoRequest.CUSTOMER_PURCHASE_ORDER_TYPE,DebitMemoRequest.CUSTOMER_PURCHASE_ORDER_DATE,DebitMemoRequest.DEBIT_MEMO_REQUEST_DATE,DebitMemoRequest.TOTAL_NET_AMOUNT,DebitMemoRequest.TRANSACTION_CURRENCY,DebitMemoRequest.SD_DOCUMENT_REASON,DebitMemoRequest.PRICING_DATE,DebitMemoRequest.HEADER_BILLING_BLOCK_REASON,DebitMemoRequest.INCOTERMS_CLASSIFICATION,DebitMemoRequest.INCOTERMS_TRANSFER_LOCATION,DebitMemoRequest.INCOTERMS_LOCATION_1,DebitMemoRequest.INCOTERMS_LOCATION_2,DebitMemoRequest.INCOTERMS_VERSION,DebitMemoRequest.CUSTOMER_PAYMENT_TERMS,DebitMemoRequest.PAYMENT_METHOD,DebitMemoRequest.BILLING_DOCUMENT_DATE,DebitMemoRequest.SERVICES_RENDERED_DATE,DebitMemoRequest.REFERENCE_SD_DOCUMENT,DebitMemoRequest.REFERENCE_SD_DOCUMENT_CATEGORY,DebitMemoRequest.OVERALL_SD_PROCESS_STATUS,DebitMemoRequest.TOTAL_CREDIT_CHECK_STATUS,DebitMemoRequest.OVERALL_SD_DOCUMENT_REJECTION_STS,DebitMemoRequest.OVERALL_ORD_RELTD_BILLG_STATUS,DebitMemoRequest.TO_ITEM,DebitMemoRequest.TO_PARTNER,DebitMemoRequest.TO_PRICING_ELEMENT]

All fields of the DebitMemoRequest entity.

Static _defaultServicePath

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

Default url path for the according service.

Static _entityName

_entityName: string = "A_DebitMemoRequest"

Technical entity name for DebitMemoRequest.

Static _keyFields

_keyFields: Array<Selectable<DebitMemoRequest>> = [DebitMemoRequest.DEBIT_MEMO_REQUEST]

All key fields of the DebitMemoRequest entity.

Static _keys

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

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

Type declaration

Static _serviceName

_serviceName: string = "API_DEBIT_MEMO_REQUEST_SRV"
deprecated

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

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

    Parameters

    • fieldName: string

      Name of the custom field to select

    Returns CustomField<DebitMemoRequest>

    A builder that constructs instances of entity type DebitMemoRequest.

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

    Returns DebitMemoRequestRequestBuilder

    A DebitMemoRequest request builder.