public class SupplierDunning extends VdmEntity<SupplierDunning>
Original entity name from the Odata EDM: A_SupplierDunningType
Modifier and Type | Class and Description |
---|---|
static class |
SupplierDunning.SupplierDunningBuilder |
Modifier and Type | Field and Description |
---|---|
static SupplierDunningSelectable |
ALL_FIELDS
Selector for all available fields of SupplierDunning.
|
static SupplierDunningField<String> |
COMPANY_CODE
Use with available fluent helpers to apply the CompanyCode field to query operations.
|
static SupplierDunningField<String> |
DUNNING_AREA
Use with available fluent helpers to apply the DunningArea field to query operations.
|
static SupplierDunningField<String> |
DUNNING_BLOCK
Use with available fluent helpers to apply the DunningBlock field to query operations.
|
static SupplierDunningField<String> |
DUNNING_CLERK
Use with available fluent helpers to apply the DunningClerk field to query operations.
|
static SupplierDunningField<String> |
DUNNING_LEVEL
Use with available fluent helpers to apply the DunningLevel field to query operations.
|
static SupplierDunningField<String> |
DUNNING_PROCEDURE
Use with available fluent helpers to apply the DunningProcedure field to query operations.
|
static SupplierDunningField<String> |
DUNNING_RECIPIENT
Use with available fluent helpers to apply the DunningRecipient field to query operations.
|
static SupplierDunningField<LocalDateTime> |
LAST_DUNNED_ON
Use with available fluent helpers to apply the LastDunnedOn field to query operations.
|
static SupplierDunningField<LocalDateTime> |
LEG_DUNNING_PROCEDURE_ON
Use with available fluent helpers to apply the LegDunningProcedureOn field to query operations.
|
static SupplierDunningField<String> |
SUPPLIER
Use with available fluent helpers to apply the Supplier field to query operations.
|
changedOriginalFields
Constructor and Description |
---|
SupplierDunning() |
SupplierDunning(String supplier,
String companyCode,
String dunningArea,
String dunningBlock,
String dunningLevel,
String dunningProcedure,
String dunningRecipient,
LocalDateTime lastDunnedOn,
LocalDateTime legDunningProcedureOn,
String dunningClerk) |
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 SupplierDunning.SupplierDunningBuilder |
builder() |
protected boolean |
canEqual(Object other) |
boolean |
equals(Object o) |
static <T> SupplierDunningField<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 |
getCompanyCode()
(Key Field) 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
|
String |
getSupplier()
(Key Field) Constraints: Not nullable, Maximum length: 10
|
Class<SupplierDunning> |
getType() |
int |
hashCode() |
void |
setCompanyCode(String companyCode)
(Key Field) 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.
|
void |
setSupplier(String supplier)
(Key Field) Constraints: Not nullable, Maximum length: 10
|
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 SupplierDunningSelectable ALL_FIELDS
public static final SupplierDunningField<String> SUPPLIER
public static final SupplierDunningField<String> COMPANY_CODE
public static final SupplierDunningField<String> DUNNING_AREA
public static final SupplierDunningField<String> DUNNING_BLOCK
public static final SupplierDunningField<String> DUNNING_LEVEL
public static final SupplierDunningField<String> DUNNING_PROCEDURE
public static final SupplierDunningField<String> DUNNING_RECIPIENT
public static final SupplierDunningField<LocalDateTime> LAST_DUNNED_ON
public static final SupplierDunningField<LocalDateTime> LEG_DUNNING_PROCEDURE_ON
public static final SupplierDunningField<String> DUNNING_CLERK
public SupplierDunning()
public SupplierDunning(@Nullable String supplier, @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)
@Nonnull public Class<SupplierDunning> getType()
getType
in class VdmObject<SupplierDunning>
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 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
Note:If an entry is not made in this field, the dunning notice is sent to the address of the vendor to be processed.
dunningRecipient
- Account number of the vendor who is to receive the dunning notice.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.protected String getEntityCollection()
getEntityCollection
in class VdmEntity<SupplierDunning>
@Nonnull protected Map<String,Object> getKey()
getKey
in class VdmObject<SupplierDunning>
@Nonnull protected Map<String,Object> toMapOfFields()
toMapOfFields
in class VdmObject<SupplierDunning>
protected void fromMap(Map<String,Object> inputValues)
fromMap
in class VdmObject<SupplierDunning>
@Nonnull public static <T> SupplierDunningField<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> SupplierDunningField<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<SupplierDunning>
@Deprecated public void setErpConfigContext(@Nullable ErpConfigContext erpConfigContext)
attachToService(String, ErpConfigContext)
instead.VdmEntity
setErpConfigContext
in class VdmEntity<SupplierDunning>
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<SupplierDunning>
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<SupplierDunning>
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<SupplierDunning>
public static SupplierDunning.SupplierDunningBuilder builder()
@Nullable public String getSupplier()
Original property name from the Odata EDM: Supplier
@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
Note:If an entry is not made in this field, the dunning notice is sent to the address of the vendor to be processed.
@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.
public String toString()
toString
in class VdmObject<SupplierDunning>
public boolean equals(Object o)
equals
in class VdmObject<SupplierDunning>
protected boolean canEqual(Object other)
canEqual
in class VdmObject<SupplierDunning>
public int hashCode()
hashCode
in class VdmObject<SupplierDunning>
Copyright © 2019 SAP SE. All rights reserved.