public class CustomerDunning extends VdmEntity<CustomerDunning>
Original entity name from the Odata EDM: A_CustomerDunningType
Modifier and Type | Class and Description |
---|---|
static class |
CustomerDunning.CustomerDunningBuilder |
Modifier and Type | Field and Description |
---|---|
static CustomerDunningSelectable |
ALL_FIELDS
Selector for all available fields of CustomerDunning.
|
static CustomerDunningField<String> |
AUTHORIZATION_GROUP
Use with available fluent helpers to apply the AuthorizationGroup field to query operations.
|
static CustomerDunningField<String> |
COMPANY_CODE
Use with available fluent helpers to apply the CompanyCode field to query operations.
|
static CustomerDunningField<String> |
CUSTOMER
Use with available fluent helpers to apply the Customer field to query operations.
|
static CustomerDunningField<String> |
CUSTOMER_ACCOUNT_GROUP
Use with available fluent helpers to apply the CustomerAccountGroup field to query operations.
|
static CustomerDunningField<String> |
DUNNING_AREA
Use with available fluent helpers to apply the DunningArea field to query operations.
|
static CustomerDunningField<String> |
DUNNING_BLOCK
Use with available fluent helpers to apply the DunningBlock field to query operations.
|
static CustomerDunningField<String> |
DUNNING_CLERK
Use with available fluent helpers to apply the DunningClerk field to query operations.
|
static CustomerDunningField<String> |
DUNNING_LEVEL
Use with available fluent helpers to apply the DunningLevel field to query operations.
|
static CustomerDunningField<String> |
DUNNING_PROCEDURE
Use with available fluent helpers to apply the DunningProcedure field to query operations.
|
static CustomerDunningField<String> |
DUNNING_RECIPIENT
Use with available fluent helpers to apply the DunningRecipient field to query operations.
|
static CustomerDunningField<LocalDateTime> |
LAST_DUNNED_ON
Use with available fluent helpers to apply the LastDunnedOn field to query operations.
|
static CustomerDunningField<LocalDateTime> |
LEG_DUNNING_PROCEDURE_ON
Use with available fluent helpers to apply the LegDunningProcedureOn field to query operations.
|
changedOriginalFields
Constructor and Description |
---|
CustomerDunning() |
CustomerDunning(String customer,
String companyCode,
String dunningArea,
String dunningBlock,
String dunningLevel,
String dunningProcedure,
String dunningRecipient,
LocalDateTime lastDunnedOn,
LocalDateTime legDunningProcedureOn,
String dunningClerk,
String authorizationGroup,
String customerAccountGroup) |
Modifier and Type | Method and Description |
---|---|
void |
attachToService(String servicePath,
ErpConfigContext configContext)
Sets the service path and ERP configuration context for the fetch commands of this entity.
|
static CustomerDunning.CustomerDunningBuilder |
builder() |
protected boolean |
canEqual(Object other) |
boolean |
equals(Object o) |
static <T> CustomerDunningField<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 |
getAuthorizationGroup()
Constraints: Not nullable, Maximum length: 4
|
String |
getCompanyCode()
(Key Field) Constraints: Not nullable, Maximum length: 4
|
String |
getCustomer()
(Key Field) Constraints: Not nullable, Maximum length: 10
|
String |
getCustomerAccountGroup()
Constraints: Not nullable, Maximum length: 4
|
protected String |
getDefaultServicePath() |
String |
getDunningArea()
(Key Field) Constraints: Not nullable, Maximum length: 2
|
String |
getDunningBlock()
Constraints: Not nullable, Maximum length: 1
|
String |
getDunningClerk()
Constraints: Not nullable, Maximum length: 2
|
String |
getDunningLevel()
Constraints: Not nullable, Maximum length: 1
|
String |
getDunningProcedure()
Constraints: Not nullable, Maximum length: 4
|
String |
getDunningRecipient()
Constraints: Not nullable, Maximum length: 10
|
protected String |
getEntityCollection() |
ErpConfigContext |
getErpConfigContext()
Convienence field for reusing the same ERP system context with multiple queries (e.g.
|
protected Map<String,Object> |
getKey() |
LocalDateTime |
getLastDunnedOn()
Constraints: Not nullable, Precision: 0
|
LocalDateTime |
getLegDunningProcedureOn()
Constraints: Not nullable, Precision: 0
|
Class<CustomerDunning> |
getType() |
int |
hashCode() |
void |
setAuthorizationGroup(String authorizationGroup)
Constraints: Not nullable, Maximum length: 4
|
void |
setCompanyCode(String companyCode)
(Key Field) Constraints: Not nullable, Maximum length: 4
|
void |
setCustomer(String customer)
(Key Field) Constraints: Not nullable, Maximum length: 10
|
void |
setCustomerAccountGroup(String customerAccountGroup)
Constraints: Not nullable, Maximum length: 4
|
void |
setDunningArea(String dunningArea)
(Key Field) Constraints: Not nullable, Maximum length: 2
|
void |
setDunningBlock(String dunningBlock)
Constraints: Not nullable, Maximum length: 1
|
void |
setDunningClerk(String dunningClerk)
Constraints: Not nullable, Maximum length: 2
|
void |
setDunningLevel(String dunningLevel)
Constraints: Not nullable, Maximum length: 1
|
void |
setDunningProcedure(String dunningProcedure)
Constraints: Not nullable, Maximum length: 4
|
void |
setDunningRecipient(String dunningRecipient)
Constraints: Not nullable, Maximum length: 10
|
void |
setErpConfigContext(ErpConfigContext erpConfigContext)
Deprecated.
Use
attachToService(String, ErpConfigContext) instead. |
void |
setLastDunnedOn(LocalDateTime lastDunnedOn)
Constraints: Not nullable, Precision: 0
|
void |
setLegDunningProcedureOn(LocalDateTime legDunningProcedureOn)
Constraints: Not nullable, Precision: 0
|
protected void |
setServicePathForFetch(String servicePathForFetch)
The service path only used for the fetch commands of this entity.
|
protected Map<String,Object> |
toMapOfFields() |
String |
toString() |
getEndpointUrl, getServicePathForFetch, getVersionIdentifier, setVersionIdentifier
getChangedFields, getCustomField, getCustomField, getCustomFieldNames, getCustomFields, getSetOfCustomFields, getSetOfFields, getSetOfNavigationProperties, hasCustomField, hasCustomField, rememberChangedField, resetChangedFields, setCustomField, setCustomField, toMap, toMapOfCustomFields, toMapOfNavigationProperties
public static final CustomerDunningSelectable ALL_FIELDS
public static final CustomerDunningField<String> CUSTOMER
public static final CustomerDunningField<String> COMPANY_CODE
public static final CustomerDunningField<String> DUNNING_AREA
public static final CustomerDunningField<String> DUNNING_BLOCK
public static final CustomerDunningField<String> DUNNING_LEVEL
public static final CustomerDunningField<String> DUNNING_PROCEDURE
public static final CustomerDunningField<String> DUNNING_RECIPIENT
public static final CustomerDunningField<LocalDateTime> LAST_DUNNED_ON
public static final CustomerDunningField<LocalDateTime> LEG_DUNNING_PROCEDURE_ON
public static final CustomerDunningField<String> DUNNING_CLERK
public static final CustomerDunningField<String> AUTHORIZATION_GROUP
public static final CustomerDunningField<String> CUSTOMER_ACCOUNT_GROUP
public CustomerDunning()
public CustomerDunning(@Nullable String customer, @Nullable String companyCode, @Nullable String dunningArea, @Nullable String dunningBlock, @Nullable String dunningLevel, @Nullable String dunningProcedure, @Nullable String dunningRecipient, @Nullable LocalDateTime lastDunnedOn, @Nullable LocalDateTime legDunningProcedureOn, @Nullable String dunningClerk, @Nullable String authorizationGroup, @Nullable String customerAccountGroup)
@Nonnull public Class<CustomerDunning> getType()
getType
in class VdmObject<CustomerDunning>
public void setCustomer(@Nullable String customer)
Original property name from the Odata EDM: Customer
customer
- Gives an alphanumeric key, which clearly identifies the customer or vendor in the SAP system.public 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 setDunningArea(@Nullable String dunningArea)
Original property name from the Odata EDM: DunningArea
If different responsibilities or different dunning procedures exist within a company code, you can set up corresponding dunning areas.All dunning notices are made separately according to dunning areas, and if necessary with different dunning procedures.The dunning area must be noted in the line items. As long as documents are copied from preliminary work areas (billing documents), the dunning area can be derived from details such as division or sales area, if necessary.
dunningArea
- The dunning area represents an organizational entity that is responsible for dunning. The dunning
areas represent a sub-structure of the company codes.public void setDunningBlock(@Nullable String dunningBlock)
Original property name from the Odata EDM: DunningBlock
dunningBlock
- Key which reflects the reason for a dunning block indicator.public void setDunningLevel(@Nullable String dunningLevel)
Original property name from the Odata EDM: DunningLevel
The business partner has received the dunning level from the last dunning run.If you use dunning areas, it is the dunning level that the business partner received from the last dunning run in the dunning area assigned.The dunning program sets the dunning level automatically when the customer or vendor receives a dunning notice.
dunningLevel
- Number that specifies how often an item or account has been dunned.public void setDunningProcedure(@Nullable String dunningProcedure)
Original property name from the Odata EDM: DunningProcedure
dunningProcedure
- This field contains the key for the dunning procedure to be used.public void setDunningRecipient(@Nullable String dunningRecipient)
Original property name from the Odata EDM: DunningRecipient
The account number is only needed if dunning letters are not sent to the customer who owes the receivables.
dunningRecipient
- Account number of the customer who is to be the recipient of the dunning letters.public void setLastDunnedOn(@Nullable LocalDateTime lastDunnedOn)
Original property name from the Odata EDM: LastDunnedOn
lastDunnedOn
- Date on which the last dunning notice was made.public void setLegDunningProcedureOn(@Nullable LocalDateTime legDunningProcedureOn)
Original property name from the Odata EDM: LegDunningProcedureOn
The printing of dunning notices in the legal dunning procedure generates an internal notice about any further account movements. A dunning notice is not created for the customer.If the Legal dunning procedure field in the master record contains a date, this means that the account is involved in a legal dunning procedure. The relationship between this date and the dunning date does not affect how the account is processed.The printing of account movements in the legal dunning procedure differs from the normal printing of dunning notices as follows:You must specify a separate form for your dunning procedure in Customizing. For more information, see Customizing (IMG) under Dunning Forms.The dunning program also displays text element 520 "Legal dunning procedure". This makes it possible to display the date of the legal dunning procedure from the master record.The program also displays the documents blocked for dunning and those with a payment method (automatic debit, bank direct debit).Although dunning notices are printed, the dunning level does not change in the master record or in the items. New dunning level = old dunning level.The program only updates the date of the last dunning run.Enter the date manually.
legDunningProcedureOn
- Date on which a legal dunning procedure was initiated.public void setDunningClerk(@Nullable String dunningClerk)
Original property name from the Odata EDM: DunningClerk
Using this identification code, the accounting clerk whose name is printed on the dunning letters is determined.If this field is not filled, then the entry from the Accounting clerk field is used.
dunningClerk
- Identification code for the accounting clerk dealing with dunning letters.public void setAuthorizationGroup(@Nullable String authorizationGroup)
Original property name from the Odata EDM: AuthorizationGroup
authorizationGroup
- The authorization group allows extended authorization protection for particular objects. The
authorization groups are freely definable. The authorization groups usually occur in authorization
objects together with an activity.public void setCustomerAccountGroup(@Nullable String customerAccountGroup)
Original property name from the Odata EDM: CustomerAccountGroup
in which number range the customer account number should be;whether the number is assigned by the user or by the system;which specifications are necessary or possible in the master record.
customerAccountGroup
- The account group is a classifying feature within customer master records. The account group
determines:protected String getEntityCollection()
getEntityCollection
in class VdmEntity<CustomerDunning>
@Nonnull protected Map<String,Object> getKey()
getKey
in class VdmObject<CustomerDunning>
@Nonnull protected Map<String,Object> toMapOfFields()
toMapOfFields
in class VdmObject<CustomerDunning>
protected void fromMap(Map<String,Object> inputValues)
fromMap
in class VdmObject<CustomerDunning>
@Nonnull public static <T> CustomerDunningField<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> CustomerDunningField<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<CustomerDunning>
@Deprecated public void setErpConfigContext(@Nullable ErpConfigContext erpConfigContext)
attachToService(String, ErpConfigContext)
instead.VdmEntity
setErpConfigContext
in class VdmEntity<CustomerDunning>
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<CustomerDunning>
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<CustomerDunning>
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<CustomerDunning>
public static CustomerDunning.CustomerDunningBuilder builder()
@Nullable public String getCustomer()
Original property name from the Odata EDM: Customer
@Nullable public String getCompanyCode()
Original property name from the Odata EDM: CompanyCode
@Nullable public String getDunningArea()
Original property name from the Odata EDM: DunningArea
If different responsibilities or different dunning procedures exist within a company code, you can set up corresponding dunning areas.All dunning notices are made separately according to dunning areas, and if necessary with different dunning procedures.The dunning area must be noted in the line items. As long as documents are copied from preliminary work areas (billing documents), the dunning area can be derived from details such as division or sales area, if necessary.
@Nullable public String getDunningBlock()
Original property name from the Odata EDM: DunningBlock
@Nullable public String getDunningLevel()
Original property name from the Odata EDM: DunningLevel
The business partner has received the dunning level from the last dunning run.If you use dunning areas, it is the dunning level that the business partner received from the last dunning run in the dunning area assigned.The dunning program sets the dunning level automatically when the customer or vendor receives a dunning notice.
@Nullable public String getDunningProcedure()
Original property name from the Odata EDM: DunningProcedure
@Nullable public String getDunningRecipient()
Original property name from the Odata EDM: DunningRecipient
The account number is only needed if dunning letters are not sent to the customer who owes the receivables.
@Nullable public LocalDateTime getLastDunnedOn()
Original property name from the Odata EDM: LastDunnedOn
@Nullable public LocalDateTime getLegDunningProcedureOn()
Original property name from the Odata EDM: LegDunningProcedureOn
The printing of dunning notices in the legal dunning procedure generates an internal notice about any further account movements. A dunning notice is not created for the customer.If the Legal dunning procedure field in the master record contains a date, this means that the account is involved in a legal dunning procedure. The relationship between this date and the dunning date does not affect how the account is processed.The printing of account movements in the legal dunning procedure differs from the normal printing of dunning notices as follows:You must specify a separate form for your dunning procedure in Customizing. For more information, see Customizing (IMG) under Dunning Forms.The dunning program also displays text element 520 "Legal dunning procedure". This makes it possible to display the date of the legal dunning procedure from the master record.The program also displays the documents blocked for dunning and those with a payment method (automatic debit, bank direct debit).Although dunning notices are printed, the dunning level does not change in the master record or in the items. New dunning level = old dunning level.The program only updates the date of the last dunning run.Enter the date manually.
@Nullable public String getDunningClerk()
Original property name from the Odata EDM: DunningClerk
Using this identification code, the accounting clerk whose name is printed on the dunning letters is determined.If this field is not filled, then the entry from the Accounting clerk field is used.
@Nullable public String getAuthorizationGroup()
Original property name from the Odata EDM: AuthorizationGroup
@Nullable public String getCustomerAccountGroup()
Original property name from the Odata EDM: CustomerAccountGroup
in which number range the customer account number should be;whether the number is assigned by the user or by the system;which specifications are necessary or possible in the master record.
public String toString()
toString
in class VdmObject<CustomerDunning>
public boolean equals(Object o)
equals
in class VdmObject<CustomerDunning>
protected boolean canEqual(Object other)
canEqual
in class VdmObject<CustomerDunning>
public int hashCode()
hashCode
in class VdmObject<CustomerDunning>
Copyright © 2019 SAP SE. All rights reserved.