Class PurchasingDocument
- All Implemented Interfaces:
VdmEntitySet
Original entity name from the Odata EDM: PurchasingDocument_Type
-
Nested Class Summary
Nested Classes -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final ComplexProperty.Collection<PurchasingDocument,SAP__Message> Use with available request builders to apply the SAP__Messages complex property to query operations.static final SimpleProperty<PurchasingDocument>Selector for all available fields of PurchasingDocument.static final SimpleProperty.String<PurchasingDocument>static final SimpleProperty.String<PurchasingDocument>static final SimpleProperty.String<PurchasingDocument>static final SimpleProperty.String<PurchasingDocument>static final SimpleProperty.String<PurchasingDocument>static final SimpleProperty.String<PurchasingDocument>static final SimpleProperty.String<PurchasingDocument>static final SimpleProperty.String<PurchasingDocument>Fields inherited from class com.sap.cloud.sdk.datamodel.odatav4.core.VdmObject
changedOriginalFields, ODATA_TYPE_ANNOTATIONS, ODATA_VERSION_ANNOTATIONS -
Constructor Summary
ConstructorsConstructorDescriptionPurchasingDocument(String purchasingDocument, String purchasingDocumentCategory, String purchasingDocumentType, String purchasingOrganization, String purchasingGroup, String purchasingDocumentOrigin, String isEndOfPurposeBlocked, String companyCode, Collection<SAP__Message> _Messages) -
Method Summary
Modifier and TypeMethodDescriptionbuilder()protected booleanbooleanprotected voidConstraints: Not nullableConstraints: Not nullable, Maximum length: 4protected Stringprotected StringConstraints: Not nullable, Maximum length: 1protected ODataEntityKeygetKey()(Key Field) Constraints: Not nullable, Maximum length: 10Constraints: Not nullable, Maximum length: 1Constraints: Not nullable, Maximum length: 1Constraints: Not nullable, Maximum length: 4Constraints: Not nullable, Maximum length: 3Constraints: Not nullable, Maximum length: 4getType()inthashCode()voidset_Messages(Collection<SAP__Message> _Messages) Constraints: Not nullablevoidsetCompanyCode(String companyCode) Constraints: Not nullable, Maximum length: 4voidsetIsEndOfPurposeBlocked(String isEndOfPurposeBlocked) Constraints: Not nullable, Maximum length: 1voidsetPurchasingDocument(String purchasingDocument) (Key Field) Constraints: Not nullable, Maximum length: 10voidsetPurchasingDocumentCategory(String purchasingDocumentCategory) Constraints: Not nullable, Maximum length: 1voidsetPurchasingDocumentOrigin(String purchasingDocumentOrigin) Constraints: Not nullable, Maximum length: 1voidsetPurchasingDocumentType(String purchasingDocumentType) Constraints: Not nullable, Maximum length: 4voidsetPurchasingGroup(String purchasingGroup) Constraints: Not nullable, Maximum length: 3voidsetPurchasingOrganization(String purchasingOrganization) Constraints: Not nullable, Maximum length: 4simulatePricing(String pURCHASINGDOCUMENT, String pURCHASINGDOCUMENTCATEGORY, String sIMULATIONCURRENCY, String dOMAINVALUENAME, Collection<GEN_ITEM_PRICE_SIM> _ITEMS) Action that can be applied to any entity object of this class.toString()Methods inherited from class com.sap.cloud.sdk.datamodel.odatav4.core.VdmEntity
all, attachToService, getDestinationForFetch, getServicePathForFetch, getVersionIdentifier, setDestinationForFetch, setServicePathForFetch, setVersionIdentifierMethods inherited from class com.sap.cloud.sdk.datamodel.odatav4.core.VdmObject
getAnnotationProperties, getChangedFields, getCustomField, getCustomField, getCustomFieldNames, getCustomFields, getSetOfCustomFields, getSetOfFields, getSetOfNavigationProperties, hasCustomField, hasCustomField, rememberChangedField, resetChangedFields, setCustomField, setCustomField, toMap, toMapOfCustomFields, toMapOfNavigationProperties
-
Field Details
-
ALL_FIELDS
Selector for all available fields of PurchasingDocument. -
PURCHASING_DOCUMENT
-
PURCHASING_DOCUMENT_CATEGORY
-
PURCHASING_DOCUMENT_TYPE
-
PURCHASING_ORGANIZATION
-
PURCHASING_GROUP
-
PURCHASING_DOCUMENT_ORIGIN
-
IS_END_OF_PURPOSE_BLOCKED
-
COMPANY_CODE
-
_MESSAGES
Use with available request builders to apply the SAP__Messages complex property to query operations.
-
-
Constructor Details
-
PurchasingDocument
public PurchasingDocument() -
PurchasingDocument
public PurchasingDocument(@Nullable String purchasingDocument, @Nullable String purchasingDocumentCategory, @Nullable String purchasingDocumentType, @Nullable String purchasingOrganization, @Nullable String purchasingGroup, @Nullable String purchasingDocumentOrigin, @Nullable String isEndOfPurposeBlocked, @Nullable String companyCode, @Nullable Collection<SAP__Message> _Messages)
-
-
Method Details
-
getType
- Specified by:
getTypein classVdmObject<PurchasingDocument>
-
setPurchasingDocument
(Key Field) Constraints: Not nullable, Maximum length: 10Original property name from the Odata EDM: PurchasingDocument
- Parameters:
purchasingDocument- Purchasing Document Number
-
setPurchasingDocumentCategory
Constraints: Not nullable, Maximum length: 1Original property name from the Odata EDM: PurchasingDocumentCategory
- Parameters:
purchasingDocumentCategory- Purchasing Document Category
-
setPurchasingDocumentType
Constraints: Not nullable, Maximum length: 4Original property name from the Odata EDM: PurchasingDocumentType
- Parameters:
purchasingDocumentType- Purchasing Document Type
-
setPurchasingOrganization
Constraints: Not nullable, Maximum length: 4Original property name from the Odata EDM: PurchasingOrganization
- Parameters:
purchasingOrganization- Purchasing Organization
-
setPurchasingGroup
Constraints: Not nullable, Maximum length: 3Original property name from the Odata EDM: PurchasingGroup
- Parameters:
purchasingGroup- Purchasing Group
-
setPurchasingDocumentOrigin
Constraints: Not nullable, Maximum length: 1Original property name from the Odata EDM: PurchasingDocumentOrigin
- Parameters:
purchasingDocumentOrigin- Status of Purchasing Document
-
setIsEndOfPurposeBlocked
Constraints: Not nullable, Maximum length: 1Original property name from the Odata EDM: IsEndOfPurposeBlocked
- Parameters:
isEndOfPurposeBlocked- Business Purpose Completed
-
setCompanyCode
Constraints: Not nullable, Maximum length: 4Original property name from the Odata EDM: CompanyCode
- Parameters:
companyCode- Company Code
-
set_Messages
Constraints: Not nullableOriginal property name from the Odata EDM: SAP__Messages
- Parameters:
_Messages- The _Messages to set.
-
getEntityCollection
- Specified by:
getEntityCollectionin classVdmEntity<PurchasingDocument>
-
getKey
- Overrides:
getKeyin classVdmObject<PurchasingDocument>
-
toMapOfFields
- Overrides:
toMapOfFieldsin classVdmObject<PurchasingDocument>
-
fromMap
- Overrides:
fromMapin classVdmObject<PurchasingDocument>
-
getDefaultServicePath
- Overrides:
getDefaultServicePathin classVdmEntity<PurchasingDocument>
-
simulatePricing
@Nonnull public static BoundAction.SingleToCollection<PurchasingDocument,GEN_PRICE_SIM_R> simulatePricing(@Nonnull String pURCHASINGDOCUMENT, @Nonnull String pURCHASINGDOCUMENTCATEGORY, @Nonnull String sIMULATIONCURRENCY, @Nonnull String dOMAINVALUENAME, @Nonnull Collection<GEN_ITEM_PRICE_SIM> _ITEMS) Action that can be applied to any entity object of this class.- Parameters:
_ITEMS- Constraints: Not nullableOriginal parameter name from the Odata EDM: _ITEMS
dOMAINVALUENAME- Constraints: Not nullable, Maximum length: 60Original parameter name from the Odata EDM: DOMAINVALUENAME
pURCHASINGDOCUMENT- Constraints: Not nullable, Maximum length: 10Original parameter name from the Odata EDM: PURCHASINGDOCUMENT
pURCHASINGDOCUMENTCATEGORY- Constraints: Not nullable, Maximum length: 1Original parameter name from the Odata EDM: PURCHASINGDOCUMENTCATEGORY
sIMULATIONCURRENCY- Constraints: Not nullable, Maximum length: 3Original parameter name from the Odata EDM: SIMULATIONCURRENCY
- Returns:
- Action object prepared with the given parameters to be applied to any entity object of this class.
To execute it use the
service.forEntity(entity).applyAction(thisAction)API.
-
builder
-
getPurchasingDocument
(Key Field) Constraints: Not nullable, Maximum length: 10Original property name from the Odata EDM: PurchasingDocument
- Returns:
- Purchasing Document Number
-
getPurchasingDocumentCategory
Constraints: Not nullable, Maximum length: 1Original property name from the Odata EDM: PurchasingDocumentCategory
- Returns:
- Purchasing Document Category
-
getPurchasingDocumentType
Constraints: Not nullable, Maximum length: 4Original property name from the Odata EDM: PurchasingDocumentType
- Returns:
- Purchasing Document Type
-
getPurchasingOrganization
Constraints: Not nullable, Maximum length: 4Original property name from the Odata EDM: PurchasingOrganization
- Returns:
- Purchasing Organization
-
getPurchasingGroup
Constraints: Not nullable, Maximum length: 3Original property name from the Odata EDM: PurchasingGroup
- Returns:
- Purchasing Group
-
getPurchasingDocumentOrigin
Constraints: Not nullable, Maximum length: 1Original property name from the Odata EDM: PurchasingDocumentOrigin
- Returns:
- Status of Purchasing Document
-
getIsEndOfPurposeBlocked
Constraints: Not nullable, Maximum length: 1Original property name from the Odata EDM: IsEndOfPurposeBlocked
- Returns:
- Business Purpose Completed
-
getCompanyCode
Constraints: Not nullable, Maximum length: 4Original property name from the Odata EDM: CompanyCode
- Returns:
- Company Code
-
get_Messages
Constraints: Not nullableOriginal property name from the Odata EDM: SAP__Messages
- Returns:
- The _Messages contained in this
VdmEntity.
-
toString
- Overrides:
toStringin classVdmObject<PurchasingDocument>
-
equals
- Overrides:
equalsin classVdmEntity<PurchasingDocument>
-
canEqual
- Overrides:
canEqualin classVdmEntity<PurchasingDocument>
-
hashCode
public int hashCode()- Overrides:
hashCodein classVdmEntity<PurchasingDocument>
-
getOdataType
- Specified by:
getOdataTypein classVdmObject<PurchasingDocument>
-