public class PurCtrPartners extends VdmEntity<PurCtrPartners>
Original entity name from the Odata EDM: A_PurCtrPartnersType
Modifier and Type | Class and Description |
---|---|
static class |
PurCtrPartners.PurCtrPartnersBuilder |
Modifier and Type | Field and Description |
---|---|
static PurCtrPartnersSelectable |
ALL_FIELDS
Selector for all available fields of PurCtrPartners.
|
static PurCtrPartnersField<Boolean> |
DEFAULT_PARTNER
Use with available fluent helpers to apply the DefaultPartner field to query operations.
|
static PurCtrPartnersField<String> |
PARTNER_COUNTER
Use with available fluent helpers to apply the PartnerCounter field to query operations.
|
static PurCtrPartnersField<String> |
PARTNER_FUNCTION
Use with available fluent helpers to apply the PartnerFunction field to query operations.
|
static PurCtrPartnersField<String> |
PLANT
Use with available fluent helpers to apply the Plant field to query operations.
|
static PurCtrPartnersField<String> |
PURCHASE_CONTRACT
Use with available fluent helpers to apply the PurchaseContract field to query operations.
|
static PurCtrPartnersField<String> |
PURCHASE_CONTRACT_ITEM
Use with available fluent helpers to apply the PurchaseContractItem field to query operations.
|
static PurCtrPartnersField<String> |
PURCHASING_ORGANIZATION
Use with available fluent helpers to apply the PurchasingOrganization field to query operations.
|
static PurCtrPartnersField<String> |
SUPPLIER
Use with available fluent helpers to apply the Supplier field to query operations.
|
static PurCtrPartnersField<String> |
SUPPLIER_SUBRANGE
Use with available fluent helpers to apply the SupplierSubrange field to query operations.
|
changedOriginalFields
Constructor and Description |
---|
PurCtrPartners() |
PurCtrPartners(String purchaseContract,
String purchaseContractItem,
String purchasingOrganization,
String partnerFunction,
String plant,
String supplierSubrange,
String partnerCounter,
String supplier,
Boolean defaultPartner) |
Modifier and Type | Method and Description |
---|---|
void |
attachToService(String servicePath,
HttpDestinationProperties destination)
Sets the service path and destination for the fetch commands of this entity.
|
static PurCtrPartners.PurCtrPartnersBuilder |
builder() |
protected boolean |
canEqual(Object other) |
boolean |
equals(Object o) |
static <T> PurCtrPartnersField<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) |
Boolean |
getDefaultPartner()
Constraints: none
|
protected String |
getDefaultServicePath()
Used by fluent helpers and navigation property methods to construct OData queries.
|
HttpDestinationProperties |
getDestinationForFetch()
Convienence field for reusing the same destination with multiple queries (e.g.
|
protected String |
getEntityCollection()
Used by fluent helpers and navigation property methods to construct OData queries.
|
protected Map<String,Object> |
getKey() |
String |
getPartnerCounter()
(Key Field) Constraints: Not nullable, Maximum length: 3
|
String |
getPartnerFunction()
(Key Field) Constraints: Not nullable, Maximum length: 2
|
String |
getPlant()
(Key Field) Constraints: Not nullable, Maximum length: 4
|
String |
getPurchaseContract()
(Key Field) Constraints: Not nullable, Maximum length: 10
|
String |
getPurchaseContractItem()
(Key Field) Constraints: Not nullable, Maximum length: 5
|
String |
getPurchasingOrganization()
(Key Field) Constraints: Not nullable, Maximum length: 4
|
String |
getSupplier()
Constraints: Not nullable, Maximum length: 10
|
String |
getSupplierSubrange()
(Key Field) Constraints: Not nullable, Maximum length: 6
|
Class<PurCtrPartners> |
getType() |
int |
hashCode() |
void |
setDefaultPartner(Boolean defaultPartner)
Constraints: none
|
void |
setPartnerCounter(String partnerCounter)
(Key Field) Constraints: Not nullable, Maximum length: 3
|
void |
setPartnerFunction(String partnerFunction)
(Key Field) Constraints: Not nullable, Maximum length: 2
|
void |
setPlant(String plant)
(Key Field) Constraints: Not nullable, Maximum length: 4
|
void |
setPurchaseContract(String purchaseContract)
(Key Field) Constraints: Not nullable, Maximum length: 10
|
void |
setPurchaseContractItem(String purchaseContractItem)
(Key Field) Constraints: Not nullable, Maximum length: 5
|
void |
setPurchasingOrganization(String purchasingOrganization)
(Key Field) Constraints: Not nullable, Maximum length: 4
|
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 |
setSupplierSubrange(String supplierSubrange)
(Key Field) Constraints: Not nullable, Maximum length: 6
|
protected Map<String,Object> |
toMapOfFields() |
String |
toString() |
getServicePathForFetch, getVersionIdentifier, setDestinationForFetch, setVersionIdentifier
getChangedFields, getCustomField, getCustomField, getCustomFieldNames, getCustomFields, getSetOfCustomFields, getSetOfFields, getSetOfNavigationProperties, hasCustomField, hasCustomField, rememberChangedField, resetChangedFields, setCustomField, setCustomField, toMap, toMapOfCustomFields, toMapOfNavigationProperties
public static final PurCtrPartnersSelectable ALL_FIELDS
public static final PurCtrPartnersField<String> PURCHASE_CONTRACT
public static final PurCtrPartnersField<String> PURCHASE_CONTRACT_ITEM
public static final PurCtrPartnersField<String> PURCHASING_ORGANIZATION
public static final PurCtrPartnersField<String> PARTNER_FUNCTION
public static final PurCtrPartnersField<String> PLANT
public static final PurCtrPartnersField<String> SUPPLIER_SUBRANGE
public static final PurCtrPartnersField<String> PARTNER_COUNTER
public static final PurCtrPartnersField<String> SUPPLIER
public static final PurCtrPartnersField<Boolean> DEFAULT_PARTNER
public PurCtrPartners()
public PurCtrPartners(@Nullable String purchaseContract, @Nullable String purchaseContractItem, @Nullable String purchasingOrganization, @Nullable String partnerFunction, @Nullable String plant, @Nullable String supplierSubrange, @Nullable String partnerCounter, @Nullable String supplier, @Nullable Boolean defaultPartner)
@Nonnull public Class<PurCtrPartners> getType()
getType
in class VdmObject<PurCtrPartners>
public void setPurchaseContract(@Nullable String purchaseContract)
Original property name from the Odata EDM: PurchaseContract
purchaseContract
- Alphanumeric key uniquely identifying the document.public void setPurchaseContractItem(@Nullable String purchaseContractItem)
Original property name from the Odata EDM: PurchaseContractItem
purchaseContractItem
- Specifies the number that uniquely identifies an item in .public void setPurchasingOrganization(@Nullable String purchasingOrganization)
Original property name from the Odata EDM: PurchasingOrganization
purchasingOrganization
- Denotes the purchasing organization.public void setPartnerFunction(@Nullable String partnerFunction)
Original property name from the Odata EDM: PartnerFunction
partnerFunction
- The abbreviated form of the name that identifies the partner function.public void setPlant(@Nullable String plant)
Original property name from the Odata EDM: Plant
plant
- Key uniquely identifying a plant.public void setSupplierSubrange(@Nullable String supplierSubrange)
Original property name from the Odata EDM: SupplierSubrange
For each supplier sub-range:The master data is kept on a common basisCertain conditions applyIn the supplier master, you can create different purchasing data and different partner functions for each supplier sub-range.You can also maintain and change the conditions for each supplier sub-range. You assign a material to a supplier sub-range in the info record.In the supplier master, you can maintain different data for particular supplier sub-ranges, such as ordering addresses or terms of payment, for example.When creating a purchase order with a known supplier, different data is only determined if the supplier sub-range is entered in the initial screen.Your supplier Smith in Houston has two sub-ranges: paint and glue.All materials from the "paint" sub-range are ordered in Houston.You have maintained an alternative ordering address in Detroit for the "glue" sub-range.If you order materials from the "glue" sub-range, the supplier sub-range finds the Detroit ordering address.
supplierSubrange
- Subdivision of a supplier's overall product range according to various criteria.public void setPartnerCounter(@Nullable String partnerCounter)
Original property name from the Odata EDM: PartnerCounter
When you create a sales order for a particular customer, there may be more than one ship-to party defined. The different ship-to parties are numbered sequentially.
partnerCounter
- The sequential number that the system applies when there is more than one partner for a particular
partner function.public void setSupplier(@Nullable String supplier)
Original property name from the Odata EDM: Supplier
supplier
- Specifies an alphanumeric key that uniquely identifies the supplier in the SAP system.public void setDefaultPartner(@Nullable Boolean defaultPartner)
Original property name from the Odata EDM: DefaultPartner
When you enter more than one partner for a particular partner function (for example, you define three different ship-to parties), you can select one partner as the default. During sales or purchasing processing, if you have defined multiple partners for a partner function, the system prompts you to choose just one partner. The system presents the default partner as the first choice in the pop-up window.
defaultPartner
- Specifies a partner as the default for a particular partner function.protected String getEntityCollection()
VdmEntity
getEntityCollection
in class VdmEntity<PurCtrPartners>
@Nonnull protected Map<String,Object> getKey()
getKey
in class VdmObject<PurCtrPartners>
@Nonnull protected Map<String,Object> toMapOfFields()
toMapOfFields
in class VdmObject<PurCtrPartners>
protected void fromMap(Map<String,Object> inputValues)
fromMap
in class VdmObject<PurCtrPartners>
@Nonnull public static <T> PurCtrPartnersField<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> PurCtrPartnersField<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 HttpDestinationProperties getDestinationForFetch()
VdmEntity
getDestinationForFetch
in class VdmEntity<PurCtrPartners>
protected 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<PurCtrPartners>
public void attachToService(@Nullable String servicePath, @Nonnull HttpDestinationProperties destination)
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<PurCtrPartners>
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.destination
- New destination to apply to this entity and any associated entities that were previously fetched.protected String getDefaultServicePath()
VdmEntity
getDefaultServicePath
in class VdmEntity<PurCtrPartners>
protocol://hostname:port
and the OData resource name (entity set, $metadata
, etc.)@Nonnull public static PurCtrPartners.PurCtrPartnersBuilder builder()
@Nullable public String getPurchaseContract()
Original property name from the Odata EDM: PurchaseContract
@Nullable public String getPurchaseContractItem()
Original property name from the Odata EDM: PurchaseContractItem
@Nullable public String getPurchasingOrganization()
Original property name from the Odata EDM: PurchasingOrganization
@Nullable public String getPartnerFunction()
Original property name from the Odata EDM: PartnerFunction
@Nullable public String getPlant()
Original property name from the Odata EDM: Plant
@Nullable public String getSupplierSubrange()
Original property name from the Odata EDM: SupplierSubrange
For each supplier sub-range:The master data is kept on a common basisCertain conditions applyIn the supplier master, you can create different purchasing data and different partner functions for each supplier sub-range.You can also maintain and change the conditions for each supplier sub-range. You assign a material to a supplier sub-range in the info record.In the supplier master, you can maintain different data for particular supplier sub-ranges, such as ordering addresses or terms of payment, for example.When creating a purchase order with a known supplier, different data is only determined if the supplier sub-range is entered in the initial screen.Your supplier Smith in Houston has two sub-ranges: paint and glue.All materials from the "paint" sub-range are ordered in Houston.You have maintained an alternative ordering address in Detroit for the "glue" sub-range.If you order materials from the "glue" sub-range, the supplier sub-range finds the Detroit ordering address.
@Nullable public String getPartnerCounter()
Original property name from the Odata EDM: PartnerCounter
When you create a sales order for a particular customer, there may be more than one ship-to party defined. The different ship-to parties are numbered sequentially.
@Nullable public String getSupplier()
Original property name from the Odata EDM: Supplier
@Nullable public Boolean getDefaultPartner()
Original property name from the Odata EDM: DefaultPartner
When you enter more than one partner for a particular partner function (for example, you define three different ship-to parties), you can select one partner as the default. During sales or purchasing processing, if you have defined multiple partners for a partner function, the system prompts you to choose just one partner. The system presents the default partner as the first choice in the pop-up window.
@Nonnull public String toString()
toString
in class VdmObject<PurCtrPartners>
public boolean equals(@Nullable Object o)
equals
in class VdmObject<PurCtrPartners>
protected boolean canEqual(@Nullable Object other)
canEqual
in class VdmObject<PurCtrPartners>
public int hashCode()
hashCode
in class VdmObject<PurCtrPartners>
Copyright © 2020 SAP SE. All rights reserved.