A mapper representing custom fields in an entity. Custom fields are represented by their field names and the corresponding values. A custom field can be added or updated using setCustomField method.
The current ETag version of the entity in the remote system. The ETag identified the version of the in the remote system. It will be automatically set in the "if-match" header of update requests and can be set as a custom header for delete requests. When no ETag is provided by the remote system the value of this variable defaults to "*".
Expiration Date. Indicator for the shelf life expiration date or expiration date. In batch management, the shelf life expiration date or expiration date can be specified. You select the date type you want by using this indicator. Maximum length: 1.
Hazardous material number. Number that identifies the material as a hazardous material or as dangerous goods and assigns hazardous material data or dangerous goods data to it. The hazardous material number indicates that the material is dangerous, making special precautions necessary for its storage and shipment.You can enter region-specific hazardous material data or dangerous goods data separately under one hazardous material number. Maximum length: 40.
Label form. Determines the size and layout of the label. The label form specifies, for example, whether the label is an adhesive or a pin-on label. Maximum length: 2.
Label type. Determines the way labels are created. The label type specifies, for example, whether labels are preprinted by the supplier or created on a central printer. Maximum length: 2.
Minimum Remaining Shelf Life. Minimum amount of time for which the material must keep upon goods receipt for the goods receipt to be accepted by the system. The period (day, week, month, year) depends on the entry in the Period indicator field.
Quantity: Number of GR/GI slips to be printed. Specifies which quantity of the material, in the unit of entry, usually constitutes a pallet load. In the case of a goods receipt with reference to a purchase order or production order, the system automatically calculates the number of GR/GI slips to be printed for the material document item as a quotient from the goods receipt quantity and the quantity defined here.The value determined is always rounded up to the next higher whole number.If you enter nothing in this field, the material document item is only printed on one goods receipt/issue slip.
Material Number. Alphanumeric key uniquely identifying the material. Maximum length: 40.
The remote state of the entity. Remote state refers to the last known state of the entity on the remote system from which it has been retrieved or to which it has been posted. It is stored as map, where the keys are stored in the format of VDM properties.
Storage conditions. Indicates what storage conditions are required for the material. Maximum length: 2.
Temperature conditions indicator. Indicates the temperature conditions in which the material should be stored. Maximum length: 2.
ETag version identifier accessor.
All fields selector.
Static representation of the expirationDate property for query construction. Use to reference this property in query operations such as 'select' in the fluent request API.
Static representation of the hazardousMaterialNumber property for query construction. Use to reference this property in query operations such as 'select' in the fluent request API.
Static representation of the labelForm property for query construction. Use to reference this property in query operations such as 'select' in the fluent request API.
Static representation of the labelType property for query construction. Use to reference this property in query operations such as 'select' in the fluent request API.
Static representation of the minRemainingShelfLife property for query construction. Use to reference this property in query operations such as 'select' in the fluent request API.
Static representation of the nmbrOfGrOrGiSlipsToPrintQty property for query construction. Use to reference this property in query operations such as 'select' in the fluent request API.
Static representation of the product property for query construction. Use to reference this property in query operations such as 'select' in the fluent request API.
Static representation of the storageConditions property for query construction. Use to reference this property in query operations such as 'select' in the fluent request API.
Static representation of the temperatureConditionInd property for query construction. Use to reference this property in query operations such as 'select' in the fluent request API.
All fields of the ProductStorage entity.
Default url path for the according service.
Technical entity name for ProductStorage.
All key fields of the ProductStorage entity.
Mapping of all key field names to the respective static field property ProductStorage.
Returns a map of all defined fields in entity to their current values.
Entity with all defined entity fields
Custom field value getter.
The name of the custom field
The value of the corresponding custom field
Returns a map that contains all entity custom fields.
A map of all defined custom fields in the entity
Returns all updated custom field properties compared to the last known remote state.
A map containing all updated custom properties, with their new values
Returns all changed properties compared to the last known remote state. The returned properties does not include custom fields. Use getUpdatedCustomFields, if updated custom fields are needed.
Entity with all properties that changed
Validates whether a custom field exists in the entity.
The name of the custom field to update
A boolean value, that indicates whether a custom field is defined in entity
Sets all retrieved custom fields in entity.
Extracted custom fields from a retrieved entity
A boolean value, that indicates the existence of the field in entity
Validates whether a field name does not conflict with an original field name and thus can be defined as custom fields.
Field name to check
Boolean value that describes whether a field name can be defined as custom field
Sets a new custom field in the entity or updates it. Throws an error, if the provided custom field name is already defined by an original field in entity.
The name of the custom field to update
The value of the field
The entity itself, to facilitate method chaining
Initializes or sets the remoteState of the entity. This function is called on all read, create and update requests. This function should be called after initializeCustomFields, if custom fields are defined.
State to be set as remote state
The entity itself, to facilitate method chaining
Set the ETag version identifier of the retrieved entity.
The returned ETag version of the entity
The entity itself, to facilitate method chaining
Overwrites the default toJSON method so that all instance variables as well as all custom fields of the entity are returned.
An object containing all instance variables + custom fields.
Returns an entity builder to construct instances ProductStorage
.
A builder that constructs instances of entity type ProductStorage
.
Returns a selectable object that allows the selection of custom field in a get request for the entity ProductStorage
.
Name of the custom field to select
A builder that constructs instances of entity type ProductStorage
.
Returns a request builder to construct requests for operations on the ProductStorage
entity type.
A ProductStorage
request builder.
This class represents the entity "A_ProductStorage" of service "API_PRODUCT_SRV". This service is part of the following communication scenarios: Product Integration (SAP_COM_0009), Distributed Manufacturing Integration (SAP_COM_0077), SAP Analytics Cloud for Planning Integration (SAP_COM_0087). See https://api.sap.com/api/API_PRODUCT_SRV for more information.