Options
All
  • Public
  • Public/Protected
  • All
Menu

This class represents the entity "A_CustProjSlsOrd" of service "CPD.SC_PROJ_ENGMT_CREATE_UPD_SRV". This service is part of the following communication scenarios: Commercial Project Integration (SAP_COM_0054). See https://api.sap.com/api/SC_PROJ_ENGMT_CREATE_UPD_SRV for more information.

Hierarchy

  • any
    • CustProjSlsOrd

Implements

Index

Properties

customerProject

customerProject: string

Commercial Project ID. Identifies a master project. Maximum length: 40.

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

distributionChannel

distributionChannel: 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

organizationDivision

organizationDivision: 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

purchaseOrderByCustomer

purchaseOrderByCustomer: 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

salesGroup

salesGroup: 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

salesOffice

salesOffice: 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

salesOrder

salesOrder: string

Sales Order. Maximum length: 10.

nullable

salesOrganization

salesOrganization: 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

soldToParty

soldToParty: 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

toSalesOrderItem

toSalesOrderItem: CustProjSlsOrdItem[]

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

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

transactionCurrency

transactionCurrency: 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 CUSTOMER_PROJECT

CUSTOMER_PROJECT: StringField<CustProjSlsOrd> = new StringField('CustomerProject', CustProjSlsOrd, 'Edm.String')

Static representation of the customerProject 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<CustProjSlsOrd> = new DateField('CustomerPurchaseOrderDate', CustProjSlsOrd, '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 DISTRIBUTION_CHANNEL

DISTRIBUTION_CHANNEL: StringField<CustProjSlsOrd> = new StringField('DistributionChannel', CustProjSlsOrd, '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 ORGANIZATION_DIVISION

ORGANIZATION_DIVISION: StringField<CustProjSlsOrd> = new StringField('OrganizationDivision', CustProjSlsOrd, '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 PURCHASE_ORDER_BY_CUSTOMER

PURCHASE_ORDER_BY_CUSTOMER: StringField<CustProjSlsOrd> = new StringField('PurchaseOrderByCustomer', CustProjSlsOrd, '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 SALES_GROUP

SALES_GROUP: StringField<CustProjSlsOrd> = new StringField('SalesGroup', CustProjSlsOrd, '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<CustProjSlsOrd> = new StringField('SalesOffice', CustProjSlsOrd, '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_ORDER

SALES_ORDER: StringField<CustProjSlsOrd> = new StringField('SalesOrder', CustProjSlsOrd, '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_ORGANIZATION

SALES_ORGANIZATION: StringField<CustProjSlsOrd> = new StringField('SalesOrganization', CustProjSlsOrd, '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 SOLD_TO_PARTY

SOLD_TO_PARTY: StringField<CustProjSlsOrd> = new StringField('SoldToParty', CustProjSlsOrd, '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_NET_AMOUNT

TOTAL_NET_AMOUNT: BigNumberField<CustProjSlsOrd> = new BigNumberField('TotalNetAmount', CustProjSlsOrd, '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_SALES_ORDER_ITEM

TO_SALES_ORDER_ITEM: Link<CustProjSlsOrd, CustProjSlsOrdItem> = new Link('to_SalesOrderItem', CustProjSlsOrd, CustProjSlsOrdItem)

Static representation of the one-to-many navigation property toSalesOrderItem 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<CustProjSlsOrd> = new StringField('TransactionCurrency', CustProjSlsOrd, '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: any[] = [CustProjSlsOrd.CUSTOMER_PROJECT,CustProjSlsOrd.SALES_ORDER,CustProjSlsOrd.SOLD_TO_PARTY,CustProjSlsOrd.TOTAL_NET_AMOUNT,CustProjSlsOrd.TRANSACTION_CURRENCY,CustProjSlsOrd.PURCHASE_ORDER_BY_CUSTOMER,CustProjSlsOrd.CUSTOMER_PURCHASE_ORDER_DATE,CustProjSlsOrd.SALES_OFFICE,CustProjSlsOrd.SALES_GROUP,CustProjSlsOrd.SALES_ORGANIZATION,CustProjSlsOrd.DISTRIBUTION_CHANNEL,CustProjSlsOrd.ORGANIZATION_DIVISION,CustProjSlsOrd.TO_SALES_ORDER_ITEM]

All fields of the CustProjSlsOrd entity.

Static _defaultServicePath

_defaultServicePath: string = "/sap/opu/odata/cpd/SC_PROJ_ENGMT_CREATE_UPD_SRV"

Default url path for the according service.

Static _entityName

_entityName: string = "A_CustProjSlsOrd"

Technical entity name for CustProjSlsOrd.

Static _keyFields

_keyFields: Array<Selectable<CustProjSlsOrd>> = [CustProjSlsOrd.CUSTOMER_PROJECT]

All key fields of the CustProjSlsOrd entity.

Static _keys

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

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

Static _serviceName

_serviceName: string = "CPD.SC_PROJ_ENGMT_CREATE_UPD_SRV"

Technical service name for CustProjSlsOrd.

Methods

Static builder

  • Returns an entity builder to construct instances CustProjSlsOrd.

    Returns EntityBuilderType<CustProjSlsOrd, CustProjSlsOrdType>

    A builder that constructs instances of entity type CustProjSlsOrd.

Static requestBuilder

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

    Returns CustProjSlsOrdRequestBuilder

    A CustProjSlsOrd request builder.