public class PurchaseOrder extends VdmEntity<PurchaseOrder>
Original entity name from the Odata EDM: A_PurchaseOrderType
Modifier and Type | Class and Description |
---|---|
static class |
PurchaseOrder.PurchaseOrderBuilder
Helper class to allow for fluent creation of PurchaseOrder instances.
|
Modifier and Type | Field and Description |
---|---|
static PurchaseOrderField<String> |
ADDRESS_CITY_NAME
Use with available fluent helpers to apply the AddressCityName field to query operations.
|
static PurchaseOrderField<String> |
ADDRESS_CORRESPONDENCE_LANGUAGE
Use with available fluent helpers to apply the AddressCorrespondenceLanguage field to query operations.
|
static PurchaseOrderField<String> |
ADDRESS_COUNTRY
Use with available fluent helpers to apply the AddressCountry field to query operations.
|
static PurchaseOrderField<String> |
ADDRESS_FAX_NUMBER
Use with available fluent helpers to apply the AddressFaxNumber field to query operations.
|
static PurchaseOrderField<String> |
ADDRESS_HOUSE_NUMBER
Use with available fluent helpers to apply the AddressHouseNumber field to query operations.
|
static PurchaseOrderField<String> |
ADDRESS_NAME
Use with available fluent helpers to apply the AddressName field to query operations.
|
static PurchaseOrderField<String> |
ADDRESS_PHONE_NUMBER
Use with available fluent helpers to apply the AddressPhoneNumber field to query operations.
|
static PurchaseOrderField<String> |
ADDRESS_POSTAL_CODE
Use with available fluent helpers to apply the AddressPostalCode field to query operations.
|
static PurchaseOrderField<String> |
ADDRESS_REGION
Use with available fluent helpers to apply the AddressRegion field to query operations.
|
static PurchaseOrderField<String> |
ADDRESS_STREET_NAME
Use with available fluent helpers to apply the AddressStreetName field to query operations.
|
static PurchaseOrderSelectable |
ALL_FIELDS
Selector for all available fields of PurchaseOrder.
|
static PurchaseOrderField<BigDecimal> |
CASH_DISCOUNT1_DAYS
Use with available fluent helpers to apply the CashDiscount1Days field to query operations.
|
static PurchaseOrderField<BigDecimal> |
CASH_DISCOUNT1_PERCENT
Use with available fluent helpers to apply the CashDiscount1Percent field to query operations.
|
static PurchaseOrderField<BigDecimal> |
CASH_DISCOUNT2_DAYS
Use with available fluent helpers to apply the CashDiscount2Days field to query operations.
|
static PurchaseOrderField<BigDecimal> |
CASH_DISCOUNT2_PERCENT
Use with available fluent helpers to apply the CashDiscount2Percent field to query operations.
|
static PurchaseOrderField<String> |
COMPANY_CODE
Use with available fluent helpers to apply the CompanyCode field to query operations.
|
static PurchaseOrderField<String> |
CORRESPNC_EXTERNAL_REFERENCE
Use with available fluent helpers to apply the CorrespncExternalReference field to query operations.
|
static PurchaseOrderField<String> |
CORRESPNC_INTERNAL_REFERENCE
Use with available fluent helpers to apply the CorrespncInternalReference field to query operations.
|
static PurchaseOrderField<String> |
CREATED_BY_USER
Use with available fluent helpers to apply the CreatedByUser field to query operations.
|
static PurchaseOrderField<LocalDateTime> |
CREATION_DATE
Use with available fluent helpers to apply the CreationDate field to query operations.
|
static PurchaseOrderField<String> |
DOCUMENT_CURRENCY
Use with available fluent helpers to apply the DocumentCurrency field to query operations.
|
static PurchaseOrderField<String> |
EXCHANGE_RATE
Use with available fluent helpers to apply the ExchangeRate field to query operations.
|
static PurchaseOrderField<String> |
INCOTERMS_CLASSIFICATION
Use with available fluent helpers to apply the IncotermsClassification field to query operations.
|
static PurchaseOrderField<String> |
INCOTERMS_LOCATION1
Use with available fluent helpers to apply the IncotermsLocation1 field to query operations.
|
static PurchaseOrderField<String> |
INCOTERMS_LOCATION2
Use with available fluent helpers to apply the IncotermsLocation2 field to query operations.
|
static PurchaseOrderField<String> |
INCOTERMS_VERSION
Use with available fluent helpers to apply the IncotermsVersion field to query operations.
|
static PurchaseOrderField<String> |
INVOICING_PARTY
Use with available fluent helpers to apply the InvoicingParty field to query operations.
|
static PurchaseOrderField<String> |
IS_END_OF_PURPOSE_BLOCKED
Use with available fluent helpers to apply the IsEndOfPurposeBlocked field to query operations.
|
static PurchaseOrderField<String> |
LANGUAGE
Use with available fluent helpers to apply the Language field to query operations.
|
static PurchaseOrderField<ZonedDateTime> |
LAST_CHANGE_DATE_TIME
Use with available fluent helpers to apply the LastChangeDateTime field to query operations.
|
static PurchaseOrderField<String> |
MANUAL_SUPPLIER_ADDRESS_ID
Use with available fluent helpers to apply the ManualSupplierAddressID field to query operations.
|
static PurchaseOrderField<BigDecimal> |
NET_PAYMENT_DAYS
Use with available fluent helpers to apply the NetPaymentDays field to query operations.
|
static PurchaseOrderField<String> |
PAYMENT_TERMS
Use with available fluent helpers to apply the PaymentTerms field to query operations.
|
static PurchaseOrderField<String> |
PURCHASE_ORDER
Use with available fluent helpers to apply the PurchaseOrder field to query operations.
|
static PurchaseOrderField<LocalDateTime> |
PURCHASE_ORDER_DATE
Use with available fluent helpers to apply the PurchaseOrderDate field to query operations.
|
static PurchaseOrderField<String> |
PURCHASE_ORDER_SUBTYPE
Use with available fluent helpers to apply the PurchaseOrderSubtype field to query operations.
|
static PurchaseOrderField<String> |
PURCHASE_ORDER_TYPE
Use with available fluent helpers to apply the PurchaseOrderType field to query operations.
|
static PurchaseOrderField<Boolean> |
PURCHASING_COMPLETENESS_STATUS
Use with available fluent helpers to apply the PurchasingCompletenessStatus field to query operations.
|
static PurchaseOrderField<String> |
PURCHASING_DOCUMENT_DELETION_CODE
Use with available fluent helpers to apply the PurchasingDocumentDeletionCode field to query operations.
|
static PurchaseOrderField<String> |
PURCHASING_DOCUMENT_ORIGIN
Use with available fluent helpers to apply the PurchasingDocumentOrigin field to query operations.
|
static PurchaseOrderField<String> |
PURCHASING_GROUP
Use with available fluent helpers to apply the PurchasingGroup field to query operations.
|
static PurchaseOrderField<String> |
PURCHASING_ORGANIZATION
Use with available fluent helpers to apply the PurchasingOrganization field to query operations.
|
static PurchaseOrderField<String> |
PURCHASING_PROCESSING_STATUS
Use with available fluent helpers to apply the PurchasingProcessingStatus field to query operations.
|
static PurchaseOrderField<Boolean> |
RELEASE_IS_NOT_COMPLETED
Use with available fluent helpers to apply the ReleaseIsNotCompleted field to query operations.
|
static PurchaseOrderField<String> |
SUPPLIER
Use with available fluent helpers to apply the Supplier field to query operations.
|
static PurchaseOrderField<String> |
SUPPLIER_PHONE_NUMBER
Use with available fluent helpers to apply the SupplierPhoneNumber field to query operations.
|
static PurchaseOrderField<String> |
SUPPLIER_QUOTATION_EXTERNAL_ID
Use with available fluent helpers to apply the SupplierQuotationExternalID field to query operations.
|
static PurchaseOrderField<String> |
SUPPLIER_RESP_SALES_PERSON_NAME
Use with available fluent helpers to apply the SupplierRespSalesPersonName field to query operations.
|
static PurchaseOrderField<String> |
SUPPLYING_PLANT
Use with available fluent helpers to apply the SupplyingPlant field to query operations.
|
static PurchaseOrderField<String> |
SUPPLYING_SUPPLIER
Use with available fluent helpers to apply the SupplyingSupplier field to query operations.
|
static PurchaseOrderLink<PurchaseOrderItem> |
TO_PURCHASE_ORDER_ITEM
Use with available fluent helpers to apply the to_PurchaseOrderItem navigation property to query
operations.
|
static PurchaseOrderField<LocalDateTime> |
VALIDITY_END_DATE
Use with available fluent helpers to apply the ValidityEndDate field to query operations.
|
static PurchaseOrderField<LocalDateTime> |
VALIDITY_START_DATE
Use with available fluent helpers to apply the ValidityStartDate field to query operations.
|
changedOriginalFields
Constructor and Description |
---|
PurchaseOrder() |
PurchaseOrder(String purchaseOrder,
String companyCode,
String purchaseOrderType,
String purchasingDocumentDeletionCode,
String purchasingProcessingStatus,
String createdByUser,
LocalDateTime creationDate,
ZonedDateTime lastChangeDateTime,
String supplier,
String purchaseOrderSubtype,
String language,
String paymentTerms,
BigDecimal cashDiscount1Days,
BigDecimal cashDiscount2Days,
BigDecimal netPaymentDays,
BigDecimal cashDiscount1Percent,
BigDecimal cashDiscount2Percent,
String purchasingOrganization,
String purchasingDocumentOrigin,
String purchasingGroup,
LocalDateTime purchaseOrderDate,
String documentCurrency,
String exchangeRate,
LocalDateTime validityStartDate,
LocalDateTime validityEndDate,
String supplierQuotationExternalID,
String supplierRespSalesPersonName,
String supplierPhoneNumber,
String supplyingSupplier,
String supplyingPlant,
String incotermsClassification,
String correspncExternalReference,
String correspncInternalReference,
String invoicingParty,
Boolean releaseIsNotCompleted,
Boolean purchasingCompletenessStatus,
String incotermsVersion,
String incotermsLocation1,
String incotermsLocation2,
String manualSupplierAddressID,
String isEndOfPurposeBlocked,
String addressCityName,
String addressFaxNumber,
String addressHouseNumber,
String addressName,
String addressPostalCode,
String addressStreetName,
String addressPhoneNumber,
String addressRegion,
String addressCountry,
String addressCorrespondenceLanguage,
List<PurchaseOrderItem> toPurchaseOrderItem) |
Modifier and Type | Method and Description |
---|---|
void |
addPurchaseOrderItem(PurchaseOrderItem... entity)
Adds elements to the list of associated PurchaseOrderItem entities.
|
void |
attachToService(String servicePath,
ErpConfigContext configContext)
Sets the service path and ERP configuration context for the fetch commands of this entity.
|
static PurchaseOrder.PurchaseOrderBuilder |
builder() |
protected boolean |
canEqual(Object other) |
boolean |
equals(Object o) |
List<PurchaseOrderItem> |
fetchPurchaseOrderItem()
Fetches the PurchaseOrderItem entities (one to many) associated with this entity.
|
static <T> PurchaseOrderField<T> |
field(String fieldName,
Class<T> fieldType)
Use with available fluent helpers to apply an extension field to query operations.
|
static <T,DomainT> |
field(String fieldName,
TypeConverter<T,DomainT> typeConverter)
Use with available fluent helpers to apply an extension field to query operations.
|
protected void |
fromMap(Map<String,Object> inputValues) |
String |
getAddressCityName()
Constraints: Not nullable, Maximum length: 40
|
String |
getAddressCorrespondenceLanguage()
Constraints: Not nullable, Maximum length: 2
|
String |
getAddressCountry()
Constraints: Not nullable, Maximum length: 3
|
String |
getAddressFaxNumber()
Constraints: Not nullable, Maximum length: 30
|
String |
getAddressHouseNumber()
Constraints: Not nullable, Maximum length: 10
|
String |
getAddressName()
Constraints: Not nullable, Maximum length: 40
|
String |
getAddressPhoneNumber()
Constraints: Not nullable, Maximum length: 30
|
String |
getAddressPostalCode()
Constraints: Not nullable, Maximum length: 10
|
String |
getAddressRegion()
Constraints: Not nullable, Maximum length: 3
|
String |
getAddressStreetName()
Constraints: Not nullable, Maximum length: 60
|
BigDecimal |
getCashDiscount1Days()
Constraints: Not nullable, Precision: 3, Scale: 0
|
BigDecimal |
getCashDiscount1Percent()
Constraints: Not nullable, Precision: 5, Scale: 3
|
BigDecimal |
getCashDiscount2Days()
Constraints: Not nullable, Precision: 3, Scale: 0
|
BigDecimal |
getCashDiscount2Percent()
Constraints: Not nullable, Precision: 5, Scale: 3
|
String |
getCompanyCode()
Constraints: Not nullable, Maximum length: 4
|
String |
getCorrespncExternalReference()
Constraints: Not nullable, Maximum length: 12
|
String |
getCorrespncInternalReference()
Constraints: Not nullable, Maximum length: 12
|
String |
getCreatedByUser()
Constraints: Not nullable, Maximum length: 12
|
LocalDateTime |
getCreationDate()
Constraints: Not nullable, Precision: 0
|
protected String |
getDefaultServicePath() |
String |
getDocumentCurrency()
Constraints: Not nullable, Maximum length: 5
|
protected String |
getEntityCollection() |
ErpConfigContext |
getErpConfigContext()
Convienence field for reusing the same ERP system context with multiple queries (e.g.
|
String |
getExchangeRate()
Constraints: Not nullable, Maximum length: 12
|
String |
getIncotermsClassification()
Constraints: Not nullable, Maximum length: 3
|
String |
getIncotermsLocation1()
Constraints: Not nullable, Maximum length: 70
|
String |
getIncotermsLocation2()
Constraints: Not nullable, Maximum length: 70
|
String |
getIncotermsVersion()
Constraints: Not nullable, Maximum length: 4
|
String |
getInvoicingParty()
Constraints: Not nullable, Maximum length: 10
|
String |
getIsEndOfPurposeBlocked()
Constraints: Not nullable, Maximum length: 1
|
protected Map<String,Object> |
getKey() |
String |
getLanguage()
Constraints: Not nullable, Maximum length: 2
|
ZonedDateTime |
getLastChangeDateTime()
Constraints: Not nullable, Precision: 7
|
String |
getManualSupplierAddressID()
Constraints: Not nullable, Maximum length: 10
|
BigDecimal |
getNetPaymentDays()
Constraints: Not nullable, Precision: 3, Scale: 0
|
String |
getPaymentTerms()
Constraints: Not nullable, Maximum length: 4
|
String |
getPurchaseOrder()
(Key Field) Constraints: Not nullable, Maximum length: 10
|
LocalDateTime |
getPurchaseOrderDate()
Constraints: Not nullable, Precision: 0
|
Optional<List<PurchaseOrderItem>> |
getPurchaseOrderItemIfPresent()
Retrieval of associated PurchaseOrderItem entities (one to many).
|
List<PurchaseOrderItem> |
getPurchaseOrderItemOrFetch()
Retrieval of associated PurchaseOrderItem entities (one to many).
|
String |
getPurchaseOrderSubtype()
Constraints: Not nullable, Maximum length: 1
|
String |
getPurchaseOrderType()
Constraints: Not nullable, Maximum length: 4
|
Boolean |
getPurchasingCompletenessStatus()
Constraints: none
|
String |
getPurchasingDocumentDeletionCode()
Constraints: Not nullable, Maximum length: 1
|
String |
getPurchasingDocumentOrigin()
Constraints: Not nullable, Maximum length: 1
|
String |
getPurchasingGroup()
Constraints: Not nullable, Maximum length: 3
|
String |
getPurchasingOrganization()
Constraints: Not nullable, Maximum length: 4
|
String |
getPurchasingProcessingStatus()
Constraints: Not nullable, Maximum length: 2
|
Boolean |
getReleaseIsNotCompleted()
Constraints: none
|
String |
getSupplier()
Constraints: Not nullable, Maximum length: 10
|
String |
getSupplierPhoneNumber()
Constraints: Not nullable, Maximum length: 16
|
String |
getSupplierQuotationExternalID()
Constraints: Not nullable, Maximum length: 10
|
String |
getSupplierRespSalesPersonName()
Constraints: Not nullable, Maximum length: 30
|
String |
getSupplyingPlant()
Constraints: Not nullable, Maximum length: 4
|
String |
getSupplyingSupplier()
Constraints: Not nullable, Maximum length: 10
|
Class<PurchaseOrder> |
getType() |
LocalDateTime |
getValidityEndDate()
Constraints: Not nullable, Precision: 0
|
LocalDateTime |
getValidityStartDate()
Constraints: Not nullable, Precision: 0
|
int |
hashCode() |
void |
setAddressCityName(String addressCityName)
Constraints: Not nullable, Maximum length: 40
|
void |
setAddressCorrespondenceLanguage(String addressCorrespondenceLanguage)
Constraints: Not nullable, Maximum length: 2
|
void |
setAddressCountry(String addressCountry)
Constraints: Not nullable, Maximum length: 3
|
void |
setAddressFaxNumber(String addressFaxNumber)
Constraints: Not nullable, Maximum length: 30
|
void |
setAddressHouseNumber(String addressHouseNumber)
Constraints: Not nullable, Maximum length: 10
|
void |
setAddressName(String addressName)
Constraints: Not nullable, Maximum length: 40
|
void |
setAddressPhoneNumber(String addressPhoneNumber)
Constraints: Not nullable, Maximum length: 30
|
void |
setAddressPostalCode(String addressPostalCode)
Constraints: Not nullable, Maximum length: 10
|
void |
setAddressRegion(String addressRegion)
Constraints: Not nullable, Maximum length: 3
|
void |
setAddressStreetName(String addressStreetName)
Constraints: Not nullable, Maximum length: 60
|
void |
setCashDiscount1Days(BigDecimal cashDiscount1Days)
Constraints: Not nullable, Precision: 3, Scale: 0
|
void |
setCashDiscount1Percent(BigDecimal cashDiscount1Percent)
Constraints: Not nullable, Precision: 5, Scale: 3
|
void |
setCashDiscount2Days(BigDecimal cashDiscount2Days)
Constraints: Not nullable, Precision: 3, Scale: 0
|
void |
setCashDiscount2Percent(BigDecimal cashDiscount2Percent)
Constraints: Not nullable, Precision: 5, Scale: 3
|
void |
setCompanyCode(String companyCode)
Constraints: Not nullable, Maximum length: 4
|
void |
setCorrespncExternalReference(String correspncExternalReference)
Constraints: Not nullable, Maximum length: 12
|
void |
setCorrespncInternalReference(String correspncInternalReference)
Constraints: Not nullable, Maximum length: 12
|
void |
setCreatedByUser(String createdByUser)
Constraints: Not nullable, Maximum length: 12
|
void |
setCreationDate(LocalDateTime creationDate)
Constraints: Not nullable, Precision: 0
|
void |
setDocumentCurrency(String documentCurrency)
Constraints: Not nullable, Maximum length: 5
|
void |
setErpConfigContext(ErpConfigContext erpConfigContext)
Deprecated.
Use
attachToService(String, ErpConfigContext) instead. |
void |
setExchangeRate(String exchangeRate)
Constraints: Not nullable, Maximum length: 12
|
void |
setIncotermsClassification(String incotermsClassification)
Constraints: Not nullable, Maximum length: 3
|
void |
setIncotermsLocation1(String incotermsLocation1)
Constraints: Not nullable, Maximum length: 70
|
void |
setIncotermsLocation2(String incotermsLocation2)
Constraints: Not nullable, Maximum length: 70
|
void |
setIncotermsVersion(String incotermsVersion)
Constraints: Not nullable, Maximum length: 4
|
void |
setInvoicingParty(String invoicingParty)
Constraints: Not nullable, Maximum length: 10
|
void |
setIsEndOfPurposeBlocked(String isEndOfPurposeBlocked)
Constraints: Not nullable, Maximum length: 1
|
void |
setLanguage(String language)
Constraints: Not nullable, Maximum length: 2
|
void |
setLastChangeDateTime(ZonedDateTime lastChangeDateTime)
Constraints: Not nullable, Precision: 7
|
void |
setManualSupplierAddressID(String manualSupplierAddressID)
Constraints: Not nullable, Maximum length: 10
|
void |
setNetPaymentDays(BigDecimal netPaymentDays)
Constraints: Not nullable, Precision: 3, Scale: 0
|
void |
setPaymentTerms(String paymentTerms)
Constraints: Not nullable, Maximum length: 4
|
void |
setPurchaseOrder(String purchaseOrder)
(Key Field) Constraints: Not nullable, Maximum length: 10
|
void |
setPurchaseOrderDate(LocalDateTime purchaseOrderDate)
Constraints: Not nullable, Precision: 0
|
void |
setPurchaseOrderItem(List<PurchaseOrderItem> value)
Overwrites the list of associated PurchaseOrderItem entities for the loaded navigation property
to_PurchaseOrderItem.
|
void |
setPurchaseOrderSubtype(String purchaseOrderSubtype)
Constraints: Not nullable, Maximum length: 1
|
void |
setPurchaseOrderType(String purchaseOrderType)
Constraints: Not nullable, Maximum length: 4
|
void |
setPurchasingCompletenessStatus(Boolean purchasingCompletenessStatus)
Constraints: none
|
void |
setPurchasingDocumentDeletionCode(String purchasingDocumentDeletionCode)
Constraints: Not nullable, Maximum length: 1
|
void |
setPurchasingDocumentOrigin(String purchasingDocumentOrigin)
Constraints: Not nullable, Maximum length: 1
|
void |
setPurchasingGroup(String purchasingGroup)
Constraints: Not nullable, Maximum length: 3
|
void |
setPurchasingOrganization(String purchasingOrganization)
Constraints: Not nullable, Maximum length: 4
|
void |
setPurchasingProcessingStatus(String purchasingProcessingStatus)
Constraints: Not nullable, Maximum length: 2
|
void |
setReleaseIsNotCompleted(Boolean releaseIsNotCompleted)
Constraints: none
|
protected void |
setServicePathForFetch(String servicePathForFetch)
The service path only used for the fetch commands of this entity.
|
void |
setSupplier(String supplier)
Constraints: Not nullable, Maximum length: 10
|
void |
setSupplierPhoneNumber(String supplierPhoneNumber)
Constraints: Not nullable, Maximum length: 16
|
void |
setSupplierQuotationExternalID(String supplierQuotationExternalID)
Constraints: Not nullable, Maximum length: 10
|
void |
setSupplierRespSalesPersonName(String supplierRespSalesPersonName)
Constraints: Not nullable, Maximum length: 30
|
void |
setSupplyingPlant(String supplyingPlant)
Constraints: Not nullable, Maximum length: 4
|
void |
setSupplyingSupplier(String supplyingSupplier)
Constraints: Not nullable, Maximum length: 10
|
void |
setValidityEndDate(LocalDateTime validityEndDate)
Constraints: Not nullable, Precision: 0
|
void |
setValidityStartDate(LocalDateTime validityStartDate)
Constraints: Not nullable, Precision: 0
|
protected Map<String,Object> |
toMapOfFields() |
protected Map<String,Object> |
toMapOfNavigationProperties() |
String |
toString() |
getEndpointUrl, getServicePathForFetch, getVersionIdentifier, setVersionIdentifier
getChangedFields, getCustomField, getCustomField, getCustomFieldNames, getCustomFields, getSetOfCustomFields, getSetOfFields, getSetOfNavigationProperties, hasCustomField, hasCustomField, rememberChangedField, resetChangedFields, setCustomField, setCustomField, toMap, toMapOfCustomFields
public static final PurchaseOrderSelectable ALL_FIELDS
public static final PurchaseOrderField<String> PURCHASE_ORDER
public static final PurchaseOrderField<String> COMPANY_CODE
public static final PurchaseOrderField<String> PURCHASE_ORDER_TYPE
public static final PurchaseOrderField<String> PURCHASING_DOCUMENT_DELETION_CODE
public static final PurchaseOrderField<String> PURCHASING_PROCESSING_STATUS
public static final PurchaseOrderField<String> CREATED_BY_USER
public static final PurchaseOrderField<LocalDateTime> CREATION_DATE
public static final PurchaseOrderField<ZonedDateTime> LAST_CHANGE_DATE_TIME
public static final PurchaseOrderField<String> SUPPLIER
public static final PurchaseOrderField<String> PURCHASE_ORDER_SUBTYPE
public static final PurchaseOrderField<String> LANGUAGE
public static final PurchaseOrderField<String> PAYMENT_TERMS
public static final PurchaseOrderField<BigDecimal> CASH_DISCOUNT1_DAYS
public static final PurchaseOrderField<BigDecimal> CASH_DISCOUNT2_DAYS
public static final PurchaseOrderField<BigDecimal> NET_PAYMENT_DAYS
public static final PurchaseOrderField<BigDecimal> CASH_DISCOUNT1_PERCENT
public static final PurchaseOrderField<BigDecimal> CASH_DISCOUNT2_PERCENT
public static final PurchaseOrderField<String> PURCHASING_ORGANIZATION
public static final PurchaseOrderField<String> PURCHASING_DOCUMENT_ORIGIN
public static final PurchaseOrderField<String> PURCHASING_GROUP
public static final PurchaseOrderField<LocalDateTime> PURCHASE_ORDER_DATE
public static final PurchaseOrderField<String> DOCUMENT_CURRENCY
public static final PurchaseOrderField<String> EXCHANGE_RATE
public static final PurchaseOrderField<LocalDateTime> VALIDITY_START_DATE
public static final PurchaseOrderField<LocalDateTime> VALIDITY_END_DATE
public static final PurchaseOrderField<String> SUPPLIER_QUOTATION_EXTERNAL_ID
public static final PurchaseOrderField<String> SUPPLIER_RESP_SALES_PERSON_NAME
public static final PurchaseOrderField<String> SUPPLIER_PHONE_NUMBER
public static final PurchaseOrderField<String> SUPPLYING_SUPPLIER
public static final PurchaseOrderField<String> SUPPLYING_PLANT
public static final PurchaseOrderField<String> INCOTERMS_CLASSIFICATION
public static final PurchaseOrderField<String> CORRESPNC_EXTERNAL_REFERENCE
public static final PurchaseOrderField<String> CORRESPNC_INTERNAL_REFERENCE
public static final PurchaseOrderField<String> INVOICING_PARTY
public static final PurchaseOrderField<Boolean> RELEASE_IS_NOT_COMPLETED
public static final PurchaseOrderField<Boolean> PURCHASING_COMPLETENESS_STATUS
public static final PurchaseOrderField<String> INCOTERMS_VERSION
public static final PurchaseOrderField<String> INCOTERMS_LOCATION1
public static final PurchaseOrderField<String> INCOTERMS_LOCATION2
public static final PurchaseOrderField<String> MANUAL_SUPPLIER_ADDRESS_ID
public static final PurchaseOrderField<String> IS_END_OF_PURPOSE_BLOCKED
public static final PurchaseOrderField<String> ADDRESS_CITY_NAME
public static final PurchaseOrderField<String> ADDRESS_FAX_NUMBER
public static final PurchaseOrderField<String> ADDRESS_HOUSE_NUMBER
public static final PurchaseOrderField<String> ADDRESS_NAME
public static final PurchaseOrderField<String> ADDRESS_POSTAL_CODE
public static final PurchaseOrderField<String> ADDRESS_STREET_NAME
public static final PurchaseOrderField<String> ADDRESS_PHONE_NUMBER
public static final PurchaseOrderField<String> ADDRESS_REGION
public static final PurchaseOrderField<String> ADDRESS_COUNTRY
public static final PurchaseOrderField<String> ADDRESS_CORRESPONDENCE_LANGUAGE
public static final PurchaseOrderLink<PurchaseOrderItem> TO_PURCHASE_ORDER_ITEM
public PurchaseOrder()
public PurchaseOrder(@Nullable String purchaseOrder, @Nullable String companyCode, @Nullable String purchaseOrderType, @Nullable String purchasingDocumentDeletionCode, @Nullable String purchasingProcessingStatus, @Nullable String createdByUser, @Nullable LocalDateTime creationDate, @Nullable ZonedDateTime lastChangeDateTime, @Nullable String supplier, @Nullable String purchaseOrderSubtype, @Nullable String language, @Nullable String paymentTerms, @Nullable BigDecimal cashDiscount1Days, @Nullable BigDecimal cashDiscount2Days, @Nullable BigDecimal netPaymentDays, @Nullable BigDecimal cashDiscount1Percent, @Nullable BigDecimal cashDiscount2Percent, @Nullable String purchasingOrganization, @Nullable String purchasingDocumentOrigin, @Nullable String purchasingGroup, @Nullable LocalDateTime purchaseOrderDate, @Nullable String documentCurrency, @Nullable String exchangeRate, @Nullable LocalDateTime validityStartDate, @Nullable LocalDateTime validityEndDate, @Nullable String supplierQuotationExternalID, @Nullable String supplierRespSalesPersonName, @Nullable String supplierPhoneNumber, @Nullable String supplyingSupplier, @Nullable String supplyingPlant, @Nullable String incotermsClassification, @Nullable String correspncExternalReference, @Nullable String correspncInternalReference, @Nullable String invoicingParty, @Nullable Boolean releaseIsNotCompleted, @Nullable Boolean purchasingCompletenessStatus, @Nullable String incotermsVersion, @Nullable String incotermsLocation1, @Nullable String incotermsLocation2, @Nullable String manualSupplierAddressID, @Nullable String isEndOfPurposeBlocked, @Nullable String addressCityName, @Nullable String addressFaxNumber, @Nullable String addressHouseNumber, @Nullable String addressName, @Nullable String addressPostalCode, @Nullable String addressStreetName, @Nullable String addressPhoneNumber, @Nullable String addressRegion, @Nullable String addressCountry, @Nullable String addressCorrespondenceLanguage, List<PurchaseOrderItem> toPurchaseOrderItem)
@Nonnull public Class<PurchaseOrder> getType()
getType
in class VdmObject<PurchaseOrder>
public void setPurchaseOrder(@Nullable String purchaseOrder)
Original property name from the Odata EDM: PurchaseOrder
purchaseOrder
- Purchase Order Numberpublic void setCompanyCode(@Nullable String companyCode)
Original property name from the Odata EDM: CompanyCode
companyCode
- The company code is an organizational unit within financial accounting.public void setPurchaseOrderType(@Nullable String purchaseOrderType)
Original property name from the Odata EDM: PurchaseOrderType
On the basis of the purchasing document type, you can, for example, distinguish between a purchase order, an RFQ and a scheduling agreement.The purchasing document type controls, for instance, the number assignment of a purchase order, as well as the selection of the fields to be maintained.
purchaseOrderType
- Identifier allowing differentiation between the various kinds of purchasing document in the SAP
system.public void setPurchasingDocumentDeletionCode(@Nullable String purchasingDocumentDeletionCode)
Original property name from the Odata EDM: PurchasingDocumentDeletionCode
You can set the deletion indicator by choosing Edit -> Delete if:You want to cancel an itemAn item is closed and can be archivedYou can set the blocking indicator by selecting the item and then choosing Edit -> Block if you do not want to allow subsequent functions for the item. Note that you must manually remove the indicator as soon as subsequent functions are allowed again.You have entered a purchase order item by mistake. You cancel it by setting the deletion indicator.A purchase order item has been delivered, invoiced, and paid for, and can now be archived. You can set the deletion indicator.
purchasingDocumentDeletionCode
- Determines whether the item in the purchasing document is deleted or blocked.public void setPurchasingProcessingStatus(@Nullable String purchasingProcessingStatus)
Original property name from the Odata EDM: PurchasingProcessingStatus
purchasingProcessingStatus
- Purchasing document processing statepublic void setCreatedByUser(@Nullable String createdByUser)
Original property name from the Odata EDM: CreatedByUser
createdByUser
- Name of Person Who Created Objectpublic void setCreationDate(@Nullable LocalDateTime creationDate)
Original property name from the Odata EDM: CreationDate
creationDate
- Date on Which Record Was Createdpublic void setLastChangeDateTime(@Nullable ZonedDateTime lastChangeDateTime)
Original property name from the Odata EDM: LastChangeDateTime
lastChangeDateTime
- Change Time Stamppublic void setSupplier(@Nullable String supplier)
Original property name from the Odata EDM: Supplier
supplier
- Supplierpublic void setPurchaseOrderSubtype(@Nullable String purchaseOrderSubtype)
Original property name from the Odata EDM: PurchaseOrderSubtype
On the basis of the purchasing document type you can, for example, distinguish between a standard purchase order and a stock transport order, although both documents belong to the purchasing document category purchase requisition.The purchasing document type controls, for instance, the number assignment for a purchase order, as well as the fields to be maintained.
purchaseOrderSubtype
- Allows differentiation between the various kinds of purchasing document.public void setLanguage(@Nullable String language)
Original property name from the Odata EDM: Language
- the language in which texts are displayed,- the language in which you enter texts,- the language in which the system prints texts.
language
- The language key indicatespublic void setPaymentTerms(@Nullable String paymentTerms)
Original property name from the Odata EDM: PaymentTerms
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.
paymentTerms
- Key for defining payment terms composed of cash discount percentages and payment periods.public void setCashDiscount1Days(@Nullable BigDecimal cashDiscount1Days)
Original property name from the Odata EDM: CashDiscount1Days
cashDiscount1Days
- Period within which a payment must be made in order to take advantage of the first cash discount
terms.public void setCashDiscount2Days(@Nullable BigDecimal cashDiscount2Days)
Original property name from the Odata EDM: CashDiscount2Days
cashDiscount2Days
- Period within which a payment must be made in order to take advantage of the second cash discount
terms.public void setNetPaymentDays(@Nullable BigDecimal netPaymentDays)
Original property name from the Odata EDM: NetPaymentDays
netPaymentDays
- Standard settlement period (in days).public void setCashDiscount1Percent(@Nullable BigDecimal cashDiscount1Percent)
Original property name from the Odata EDM: CashDiscount1Percent
cashDiscount1Percent
- Cash discount percentage rate applied to the shortest payment period.public void setCashDiscount2Percent(@Nullable BigDecimal cashDiscount2Percent)
Original property name from the Odata EDM: CashDiscount2Percent
cashDiscount2Percent
- Cash discount percentage rate applied to the second payment period.public void setPurchasingOrganization(@Nullable String purchasingOrganization)
Original property name from the Odata EDM: PurchasingOrganization
purchasingOrganization
- Denotes the purchasing organization.public void setPurchasingDocumentOrigin(@Nullable String purchasingDocumentOrigin)
Original property name from the Odata EDM: PurchasingDocumentOrigin
purchasingDocumentOrigin
- Key specifying whether a quotation has been received in respect of an RFQ.public void setPurchasingGroup(@Nullable String purchasingGroup)
Original property name from the Odata EDM: PurchasingGroup
Frequently, purchasing documents (such as purchase orders) are monitored by the purchasing group. Urging letters (in the case of overdue deliveries) fall also within the group's scope of activities.For each purchasing group, statistical analyses can be performed. The purchasing group can be used as a sort criterion when creating purchasing-specific reports.
purchasingGroup
- Key for a buyer or a group of buyers, who is/are responsible for certain purchasing activities.public void setPurchaseOrderDate(@Nullable LocalDateTime purchaseOrderDate)
Original property name from the Odata EDM: PurchaseOrderDate
purchaseOrderDate
- Specifies the date on which the purchase order was created.public void setDocumentCurrency(@Nullable String documentCurrency)
Original property name from the Odata EDM: DocumentCurrency
documentCurrency
- Currency key for amounts in the system.public void setExchangeRate(@Nullable String exchangeRate)
Original property name from the Odata EDM: ExchangeRate
exchangeRate
- The exchangeRate to set.public void setValidityStartDate(@Nullable LocalDateTime validityStartDate)
Original property name from the Odata EDM: ValidityStartDate
In the case of outline agreements:Start of the stipulated validity period of an outline agreement.In the case of RFQs:Start of the period in which the quotation is to be submitted.In the case of purchase orders:Start of the period in which the service is to be performed or the material delivered.NoteService entry sheets can only be created within the specified period.
validityStartDate
- Date as of which services can be performed or materials delivered.public void setValidityEndDate(@Nullable LocalDateTime validityEndDate)
Original property name from the Odata EDM: ValidityEndDate
In the case of outline agreements:End of the stipulated validity period of the agreement.In the case of RFQs:End of the period in which the quotation is to be submitted.In the case of POs:End of the period in which the service is to be performed or the material delivered.NoteNo further service entry sheets can be created after this date.
validityEndDate
- Date up to which services can be performed or materials delivered.public void setSupplierQuotationExternalID(@Nullable String supplierQuotationExternalID)
Original property name from the Odata EDM: SupplierQuotationExternalID
supplierQuotationExternalID
- Number of supplier's quotation.public void setSupplierRespSalesPersonName(@Nullable String supplierRespSalesPersonName)
Original property name from the Odata EDM: SupplierRespSalesPersonName
supplierRespSalesPersonName
- Responsible Salesperson at Supplier's Officepublic void setSupplierPhoneNumber(@Nullable String supplierPhoneNumber)
Original property name from the Odata EDM: SupplierPhoneNumber
supplierPhoneNumber
- This entry is for information only. It is not copied into purchasing documents.public void setSupplyingSupplier(@Nullable String supplyingSupplier)
Original property name from the Odata EDM: SupplyingSupplier
If the supplier from whom the goods are ordered is not the actual goods supplier, you can enter the account number of the goods supplying business partner here.
supplyingSupplier
- Key identifying the supplier within the SAP system.public void setSupplyingPlant(@Nullable String supplyingPlant)
Original property name from the Odata EDM: SupplyingPlant
The supplying, or issuing, plant is only entered in the case of stock transport orders.
supplyingPlant
- Describes the plant from which the ordered material is supplied.public void setIncotermsClassification(@Nullable String incotermsClassification)
Original property name from the Odata EDM: IncotermsClassification
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.
incotermsClassification
- Commonly used trading terms that comply with the standards established by the International Chamber of
Commerce (ICC).public void setCorrespncExternalReference(@Nullable String correspncExternalReference)
Original property name from the Odata EDM: CorrespncExternalReference
The reference number usually identifies the individual who is responsible for the document at the customer or supplier site. It can, for example, be the person's initials.
correspncExternalReference
- The internal reference number of the customer or supplier.public void setCorrespncInternalReference(@Nullable String correspncInternalReference)
Original property name from the Odata EDM: CorrespncInternalReference
This usually identifies the person responsible for the purchasing document in your company. The reference number/code often consists of the relevant person's initials.
correspncInternalReference
- Your company's internal reference number or code.public void setInvoicingParty(@Nullable String invoicingParty)
Original property name from the Odata EDM: InvoicingParty
This number denotes the supplier (creditor) invoicing the ordered material or services performed, to whom the amount due is payable.When the invoice is received, the number of the invoicing party is inserted in the invoice in place of the actual supplier.
invoicingParty
- Alphanumeric key uniquely identifying the document.public void setReleaseIsNotCompleted(@Nullable Boolean releaseIsNotCompleted)
Original property name from the Odata EDM: ReleaseIsNotCompleted
releaseIsNotCompleted
- Specifies that the release (approval) process for the purchasing document has not yet been completed.public void setPurchasingCompletenessStatus(@Nullable Boolean purchasingCompletenessStatus)
Original property name from the Odata EDM: PurchasingCompletenessStatus
You can then continue processing or complete these POs that you have put "on hold" in this way at some later date.A PO that is on hold is not transmitted to the supplier. It is, however, MRP-relevant.The following functions are not not possible in the case of a PO that is on hold:Message output (printing or transmission of documents in message form)Posting a goods receiptPosting an invoiceNote:If a PO has been saved, it cannot later be processed using the Hold function.
purchasingCompletenessStatus
- You can use the Hold function to store faulty or incomplete purchase orders in the SAP System.public void setIncotermsVersion(@Nullable String incotermsVersion)
Original property name from the Odata EDM: IncotermsVersion
incotermsVersion
- An incoterms version is an edition containing a list of international terms for transportation that is
defined by the International Chamber of Commerce (ICC).public void setIncotermsLocation1(@Nullable String incotermsLocation1)
Original property name from the Odata EDM: IncotermsLocation1
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.
incotermsLocation1
- Provides additional information for the primary Incoterm. For Incoterms 2010, this field represents:public void setIncotermsLocation2(@Nullable String incotermsLocation2)
Original property name from the Odata EDM: IncotermsLocation2
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
incotermsLocation2
- 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:public void setManualSupplierAddressID(@Nullable String manualSupplierAddressID)
Original property name from the Odata EDM: ManualSupplierAddressID
For more information about the meaning and use of the address number and the Business Address Services concepts, see the function group SZA0 documentation.
manualSupplierAddressID
- Internal key for identifying a Business Address Services address.public void setIsEndOfPurposeBlocked(@Nullable String isEndOfPurposeBlocked)
Original property name from the Odata EDM: IsEndOfPurposeBlocked
The EoP is the point in time for a data set when the processing of personal data is no longer required for the primary business purpose. After the EoP has been reached, the data is blocked and can only be accessed by users with special authorization
isEndOfPurposeBlocked
- Indicates whether the end of purpose (EoP) has been reached.public void setAddressCityName(@Nullable String addressCityName)
Original property name from the Odata EDM: AddressCityName
The city name is saved redundantly in another database field in upper- case letters, for search help.If the Postal regional structure ('city file') is active, the city name is checked against the Cities defined in the regional structure.
addressCityName
- City name as part of the address.public void setAddressFaxNumber(@Nullable String addressFaxNumber)
Original property name from the Odata EDM: AddressFaxNumber
If the fax number consists of a company number and an extension, the extension must be entered in the field extension.Fax number, as it is to be dialed from within the same country.Enter the fax number.The following rules apply for the format of telephone and fax numbers:The length of the entries in the field Telephone and Extension (Fax and Extension) cannot be more than 24 characters in total.Leading spaces are not allowed in the field Telephone or Fax or in the field Extension.Valid characters are:Numbers (0123456789)Letters (ABCDEFGHIJKLMNOPQRSTUVWXYZ)Following other characters: /, (, ), - *, # and " " (space), but not as a leading space.If an + is entered as the first character, the system checks whether the specified number starts with a country code. If so, a warning message is displayed because the country code is automatically determined by the system and should not be stored in the Telephone number (Fax number) field.If an & is entered as the first character, the automatic check and formatting of the telephone number (fax number), as well as the determination of the country code, is suppressed.Enter the following for the number "01234/567-0":Fax: 01234/567Extension: 0Enter the following for the number "01234/567-891":Fax: 01234/567Extension: 891For the number "012-345-678" (678 as extension) enter the following:Fax: 012-345Extension: 678In the following cases, enter the complete number (without country dialing code) in the field Fax:No part of the number can be considered as an extension.You are not sure which part of the number can be considered as an extension.If the address has several fax numbers, the first fax number is flagged as the standard fax number.
addressFaxNumber
- Fax number, consisting of dialing code and number, but without country dialing code.public void setAddressHouseNumber(@Nullable String addressHouseNumber)
Original property name from the Odata EDM: AddressHouseNumber
It is printed in the Street line.Other supplementary street information can be entered in the House number supplement or one of the Street2, Street3, Street4 or Street5 fields. See Print the Street address.A house number (e.g. 117) or a house number with supplement (e.g. 117a), or a house number range (e.g. 16-20), can be maintained in this field.
addressHouseNumber
- House number as part of an address.public void setAddressName(@Nullable String addressName)
Original property name from the Odata EDM: AddressName
addressName
- Address component: Name of an addresspublic void setAddressPostalCode(@Nullable String addressPostalCode)
Original property name from the Odata EDM: AddressPostalCode
If different postal codes are maintained for the PO Box and Street address of an address, this field contains the Street address postal code.
addressPostalCode
- Postal code as part of the addresspublic void setAddressStreetName(@Nullable String addressStreetName)
Original property name from the Odata EDM: AddressStreetName
The street name is saved, redundantly in upper case in another database field, for search help purposes.There are other fields for address parts which can be printed above or below the street. See Print the Street address.The house number and other supplements are usually maintained in their own fields. See Formatting the Street line.
addressStreetName
- Street name as part of the address.public void setAddressPhoneNumber(@Nullable String addressPhoneNumber)
Original property name from the Odata EDM: AddressPhoneNumber
If the telephone number consists of a company number and an extension, the extension must be entered in the field extension.Telephone number, as it must be dialed from within the country.
addressPhoneNumber
- Telephone numbmer, consisting of dialing code and number, but without the country code.public void setAddressRegion(@Nullable String addressRegion)
Original property name from the Odata EDM: AddressRegion
The automatic address formatting function prints the region in addresses in the USA, Canada, Italy, Brazil or Australia, and the county in Great Britain.For more information, see the examples in the documentation on the Address Layout Key.Meaning of the regional code in ...Australia -> ProvinceBrazil -> StateCanada -> ProvinceGermany -> StateGreat Britain -> CountyItaly -> ProvinceJapan -> PrefectureSwitzerland -> CantonUSA -> State
addressRegion
- In some countries, the region forms part of the address. The meaning depends on the country.public void setAddressCountry(@Nullable String addressCountry)
Original property name from the Odata EDM: AddressCountry
The two-character ISO code in accordance with ISO 3166, which is delivered by SAP as a default, is usually used.It could also be the vehicle license plate country-code or a typical country key, for example, in Germany the Federal statistics office key.The country keys are determined at system installation in the global settings.The definition of the country key in the SAP system does not have to match political or government entities.Since the country key does not have to correspond to the ISO code in all installations, programs that differ according to certain values of the country key cannot query the country key T005-LAND1, but have to program based on the ISO code T005 INTCA.
addressCountry
- The country key contains information which the system uses to check entries such as the length of the
postal code or bank account number.public void setAddressCorrespondenceLanguage(@Nullable String addressCorrespondenceLanguage)
Original property name from the Odata EDM: AddressCorrespondenceLanguage
- the language in which texts are displayed,- the language in which you enter texts,- the language in which the system prints texts.
addressCorrespondenceLanguage
- The language key indicatesprotected String getEntityCollection()
getEntityCollection
in class VdmEntity<PurchaseOrder>
@Nonnull protected Map<String,Object> getKey()
getKey
in class VdmObject<PurchaseOrder>
@Nonnull protected Map<String,Object> toMapOfFields()
toMapOfFields
in class VdmObject<PurchaseOrder>
protected void fromMap(Map<String,Object> inputValues)
fromMap
in class VdmObject<PurchaseOrder>
@Nonnull public static <T> PurchaseOrderField<T> field(@Nonnull String fieldName, @Nonnull Class<T> fieldType)
T
- The type of the extension field when performing value comparisons.fieldName
- The name of the extension field as returned by the OData service.fieldType
- The Java type to use for the extension field when performing value comparisons.@Nonnull public static <T,DomainT> PurchaseOrderField<T> field(@Nonnull String fieldName, @Nonnull TypeConverter<T,DomainT> typeConverter)
T
- The type of the extension field when performing value comparisons.DomainT
- The type of the extension field as returned by the OData service.typeConverter
- A TypeConverterfieldName
- The name of the extension field as returned by the OData service.@Nullable public ErpConfigContext getErpConfigContext()
VdmEntity
getErpConfigContext
in class VdmEntity<PurchaseOrder>
@Deprecated public void setErpConfigContext(@Nullable ErpConfigContext erpConfigContext)
attachToService(String, ErpConfigContext)
instead.VdmEntity
setErpConfigContext
in class VdmEntity<PurchaseOrder>
erpConfigContext
- New ERP configuration context to apply to this entityprotected void setServicePathForFetch(@Nullable String servicePathForFetch)
VdmEntity
Note: Use with caution, as this can easily break the fetch call on this entity. See the interface of the corresponding service for the default service path.
setServicePathForFetch
in class VdmEntity<PurchaseOrder>
public void attachToService(@Nullable String servicePath, @Nullable ErpConfigContext configContext)
VdmEntity
Note: Use with caution, as this can easily break the fetch calls on this entity. See the interface of the corresponding service for the default service path.
attachToService
in class VdmEntity<PurchaseOrder>
servicePath
- Optional parameter. New service path to apply to this entity and any associated entities that were
previously fetched. If a null value is provided and the service path has never been set, then the
service path will be set to the default defined in the corresponding service interface.configContext
- Optional parameter. New ERP configuration context to apply to this entity and any associated entities
that were previously fetched. If a null value is provided and the ERP configuration context has never
been set, then the ERP configuration context will be set to a new instance of
ErpConfigContext
.protected String getDefaultServicePath()
getDefaultServicePath
in class VdmEntity<PurchaseOrder>
@Nonnull protected Map<String,Object> toMapOfNavigationProperties()
toMapOfNavigationProperties
in class VdmObject<PurchaseOrder>
@Nonnull public List<PurchaseOrderItem> fetchPurchaseOrderItem() throws com.sap.cloud.sdk.odatav2.connectivity.ODataException
Please note: This method will not cache or persist the query results.
com.sap.cloud.sdk.odatav2.connectivity.ODataException
- If the entity is unmanaged, i.e. it has not been retrieved using the OData VDM's services and
therefore has no ERP configuration context assigned. An entity is managed if it has been either
retrieved using the VDM's services or returned from the VDM's services as the result of a CREATE or
UPDATE call.@Nonnull public List<PurchaseOrderItem> getPurchaseOrderItemOrFetch() throws com.sap.cloud.sdk.odatav2.connectivity.ODataException
If the navigation property to_PurchaseOrderItem of a queried PurchaseOrder is operated lazily, an ODataException can be thrown in case of an OData query error.
Please note: Lazy loading of OData entity associations is the process of asynchronous retrieval and persisting of items from a navigation property. If a lazy property is requested by the application for the first time and it has not yet been loaded, an OData query will be run in order to load the missing information and its result will get cached for future invocations.
com.sap.cloud.sdk.odatav2.connectivity.ODataException
- If the entity is unmanaged, i.e. it has not been retrieved using the OData VDM's services and
therefore has no ERP configuration context assigned. An entity is managed if it has been either
retrieved using the VDM's services or returned from the VDM's services as the result of a CREATE or
UPDATE call.@Nonnull public Optional<List<PurchaseOrderItem>> getPurchaseOrderItemIfPresent()
If the navigation property for an entity PurchaseOrder has not been resolved yet, this method will not
query further information. Instead its Optional
result state will be empty
.
Optional
with result state
empty
is returned.public void setPurchaseOrderItem(@Nonnull List<PurchaseOrderItem> value)
If the navigation property to_PurchaseOrderItem of a queried PurchaseOrder is operated lazily, an ODataException can be thrown in case of an OData query error.
Please note: Lazy loading of OData entity associations is the process of asynchronous retrieval and persisting of items from a navigation property. If a lazy property is requested by the application for the first time and it has not yet been loaded, an OData query will be run in order to load the missing information and its result will get cached for future invocations.
value
- List of PurchaseOrderItem entities.public void addPurchaseOrderItem(PurchaseOrderItem... entity)
If the navigation property to_PurchaseOrderItem of a queried PurchaseOrder is operated lazily, an ODataException can be thrown in case of an OData query error.
Please note: Lazy loading of OData entity associations is the process of asynchronous retrieval and persisting of items from a navigation property. If a lazy property is requested by the application for the first time and it has not yet been loaded, an OData query will be run in order to load the missing information and its result will get cached for future invocations.
entity
- Array of PurchaseOrderItem entities.public static PurchaseOrder.PurchaseOrderBuilder builder()
@Nullable public String getPurchaseOrder()
Original property name from the Odata EDM: PurchaseOrder
@Nullable public String getCompanyCode()
Original property name from the Odata EDM: CompanyCode
@Nullable public String getPurchaseOrderType()
Original property name from the Odata EDM: PurchaseOrderType
On the basis of the purchasing document type, you can, for example, distinguish between a purchase order, an RFQ and a scheduling agreement.The purchasing document type controls, for instance, the number assignment of a purchase order, as well as the selection of the fields to be maintained.
@Nullable public String getPurchasingDocumentDeletionCode()
Original property name from the Odata EDM: PurchasingDocumentDeletionCode
You can set the deletion indicator by choosing Edit -> Delete if:You want to cancel an itemAn item is closed and can be archivedYou can set the blocking indicator by selecting the item and then choosing Edit -> Block if you do not want to allow subsequent functions for the item. Note that you must manually remove the indicator as soon as subsequent functions are allowed again.You have entered a purchase order item by mistake. You cancel it by setting the deletion indicator.A purchase order item has been delivered, invoiced, and paid for, and can now be archived. You can set the deletion indicator.
@Nullable public String getPurchasingProcessingStatus()
Original property name from the Odata EDM: PurchasingProcessingStatus
@Nullable public String getCreatedByUser()
Original property name from the Odata EDM: CreatedByUser
@Nullable public LocalDateTime getCreationDate()
Original property name from the Odata EDM: CreationDate
@Nullable public ZonedDateTime getLastChangeDateTime()
Original property name from the Odata EDM: LastChangeDateTime
@Nullable public String getSupplier()
Original property name from the Odata EDM: Supplier
@Nullable public String getPurchaseOrderSubtype()
Original property name from the Odata EDM: PurchaseOrderSubtype
On the basis of the purchasing document type you can, for example, distinguish between a standard purchase order and a stock transport order, although both documents belong to the purchasing document category purchase requisition.The purchasing document type controls, for instance, the number assignment for a purchase order, as well as the fields to be maintained.
@Nullable public String getLanguage()
Original property name from the Odata EDM: Language
- the language in which texts are displayed,- the language in which you enter texts,- the language in which the system prints texts.
@Nullable public String getPaymentTerms()
Original property name from the Odata EDM: PaymentTerms
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.
@Nullable public BigDecimal getCashDiscount1Days()
Original property name from the Odata EDM: CashDiscount1Days
@Nullable public BigDecimal getCashDiscount2Days()
Original property name from the Odata EDM: CashDiscount2Days
@Nullable public BigDecimal getNetPaymentDays()
Original property name from the Odata EDM: NetPaymentDays
@Nullable public BigDecimal getCashDiscount1Percent()
Original property name from the Odata EDM: CashDiscount1Percent
@Nullable public BigDecimal getCashDiscount2Percent()
Original property name from the Odata EDM: CashDiscount2Percent
@Nullable public String getPurchasingOrganization()
Original property name from the Odata EDM: PurchasingOrganization
@Nullable public String getPurchasingDocumentOrigin()
Original property name from the Odata EDM: PurchasingDocumentOrigin
@Nullable public String getPurchasingGroup()
Original property name from the Odata EDM: PurchasingGroup
Frequently, purchasing documents (such as purchase orders) are monitored by the purchasing group. Urging letters (in the case of overdue deliveries) fall also within the group's scope of activities.For each purchasing group, statistical analyses can be performed. The purchasing group can be used as a sort criterion when creating purchasing-specific reports.
@Nullable public LocalDateTime getPurchaseOrderDate()
Original property name from the Odata EDM: PurchaseOrderDate
@Nullable public String getDocumentCurrency()
Original property name from the Odata EDM: DocumentCurrency
@Nullable public String getExchangeRate()
Original property name from the Odata EDM: ExchangeRate
@Nullable public LocalDateTime getValidityStartDate()
Original property name from the Odata EDM: ValidityStartDate
In the case of outline agreements:Start of the stipulated validity period of an outline agreement.In the case of RFQs:Start of the period in which the quotation is to be submitted.In the case of purchase orders:Start of the period in which the service is to be performed or the material delivered.NoteService entry sheets can only be created within the specified period.
@Nullable public LocalDateTime getValidityEndDate()
Original property name from the Odata EDM: ValidityEndDate
In the case of outline agreements:End of the stipulated validity period of the agreement.In the case of RFQs:End of the period in which the quotation is to be submitted.In the case of POs:End of the period in which the service is to be performed or the material delivered.NoteNo further service entry sheets can be created after this date.
@Nullable public String getSupplierQuotationExternalID()
Original property name from the Odata EDM: SupplierQuotationExternalID
@Nullable public String getSupplierRespSalesPersonName()
Original property name from the Odata EDM: SupplierRespSalesPersonName
@Nullable public String getSupplierPhoneNumber()
Original property name from the Odata EDM: SupplierPhoneNumber
@Nullable public String getSupplyingSupplier()
Original property name from the Odata EDM: SupplyingSupplier
If the supplier from whom the goods are ordered is not the actual goods supplier, you can enter the account number of the goods supplying business partner here.
@Nullable public String getSupplyingPlant()
Original property name from the Odata EDM: SupplyingPlant
The supplying, or issuing, plant is only entered in the case of stock transport orders.
@Nullable public String getIncotermsClassification()
Original property name from the Odata EDM: IncotermsClassification
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.
@Nullable public String getCorrespncExternalReference()
Original property name from the Odata EDM: CorrespncExternalReference
The reference number usually identifies the individual who is responsible for the document at the customer or supplier site. It can, for example, be the person's initials.
@Nullable public String getCorrespncInternalReference()
Original property name from the Odata EDM: CorrespncInternalReference
This usually identifies the person responsible for the purchasing document in your company. The reference number/code often consists of the relevant person's initials.
@Nullable public String getInvoicingParty()
Original property name from the Odata EDM: InvoicingParty
This number denotes the supplier (creditor) invoicing the ordered material or services performed, to whom the amount due is payable.When the invoice is received, the number of the invoicing party is inserted in the invoice in place of the actual supplier.
@Nullable public Boolean getReleaseIsNotCompleted()
Original property name from the Odata EDM: ReleaseIsNotCompleted
@Nullable public Boolean getPurchasingCompletenessStatus()
Original property name from the Odata EDM: PurchasingCompletenessStatus
You can then continue processing or complete these POs that you have put "on hold" in this way at some later date.A PO that is on hold is not transmitted to the supplier. It is, however, MRP-relevant.The following functions are not not possible in the case of a PO that is on hold:Message output (printing or transmission of documents in message form)Posting a goods receiptPosting an invoiceNote:If a PO has been saved, it cannot later be processed using the Hold function.
@Nullable public String getIncotermsVersion()
Original property name from the Odata EDM: IncotermsVersion
@Nullable public String getIncotermsLocation1()
Original property name from the Odata EDM: IncotermsLocation1
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.
@Nullable public String getIncotermsLocation2()
Original property name from the Odata EDM: IncotermsLocation2
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
@Nullable public String getManualSupplierAddressID()
Original property name from the Odata EDM: ManualSupplierAddressID
For more information about the meaning and use of the address number and the Business Address Services concepts, see the function group SZA0 documentation.
@Nullable public String getIsEndOfPurposeBlocked()
Original property name from the Odata EDM: IsEndOfPurposeBlocked
The EoP is the point in time for a data set when the processing of personal data is no longer required for the primary business purpose. After the EoP has been reached, the data is blocked and can only be accessed by users with special authorization
@Nullable public String getAddressCityName()
Original property name from the Odata EDM: AddressCityName
The city name is saved redundantly in another database field in upper- case letters, for search help.If the Postal regional structure ('city file') is active, the city name is checked against the Cities defined in the regional structure.
@Nullable public String getAddressFaxNumber()
Original property name from the Odata EDM: AddressFaxNumber
If the fax number consists of a company number and an extension, the extension must be entered in the field extension.Fax number, as it is to be dialed from within the same country.Enter the fax number.The following rules apply for the format of telephone and fax numbers:The length of the entries in the field Telephone and Extension (Fax and Extension) cannot be more than 24 characters in total.Leading spaces are not allowed in the field Telephone or Fax or in the field Extension.Valid characters are:Numbers (0123456789)Letters (ABCDEFGHIJKLMNOPQRSTUVWXYZ)Following other characters: /, (, ), - *, # and " " (space), but not as a leading space.If an + is entered as the first character, the system checks whether the specified number starts with a country code. If so, a warning message is displayed because the country code is automatically determined by the system and should not be stored in the Telephone number (Fax number) field.If an & is entered as the first character, the automatic check and formatting of the telephone number (fax number), as well as the determination of the country code, is suppressed.Enter the following for the number "01234/567-0":Fax: 01234/567Extension: 0Enter the following for the number "01234/567-891":Fax: 01234/567Extension: 891For the number "012-345-678" (678 as extension) enter the following:Fax: 012-345Extension: 678In the following cases, enter the complete number (without country dialing code) in the field Fax:No part of the number can be considered as an extension.You are not sure which part of the number can be considered as an extension.If the address has several fax numbers, the first fax number is flagged as the standard fax number.
@Nullable public String getAddressHouseNumber()
Original property name from the Odata EDM: AddressHouseNumber
It is printed in the Street line.Other supplementary street information can be entered in the House number supplement or one of the Street2, Street3, Street4 or Street5 fields. See Print the Street address.A house number (e.g. 117) or a house number with supplement (e.g. 117a), or a house number range (e.g. 16-20), can be maintained in this field.
@Nullable public String getAddressName()
Original property name from the Odata EDM: AddressName
@Nullable public String getAddressPostalCode()
Original property name from the Odata EDM: AddressPostalCode
If different postal codes are maintained for the PO Box and Street address of an address, this field contains the Street address postal code.
@Nullable public String getAddressStreetName()
Original property name from the Odata EDM: AddressStreetName
The street name is saved, redundantly in upper case in another database field, for search help purposes.There are other fields for address parts which can be printed above or below the street. See Print the Street address.The house number and other supplements are usually maintained in their own fields. See Formatting the Street line.
@Nullable public String getAddressPhoneNumber()
Original property name from the Odata EDM: AddressPhoneNumber
If the telephone number consists of a company number and an extension, the extension must be entered in the field extension.Telephone number, as it must be dialed from within the country.
@Nullable public String getAddressRegion()
Original property name from the Odata EDM: AddressRegion
The automatic address formatting function prints the region in addresses in the USA, Canada, Italy, Brazil or Australia, and the county in Great Britain.For more information, see the examples in the documentation on the Address Layout Key.Meaning of the regional code in ...Australia -> ProvinceBrazil -> StateCanada -> ProvinceGermany -> StateGreat Britain -> CountyItaly -> ProvinceJapan -> PrefectureSwitzerland -> CantonUSA -> State
@Nullable public String getAddressCountry()
Original property name from the Odata EDM: AddressCountry
The two-character ISO code in accordance with ISO 3166, which is delivered by SAP as a default, is usually used.It could also be the vehicle license plate country-code or a typical country key, for example, in Germany the Federal statistics office key.The country keys are determined at system installation in the global settings.The definition of the country key in the SAP system does not have to match political or government entities.Since the country key does not have to correspond to the ISO code in all installations, programs that differ according to certain values of the country key cannot query the country key T005-LAND1, but have to program based on the ISO code T005 INTCA.
@Nullable public String getAddressCorrespondenceLanguage()
Original property name from the Odata EDM: AddressCorrespondenceLanguage
- the language in which texts are displayed,- the language in which you enter texts,- the language in which the system prints texts.
public String toString()
toString
in class VdmObject<PurchaseOrder>
public boolean equals(Object o)
equals
in class VdmObject<PurchaseOrder>
protected boolean canEqual(Object other)
canEqual
in class VdmObject<PurchaseOrder>
public int hashCode()
hashCode
in class VdmObject<PurchaseOrder>
Copyright © 2019 SAP SE. All rights reserved.