public class BusinessPartnerRole extends VdmEntity<BusinessPartnerRole>
Modifier and Type | Class and Description |
---|---|
static class |
BusinessPartnerRole.BusinessPartnerRoleBuilder |
Modifier and Type | Field and Description |
---|---|
static BusinessPartnerRoleSelectable |
ALL_FIELDS
Selector for all available fields of BusinessPartnerRole.
|
static BusinessPartnerRoleField<String> |
AUTHORIZATION_GROUP
Use with available fluent helpers to apply the AuthorizationGroup field to query operations.
|
static BusinessPartnerRoleField<String> |
BUSINESS_PARTNER
Use with available fluent helpers to apply the BusinessPartner field to query operations.
|
static BusinessPartnerRoleField<String> |
BUSINESS_PARTNER_ROLE
Use with available fluent helpers to apply the BusinessPartnerRole field to query operations.
|
static BusinessPartnerRoleField<Calendar> |
VALID_FROM
Use with available fluent helpers to apply the ValidFrom field to query operations.
|
static BusinessPartnerRoleField<Calendar> |
VALID_TO
Use with available fluent helpers to apply the ValidTo field to query operations.
|
Constructor and Description |
---|
BusinessPartnerRole() |
BusinessPartnerRole(String businessPartner,
String businessPartnerRole,
Calendar validFrom,
Calendar validTo,
String authorizationGroup,
ErpConfigContext erpConfigContext) |
Modifier and Type | Method and Description |
---|---|
static BusinessPartnerRole.BusinessPartnerRoleBuilder |
builder() |
boolean |
equals(Object o) |
static <T> BusinessPartnerRoleField<T> |
field(String fieldName,
Class<T> fieldType)
Use with available fluent helpers to apply an extension field to query operations.
|
String |
getAuthorizationGroup()
Constraints: Not nullable, Maximum length: 4
|
String |
getBusinessPartner()
(Key Field) Constraints: Not nullable, Maximum length: 10
|
String |
getBusinessPartnerRole()
(Key Field) Constraints: Not nullable, Maximum length: 6
|
ErpConfigContext |
getErpConfigContext()
Convienence field for reusing the same ERP system context with multiple queries (e.g.
|
Class<BusinessPartnerRole> |
getType() |
Calendar |
getValidFrom()
Constraints: Not nullable, Precision: 0
|
Calendar |
getValidTo()
Constraints: Not nullable, Precision: 0
|
int |
hashCode() |
void |
setAuthorizationGroup(String authorizationGroup)
Constraints: Not nullable, Maximum length: 4
|
void |
setBusinessPartner(String businessPartner)
(Key Field) Constraints: Not nullable, Maximum length: 10
|
void |
setBusinessPartnerRole(String businessPartnerRole)
(Key Field) Constraints: Not nullable, Maximum length: 6
|
void |
setErpConfigContext(ErpConfigContext erpConfigContext)
Convienence field for reusing the same ERP system context with multiple queries (e.g.
|
void |
setValidFrom(Calendar validFrom)
Constraints: Not nullable, Precision: 0
|
void |
setValidTo(Calendar validTo)
Constraints: Not nullable, Precision: 0
|
String |
toString() |
getCustomField, getCustomField, getCustomFieldNames, getCustomFields, hasCustomField, hasCustomField, setCustomField, setCustomField
public static final BusinessPartnerRoleSelectable ALL_FIELDS
public static final BusinessPartnerRoleField<String> BUSINESS_PARTNER
public static final BusinessPartnerRoleField<String> BUSINESS_PARTNER_ROLE
public static final BusinessPartnerRoleField<Calendar> VALID_FROM
public static final BusinessPartnerRoleField<Calendar> VALID_TO
public static final BusinessPartnerRoleField<String> AUTHORIZATION_GROUP
@Generated(value="lombok") public BusinessPartnerRole()
@ConstructorProperties(value={"businessPartner","businessPartnerRole","validFrom","validTo","authorizationGroup","erpConfigContext"}) @Generated(value="lombok") public BusinessPartnerRole(@Nullable String businessPartner, @Nullable String businessPartnerRole, @Nullable Calendar validFrom, @Nullable Calendar validTo, @Nullable String authorizationGroup, @Nullable ErpConfigContext erpConfigContext)
public Class<BusinessPartnerRole> getType()
getType
in class VdmObject<BusinessPartnerRole>
public static <T> BusinessPartnerRoleField<T> field(String fieldName, Class<T> fieldType)
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.@Generated(value="lombok") public static BusinessPartnerRole.BusinessPartnerRoleBuilder builder()
@Nullable @Generated(value="lombok") public String getBusinessPartner()
@Nullable @Generated(value="lombok") public String getBusinessPartnerRole()
You can define business partner roles along with their attributes in Customizing. You can create an alphanumeric, 6-digit key for the BP role. You can also choose a title as the short form and a description as the long form for the role text. Screen control in the dialog takes place by assigning a BP view. A program can access specific business partner roles for a business partner using thebusiness partner role category . The role categories are also in the TB003 table.
@Nullable @Generated(value="lombok") public Calendar getValidFrom()
@Nullable @Generated(value="lombok") public Calendar getValidTo()
@Nullable @Generated(value="lombok") public String getAuthorizationGroup()
Use the following authorization object: 'Business partners: authorization groups' (B_BUPA_GRP). The system only checks this authorization if you made an entry in the "Authorization group" field for the business partner. Otherwise, any user may process the business partner.
@Nullable @Generated(value="lombok") public ErpConfigContext getErpConfigContext()
@Generated(value="lombok") public void setBusinessPartner(@Nullable String businessPartner)
businessPartner
- @Generated(value="lombok") public void setBusinessPartnerRole(@Nullable String businessPartnerRole)
You can define business partner roles along with their attributes in Customizing. You can create an alphanumeric, 6-digit key for the BP role. You can also choose a title as the short form and a description as the long form for the role text. Screen control in the dialog takes place by assigning a BP view. A program can access specific business partner roles for a business partner using thebusiness partner role category . The role categories are also in the TB003 table.
businessPartnerRole
- @Generated(value="lombok") public void setValidFrom(@Nullable Calendar validFrom)
validFrom
- @Generated(value="lombok") public void setValidTo(@Nullable Calendar validTo)
validTo
- @Generated(value="lombok") public void setAuthorizationGroup(@Nullable String authorizationGroup)
Use the following authorization object: 'Business partners: authorization groups' (B_BUPA_GRP). The system only checks this authorization if you made an entry in the "Authorization group" field for the business partner. Otherwise, any user may process the business partner.
authorizationGroup
- @Generated(value="lombok") public void setErpConfigContext(@Nullable ErpConfigContext erpConfigContext)
erpConfigContext
- @Generated(value="lombok") public String toString()
toString
in class VdmObject<BusinessPartnerRole>
@Generated(value="lombok") public boolean equals(Object o)
equals
in class VdmObject<BusinessPartnerRole>
@Generated(value="lombok") public int hashCode()
hashCode
in class VdmObject<BusinessPartnerRole>
Copyright © 2018 SAP SE. All rights reserved.