Modifier and Type | Class and Description |
---|---|
static class |
Batch.BatchBuilder
Helper class to allow for fluent creation of Batch instances.
|
Modifier and Type | Field and Description |
---|---|
static BatchSelectable |
ALL_FIELDS
Selector for all available fields of Batch.
|
static BatchField<String> |
BATCH
Use with available fluent helpers to apply the Batch field to query operations.
|
static BatchField<String> |
BATCH_BY_SUPPLIER
Use with available fluent helpers to apply the BatchBySupplier field to query operations.
|
static BatchField<UUID> |
BATCH_EXT_WHSE_MGMT_INTERNAL_ID
Use with available fluent helpers to apply the BatchExtWhseMgmtInternalId field to query operations.
|
static BatchField<String> |
BATCH_IDENTIFYING_PLANT
Use with available fluent helpers to apply the BatchIdentifyingPlant field to query operations.
|
static BatchField<Boolean> |
BATCH_IS_MARKED_FOR_DELETION
Use with available fluent helpers to apply the BatchIsMarkedForDeletion field to query operations.
|
static BatchField<String> |
COUNTRY_OF_ORIGIN
Use with available fluent helpers to apply the CountryOfOrigin field to query operations.
|
static BatchField<ZonedDateTime> |
CREATION_DATE_TIME
Use with available fluent helpers to apply the CreationDateTime field to query operations.
|
static BatchField<LocalDateTime> |
FREE_DEFINED_DATE1
Use with available fluent helpers to apply the FreeDefinedDate1 field to query operations.
|
static BatchField<LocalDateTime> |
FREE_DEFINED_DATE2
Use with available fluent helpers to apply the FreeDefinedDate2 field to query operations.
|
static BatchField<LocalDateTime> |
FREE_DEFINED_DATE3
Use with available fluent helpers to apply the FreeDefinedDate3 field to query operations.
|
static BatchField<LocalDateTime> |
FREE_DEFINED_DATE4
Use with available fluent helpers to apply the FreeDefinedDate4 field to query operations.
|
static BatchField<LocalDateTime> |
FREE_DEFINED_DATE5
Use with available fluent helpers to apply the FreeDefinedDate5 field to query operations.
|
static BatchField<LocalDateTime> |
FREE_DEFINED_DATE6
Use with available fluent helpers to apply the FreeDefinedDate6 field to query operations.
|
static BatchField<ZonedDateTime> |
LAST_CHANGE_DATE_TIME
Use with available fluent helpers to apply the LastChangeDateTime field to query operations.
|
static BatchField<LocalDateTime> |
MANUFACTURE_DATE
Use with available fluent helpers to apply the ManufactureDate field to query operations.
|
static BatchField<String> |
MATERIAL
Use with available fluent helpers to apply the Material field to query operations.
|
static BatchField<LocalDateTime> |
MATL_BATCH_AVAILABILITY_DATE
Use with available fluent helpers to apply the MatlBatchAvailabilityDate field to query operations.
|
static BatchField<Boolean> |
MATL_BATCH_IS_IN_RSTRCD_USE_STOCK
Use with available fluent helpers to apply the MatlBatchIsInRstrcdUseStock field to query operations.
|
static BatchField<String> |
REGION_OF_ORIGIN
Use with available fluent helpers to apply the RegionOfOrigin field to query operations.
|
static BatchField<LocalDateTime> |
SHELF_LIFE_EXPIRATION_DATE
Use with available fluent helpers to apply the ShelfLifeExpirationDate field to query operations.
|
static BatchField<String> |
SUPPLIER
Use with available fluent helpers to apply the Supplier field to query operations.
|
static BatchLink<BatchCharc> |
TO_BATCH_CHARC
Use with available fluent helpers to apply the to_BatchCharc navigation property to query operations.
|
static BatchOneToOneLink<BatchClass> |
TO_BATCH_CLASS
Use with available fluent helpers to apply the to_BatchClass navigation property to query operations.
|
static BatchLink<BatchPlant> |
TO_BATCH_PLANT
Use with available fluent helpers to apply the to_BatchPlant navigation property to query operations.
|
changedOriginalFields
Constructor and Description |
---|
Batch() |
Batch(String material,
String batchIdentifyingPlant,
String batch,
Boolean batchIsMarkedForDeletion,
Boolean matlBatchIsInRstrcdUseStock,
String supplier,
String batchBySupplier,
String countryOfOrigin,
String regionOfOrigin,
LocalDateTime matlBatchAvailabilityDate,
LocalDateTime shelfLifeExpirationDate,
LocalDateTime manufactureDate,
LocalDateTime freeDefinedDate1,
LocalDateTime freeDefinedDate2,
LocalDateTime freeDefinedDate3,
LocalDateTime freeDefinedDate4,
LocalDateTime freeDefinedDate5,
LocalDateTime freeDefinedDate6,
ZonedDateTime creationDateTime,
ZonedDateTime lastChangeDateTime,
UUID batchExtWhseMgmtInternalId,
List<BatchCharc> toBatchCharc,
BatchClass toBatchClass,
List<BatchPlant> toBatchPlant) |
Modifier and Type | Method and Description |
---|---|
void |
addBatchCharc(BatchCharc... entity)
Adds elements to the list of associated BatchCharc entities.
|
void |
addBatchPlant(BatchPlant... entity)
Adds elements to the list of associated BatchPlant entities.
|
void |
attachToService(String servicePath,
ErpConfigContext configContext)
Sets the service path and ERP configuration context for the fetch commands of this entity.
|
static Batch.BatchBuilder |
builder() |
protected boolean |
canEqual(Object other) |
boolean |
equals(Object o) |
List<BatchCharc> |
fetchBatchCharc()
Fetches the BatchCharc entities (one to many) associated with this entity.
|
BatchClass |
fetchBatchClass()
Fetches the BatchClass entity (one to one) associated with this entity.
|
List<BatchPlant> |
fetchBatchPlant()
Fetches the BatchPlant entities (one to many) associated with this entity.
|
static <T> BatchField<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 |
getBatch()
(Key Field) Constraints: Not nullable, Maximum length: 10
|
String |
getBatchBySupplier()
Constraints: Not nullable, Maximum length: 15
|
Optional<List<BatchCharc>> |
getBatchCharcIfPresent()
Retrieval of associated BatchCharc entities (one to many).
|
List<BatchCharc> |
getBatchCharcOrFetch()
Retrieval of associated BatchCharc entities (one to many).
|
Optional<BatchClass> |
getBatchClassIfPresent()
Retrieval of associated BatchClass entity (one to one).
|
BatchClass |
getBatchClassOrFetch()
Retrieval of associated BatchClass entity (one to one).
|
UUID |
getBatchExtWhseMgmtInternalId()
Constraints: none
|
String |
getBatchIdentifyingPlant()
(Key Field) Constraints: Not nullable, Maximum length: 4
|
Boolean |
getBatchIsMarkedForDeletion()
Constraints: none
|
Optional<List<BatchPlant>> |
getBatchPlantIfPresent()
Retrieval of associated BatchPlant entities (one to many).
|
List<BatchPlant> |
getBatchPlantOrFetch()
Retrieval of associated BatchPlant entities (one to many).
|
String |
getCountryOfOrigin()
Constraints: Not nullable, Maximum length: 3
|
ZonedDateTime |
getCreationDateTime()
Constraints: Not nullable, Precision: 7
|
protected String |
getDefaultServicePath() |
protected String |
getEntityCollection() |
ErpConfigContext |
getErpConfigContext()
Convienence field for reusing the same ERP system context with multiple queries (e.g.
|
LocalDateTime |
getFreeDefinedDate1()
Constraints: Not nullable, Precision: 0
|
LocalDateTime |
getFreeDefinedDate2()
Constraints: Not nullable, Precision: 0
|
LocalDateTime |
getFreeDefinedDate3()
Constraints: Not nullable, Precision: 0
|
LocalDateTime |
getFreeDefinedDate4()
Constraints: Not nullable, Precision: 0
|
LocalDateTime |
getFreeDefinedDate5()
Constraints: Not nullable, Precision: 0
|
LocalDateTime |
getFreeDefinedDate6()
Constraints: Not nullable, Precision: 0
|
protected Map<String,Object> |
getKey() |
ZonedDateTime |
getLastChangeDateTime()
Constraints: Not nullable, Precision: 7
|
LocalDateTime |
getManufactureDate()
Constraints: Not nullable, Precision: 0
|
String |
getMaterial()
(Key Field) Constraints: Not nullable, Maximum length: 40
|
LocalDateTime |
getMatlBatchAvailabilityDate()
Constraints: Not nullable, Precision: 0
|
Boolean |
getMatlBatchIsInRstrcdUseStock()
Constraints: none
|
String |
getRegionOfOrigin()
Constraints: Not nullable, Maximum length: 3
|
LocalDateTime |
getShelfLifeExpirationDate()
Constraints: Not nullable, Precision: 0
|
String |
getSupplier()
Constraints: Not nullable, Maximum length: 10
|
Class<Batch> |
getType() |
int |
hashCode() |
void |
setBatch(String batch)
(Key Field) Constraints: Not nullable, Maximum length: 10
|
void |
setBatchBySupplier(String batchBySupplier)
Constraints: Not nullable, Maximum length: 15
|
void |
setBatchCharc(List<BatchCharc> value)
Overwrites the list of associated BatchCharc entities for the loaded navigation property
to_BatchCharc.
|
void |
setBatchClass(BatchClass value)
Overwrites the associated BatchClass entity for the loaded navigation property to_BatchClass.
|
void |
setBatchExtWhseMgmtInternalId(UUID batchExtWhseMgmtInternalId)
Constraints: none
|
void |
setBatchIdentifyingPlant(String batchIdentifyingPlant)
(Key Field) Constraints: Not nullable, Maximum length: 4
|
void |
setBatchIsMarkedForDeletion(Boolean batchIsMarkedForDeletion)
Constraints: none
|
void |
setBatchPlant(List<BatchPlant> value)
Overwrites the list of associated BatchPlant entities for the loaded navigation property
to_BatchPlant.
|
void |
setCountryOfOrigin(String countryOfOrigin)
Constraints: Not nullable, Maximum length: 3
|
void |
setCreationDateTime(ZonedDateTime creationDateTime)
Constraints: Not nullable, Precision: 7
|
void |
setErpConfigContext(ErpConfigContext erpConfigContext)
Deprecated.
Use
attachToService(String, ErpConfigContext) instead. |
void |
setFreeDefinedDate1(LocalDateTime freeDefinedDate1)
Constraints: Not nullable, Precision: 0
|
void |
setFreeDefinedDate2(LocalDateTime freeDefinedDate2)
Constraints: Not nullable, Precision: 0
|
void |
setFreeDefinedDate3(LocalDateTime freeDefinedDate3)
Constraints: Not nullable, Precision: 0
|
void |
setFreeDefinedDate4(LocalDateTime freeDefinedDate4)
Constraints: Not nullable, Precision: 0
|
void |
setFreeDefinedDate5(LocalDateTime freeDefinedDate5)
Constraints: Not nullable, Precision: 0
|
void |
setFreeDefinedDate6(LocalDateTime freeDefinedDate6)
Constraints: Not nullable, Precision: 0
|
void |
setLastChangeDateTime(ZonedDateTime lastChangeDateTime)
Constraints: Not nullable, Precision: 7
|
void |
setManufactureDate(LocalDateTime manufactureDate)
Constraints: Not nullable, Precision: 0
|
void |
setMaterial(String material)
(Key Field) Constraints: Not nullable, Maximum length: 40
|
void |
setMatlBatchAvailabilityDate(LocalDateTime matlBatchAvailabilityDate)
Constraints: Not nullable, Precision: 0
|
void |
setMatlBatchIsInRstrcdUseStock(Boolean matlBatchIsInRstrcdUseStock)
Constraints: none
|
void |
setRegionOfOrigin(String regionOfOrigin)
Constraints: Not nullable, Maximum length: 3
|
protected void |
setServicePathForFetch(String servicePathForFetch)
The service path only used for the fetch commands of this entity.
|
void |
setShelfLifeExpirationDate(LocalDateTime shelfLifeExpirationDate)
Constraints: Not nullable, Precision: 0
|
void |
setSupplier(String supplier)
Constraints: Not nullable, Maximum length: 10
|
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 BatchSelectable ALL_FIELDS
public static final BatchField<String> MATERIAL
public static final BatchField<String> BATCH_IDENTIFYING_PLANT
public static final BatchField<String> BATCH
public static final BatchField<Boolean> BATCH_IS_MARKED_FOR_DELETION
public static final BatchField<Boolean> MATL_BATCH_IS_IN_RSTRCD_USE_STOCK
public static final BatchField<String> SUPPLIER
public static final BatchField<String> BATCH_BY_SUPPLIER
public static final BatchField<String> COUNTRY_OF_ORIGIN
public static final BatchField<String> REGION_OF_ORIGIN
public static final BatchField<LocalDateTime> MATL_BATCH_AVAILABILITY_DATE
public static final BatchField<LocalDateTime> SHELF_LIFE_EXPIRATION_DATE
public static final BatchField<LocalDateTime> MANUFACTURE_DATE
public static final BatchField<LocalDateTime> FREE_DEFINED_DATE1
public static final BatchField<LocalDateTime> FREE_DEFINED_DATE2
public static final BatchField<LocalDateTime> FREE_DEFINED_DATE3
public static final BatchField<LocalDateTime> FREE_DEFINED_DATE4
public static final BatchField<LocalDateTime> FREE_DEFINED_DATE5
public static final BatchField<LocalDateTime> FREE_DEFINED_DATE6
public static final BatchField<ZonedDateTime> CREATION_DATE_TIME
public static final BatchField<ZonedDateTime> LAST_CHANGE_DATE_TIME
public static final BatchField<UUID> BATCH_EXT_WHSE_MGMT_INTERNAL_ID
public static final BatchLink<BatchCharc> TO_BATCH_CHARC
public static final BatchOneToOneLink<BatchClass> TO_BATCH_CLASS
public static final BatchLink<BatchPlant> TO_BATCH_PLANT
public Batch()
public Batch(@Nullable String material, @Nullable String batchIdentifyingPlant, @Nullable String batch, @Nullable Boolean batchIsMarkedForDeletion, @Nullable Boolean matlBatchIsInRstrcdUseStock, @Nullable String supplier, @Nullable String batchBySupplier, @Nullable String countryOfOrigin, @Nullable String regionOfOrigin, @Nullable LocalDateTime matlBatchAvailabilityDate, @Nullable LocalDateTime shelfLifeExpirationDate, @Nullable LocalDateTime manufactureDate, @Nullable LocalDateTime freeDefinedDate1, @Nullable LocalDateTime freeDefinedDate2, @Nullable LocalDateTime freeDefinedDate3, @Nullable LocalDateTime freeDefinedDate4, @Nullable LocalDateTime freeDefinedDate5, @Nullable LocalDateTime freeDefinedDate6, @Nullable ZonedDateTime creationDateTime, @Nullable ZonedDateTime lastChangeDateTime, @Nullable UUID batchExtWhseMgmtInternalId, List<BatchCharc> toBatchCharc, @Nullable BatchClass toBatchClass, List<BatchPlant> toBatchPlant)
public void setMaterial(@Nullable String material)
Original property name from the Odata EDM: Material
material
- Alphanumeric key uniquely identifying the material.public void setBatchIdentifyingPlant(@Nullable String batchIdentifyingPlant)
Original property name from the Odata EDM: BatchIdentifyingPlant
batchIdentifyingPlant
- Key uniquely identifying a plant.public void setBatch(@Nullable String batch)
Original property name from the Odata EDM: Batch
batch
- Assigns a material that is manufactured in batches or production lots to a specific batch.public void setBatchIsMarkedForDeletion(@Nullable Boolean batchIsMarkedForDeletion)
Original property name from the Odata EDM: BatchIsMarkedForDeletion
The reorganization program checks whether deletion is allowed. In this case, the batch data and all corresponding plants and storage locations are deleted.
batchIsMarkedForDeletion
- Indicator used to flag all data in a batch at client level for deletion.public void setMatlBatchIsInRstrcdUseStock(@Nullable Boolean matlBatchIsInRstrcdUseStock)
Original property name from the Odata EDM: MatlBatchIsInRstrcdUseStock
If, though a batch has the status "restricted", you want to use a goods movement to post a quantity to unrestricted-use stock, the quantity is posted to restricted-use stock and not to unrestricted-use stock.If the status of a batch is set to restricted, the total unrestricted-use stock is transferred to restricted-use stock by means of a transfer posting. A material document is created.You cannot change the status of a batch (unrestricted/restricted) in a goods movement, only with the following functions:by maintaining the batch master record manuallyusing the control function provided in the QM systemConfigurations for Restricted-Use StockFor planning purposes, restricted-use stock is treated like blocked stock, that is, it is either available or not available, depending on your system configuration.Withdrawals from restricted-use stock are either possible or not possible, depending on your system configuration.The status of a batch can be considered in batch determination, that is, you can search for unrestricted or for restricted batches.
matlBatchIsInRstrcdUseStock
- Specifies that the batch is included in restricted-use stock.public void setSupplier(@Nullable String supplier)
Original property name from the Odata EDM: Supplier
With the supplier number, information from the supplier master record (such as the supplier's address and bank details) is copied into a purchasing document (such as a request for quotation or a purchase order).You can use the supplier number to keep track of requests for quotation, purchase orders and outline agreements.
supplier
- Alphanumeric key uniquely identifying the document.public void setBatchBySupplier(@Nullable String batchBySupplier)
Original property name from the Odata EDM: BatchBySupplier
batchBySupplier
- Number under which the batch is managed at the supplier's.public void setCountryOfOrigin(@Nullable String countryOfOrigin)
Original property name from the Odata EDM: CountryOfOrigin
You are legally required to specify the country of origin both for export and import.ExportYou prove the origin of a material by presenting the certificate of origin. This is issued and controlled by the relevant authority of the issuing country.This authority confirms the origin of a material and the required information with the certificate of origin.ImportThe relevant authority of the importing country - usually the Ministry of Economic Affairs - stipulates which regulations regarding customs and foreign trade law have to be observed for the certificates of origin accompanying goods.This information is used for foreign trade processing in different areas, such as:Foreign trade lawCustoms lawExample for Europe:Article 9 of the EU origin regulation is the legal regulation for the certificate of origin.The responsible authorities in Germany include:Chamber of Commerce (Industrie- und Handelskammer)Chamber of Handicrafts (Handwerkskammer)Customs office
countryOfOrigin
- Key of the country in which the material has been produced.public void setRegionOfOrigin(@Nullable String regionOfOrigin)
Original property name from the Odata EDM: RegionOfOrigin
You can enter a region of the country from which the goods originate.This information is required for the declarations regarding goods dispatches/imports and goods receipts/exports which are made to the authorities. Declarations to the authorities for foreign trade are a legal requirement in many countries.INTRASTAT - Declaration in the European UnionEXTRASTAT - Declaration in the European UnionIn the materials management document, the 'region of destination' field indicates the region of the receiving plant.
regionOfOrigin
- Describes more precisely the origin of goods.public void setMatlBatchAvailabilityDate(@Nullable LocalDateTime matlBatchAvailabilityDate)
Original property name from the Odata EDM: MatlBatchAvailabilityDate
matlBatchAvailabilityDate
- Date as from which the batch is available.public void setShelfLifeExpirationDate(@Nullable LocalDateTime shelfLifeExpirationDate)
Original property name from the Odata EDM: ShelfLifeExpirationDate
You enter it yourself.You enter a date of production, and the system calculates the shelf life expiration date from the date of production plus the shelf life in days (from the material master record).NoteThis date can still be changed upon receipt of the usage decision for an inspection lot.
shelfLifeExpirationDate
- The date is set upon goods receipt in one of the following ways:public void setManufactureDate(@Nullable LocalDateTime manufactureDate)
Original property name from the Odata EDM: ManufactureDate
manufactureDate
- Date of Manufacturepublic void setFreeDefinedDate1(@Nullable LocalDateTime freeDefinedDate1)
Original property name from the Odata EDM: FreeDefinedDate1
freeDefinedDate1
- The first batch date for individual use.public void setFreeDefinedDate2(@Nullable LocalDateTime freeDefinedDate2)
Original property name from the Odata EDM: FreeDefinedDate2
freeDefinedDate2
- The second batch date for individual use.public void setFreeDefinedDate3(@Nullable LocalDateTime freeDefinedDate3)
Original property name from the Odata EDM: FreeDefinedDate3
freeDefinedDate3
- The third batch date for individual use.public void setFreeDefinedDate4(@Nullable LocalDateTime freeDefinedDate4)
Original property name from the Odata EDM: FreeDefinedDate4
freeDefinedDate4
- The fourth batch date for individual use.public void setFreeDefinedDate5(@Nullable LocalDateTime freeDefinedDate5)
Original property name from the Odata EDM: FreeDefinedDate5
freeDefinedDate5
- The fifth batch date for individual use.public void setFreeDefinedDate6(@Nullable LocalDateTime freeDefinedDate6)
Original property name from the Odata EDM: FreeDefinedDate6
freeDefinedDate6
- The sixth batch date for individual use.public void setCreationDateTime(@Nullable ZonedDateTime creationDateTime)
Original property name from the Odata EDM: CreationDateTime
creationDateTime
- Created On Timestamppublic void setLastChangeDateTime(@Nullable ZonedDateTime lastChangeDateTime)
Original property name from the Odata EDM: LastChangeDateTime
lastChangeDateTime
- Last Change Timestamppublic void setBatchExtWhseMgmtInternalId(@Nullable UUID batchExtWhseMgmtInternalId)
Original property name from the Odata EDM: BatchExtWhseMgmtInternalId
batchExtWhseMgmtInternalId
- Batch IDprotected String getEntityCollection()
getEntityCollection
in class VdmEntity<Batch>
@Nonnull protected Map<String,Object> toMapOfFields()
toMapOfFields
in class VdmObject<Batch>
@Nonnull public static <T> BatchField<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> BatchField<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<Batch>
@Deprecated public void setErpConfigContext(@Nullable ErpConfigContext erpConfigContext)
attachToService(String, ErpConfigContext)
instead.VdmEntity
setErpConfigContext
in class VdmEntity<Batch>
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<Batch>
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<Batch>
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<Batch>
@Nonnull protected Map<String,Object> toMapOfNavigationProperties()
toMapOfNavigationProperties
in class VdmObject<Batch>
@Nonnull public List<BatchCharc> fetchBatchCharc() 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<BatchCharc> getBatchCharcOrFetch() throws com.sap.cloud.sdk.odatav2.connectivity.ODataException
If the navigation property to_BatchCharc of a queried Batch 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<BatchCharc>> getBatchCharcIfPresent()
If the navigation property for an entity Batch 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 setBatchCharc(@Nonnull List<BatchCharc> value)
If the navigation property to_BatchCharc of a queried Batch 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 BatchCharc entities.public void addBatchCharc(BatchCharc... entity)
If the navigation property to_BatchCharc of a queried Batch 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 BatchCharc entities.@Nullable public BatchClass fetchBatchClass() throws com.sap.cloud.sdk.odatav2.connectivity.ODataException
Please note: This method will not cache or persist the query results.
null
if an entity is not associated.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.@Nullable public BatchClass getBatchClassOrFetch() throws com.sap.cloud.sdk.odatav2.connectivity.ODataException
If the navigation property to_BatchClass of a queried Batch 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<BatchClass> getBatchClassIfPresent()
If the navigation property for an entity Batch 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 setBatchClass(BatchClass value)
value
- New BatchClass entity.@Nonnull public List<BatchPlant> fetchBatchPlant() 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<BatchPlant> getBatchPlantOrFetch() throws com.sap.cloud.sdk.odatav2.connectivity.ODataException
If the navigation property to_BatchPlant of a queried Batch 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<BatchPlant>> getBatchPlantIfPresent()
If the navigation property for an entity Batch 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 setBatchPlant(@Nonnull List<BatchPlant> value)
If the navigation property to_BatchPlant of a queried Batch 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 BatchPlant entities.public void addBatchPlant(BatchPlant... entity)
If the navigation property to_BatchPlant of a queried Batch 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 BatchPlant entities.public static Batch.BatchBuilder builder()
@Nullable public String getMaterial()
Original property name from the Odata EDM: Material
@Nullable public String getBatchIdentifyingPlant()
Original property name from the Odata EDM: BatchIdentifyingPlant
@Nullable public String getBatch()
Original property name from the Odata EDM: Batch
@Nullable public Boolean getBatchIsMarkedForDeletion()
Original property name from the Odata EDM: BatchIsMarkedForDeletion
The reorganization program checks whether deletion is allowed. In this case, the batch data and all corresponding plants and storage locations are deleted.
@Nullable public Boolean getMatlBatchIsInRstrcdUseStock()
Original property name from the Odata EDM: MatlBatchIsInRstrcdUseStock
If, though a batch has the status "restricted", you want to use a goods movement to post a quantity to unrestricted-use stock, the quantity is posted to restricted-use stock and not to unrestricted-use stock.If the status of a batch is set to restricted, the total unrestricted-use stock is transferred to restricted-use stock by means of a transfer posting. A material document is created.You cannot change the status of a batch (unrestricted/restricted) in a goods movement, only with the following functions:by maintaining the batch master record manuallyusing the control function provided in the QM systemConfigurations for Restricted-Use StockFor planning purposes, restricted-use stock is treated like blocked stock, that is, it is either available or not available, depending on your system configuration.Withdrawals from restricted-use stock are either possible or not possible, depending on your system configuration.The status of a batch can be considered in batch determination, that is, you can search for unrestricted or for restricted batches.
@Nullable public String getSupplier()
Original property name from the Odata EDM: Supplier
With the supplier number, information from the supplier master record (such as the supplier's address and bank details) is copied into a purchasing document (such as a request for quotation or a purchase order).You can use the supplier number to keep track of requests for quotation, purchase orders and outline agreements.
@Nullable public String getBatchBySupplier()
Original property name from the Odata EDM: BatchBySupplier
@Nullable public String getCountryOfOrigin()
Original property name from the Odata EDM: CountryOfOrigin
You are legally required to specify the country of origin both for export and import.ExportYou prove the origin of a material by presenting the certificate of origin. This is issued and controlled by the relevant authority of the issuing country.This authority confirms the origin of a material and the required information with the certificate of origin.ImportThe relevant authority of the importing country - usually the Ministry of Economic Affairs - stipulates which regulations regarding customs and foreign trade law have to be observed for the certificates of origin accompanying goods.This information is used for foreign trade processing in different areas, such as:Foreign trade lawCustoms lawExample for Europe:Article 9 of the EU origin regulation is the legal regulation for the certificate of origin.The responsible authorities in Germany include:Chamber of Commerce (Industrie- und Handelskammer)Chamber of Handicrafts (Handwerkskammer)Customs office
@Nullable public String getRegionOfOrigin()
Original property name from the Odata EDM: RegionOfOrigin
You can enter a region of the country from which the goods originate.This information is required for the declarations regarding goods dispatches/imports and goods receipts/exports which are made to the authorities. Declarations to the authorities for foreign trade are a legal requirement in many countries.INTRASTAT - Declaration in the European UnionEXTRASTAT - Declaration in the European UnionIn the materials management document, the 'region of destination' field indicates the region of the receiving plant.
@Nullable public LocalDateTime getMatlBatchAvailabilityDate()
Original property name from the Odata EDM: MatlBatchAvailabilityDate
@Nullable public LocalDateTime getShelfLifeExpirationDate()
Original property name from the Odata EDM: ShelfLifeExpirationDate
You enter it yourself.You enter a date of production, and the system calculates the shelf life expiration date from the date of production plus the shelf life in days (from the material master record).NoteThis date can still be changed upon receipt of the usage decision for an inspection lot.
@Nullable public LocalDateTime getManufactureDate()
Original property name from the Odata EDM: ManufactureDate
@Nullable public LocalDateTime getFreeDefinedDate1()
Original property name from the Odata EDM: FreeDefinedDate1
@Nullable public LocalDateTime getFreeDefinedDate2()
Original property name from the Odata EDM: FreeDefinedDate2
@Nullable public LocalDateTime getFreeDefinedDate3()
Original property name from the Odata EDM: FreeDefinedDate3
@Nullable public LocalDateTime getFreeDefinedDate4()
Original property name from the Odata EDM: FreeDefinedDate4
@Nullable public LocalDateTime getFreeDefinedDate5()
Original property name from the Odata EDM: FreeDefinedDate5
@Nullable public LocalDateTime getFreeDefinedDate6()
Original property name from the Odata EDM: FreeDefinedDate6
@Nullable public ZonedDateTime getCreationDateTime()
Original property name from the Odata EDM: CreationDateTime
@Nullable public ZonedDateTime getLastChangeDateTime()
Original property name from the Odata EDM: LastChangeDateTime
@Nullable public UUID getBatchExtWhseMgmtInternalId()
Original property name from the Odata EDM: BatchExtWhseMgmtInternalId
Copyright © 2019 SAP SE. All rights reserved.