public class CN_TaxInputInvoiceItem extends VdmEntity<CN_TaxInputInvoiceItem>
Original entity name from the Odata EDM: A_CN_TaxInputInvoiceItemType
Modifier and Type | Class and Description |
---|---|
static class |
CN_TaxInputInvoiceItem.CN_TaxInputInvoiceItemBuilder
Helper class to allow for fluent creation of CN_TaxInputInvoiceItem instances.
|
Modifier and Type | Field and Description |
---|---|
static CN_TaxInputInvoiceItemSelectable |
ALL_FIELDS
Selector for all available fields of CN_TaxInputInvoiceItem.
|
static CN_TaxInputInvoiceItemField<String> |
CN_TAX_INVC_CODE
Use with available fluent helpers to apply the CN_TaxInvcCode field to query operations.
|
static CN_TaxInputInvoiceItemField<String> |
CN_TAX_INVC_CRCY
Use with available fluent helpers to apply the CN_TaxInvcCrcy field to query operations.
|
static CN_TaxInputInvoiceItemField<String> |
CN_TAX_INVC_NMBR
Use with available fluent helpers to apply the CN_TaxInvcNmbr field to query operations.
|
static CN_TaxInputInvoiceItemField<UUID> |
CN_TAX_INVC_UUID
Use with available fluent helpers to apply the CN_TaxInvcUUID field to query operations.
|
static CN_TaxInputInvoiceItemField<String> |
TAX_INVOICE_ITEM
Use with available fluent helpers to apply the TaxInvoiceItem field to query operations.
|
static CN_TaxInputInvoiceItemField<String> |
TAX_INVOICE_ITEM_GOODS_NUMBER
Use with available fluent helpers to apply the TaxInvoiceItemGoodsNumber field to query operations.
|
static CN_TaxInputInvoiceItemField<String> |
TAX_INVOICE_ITEM_GOODS_SERVICE_NAME
Use with available fluent helpers to apply the TaxInvoiceItemGoodsServiceName field to query operations.
|
static CN_TaxInputInvoiceItemField<BigDecimal> |
TAX_INVOICE_ITEM_NET_AMOUNT
Use with available fluent helpers to apply the TaxInvoiceItemNetAmount field to query operations.
|
static CN_TaxInputInvoiceItemField<BigDecimal> |
TAX_INVOICE_ITEM_NET_UNIT_PRICE
Use with available fluent helpers to apply the TaxInvoiceItemNetUnitPrice field to query operations.
|
static CN_TaxInputInvoiceItemField<BigDecimal> |
TAX_INVOICE_ITEM_QUANTITY
Use with available fluent helpers to apply the TaxInvoiceItemQuantity field to query operations.
|
static CN_TaxInputInvoiceItemField<String> |
TAX_INVOICE_ITEM_SPEC_MODEL
Use with available fluent helpers to apply the TaxInvoiceItemSpecModel field to query operations.
|
static CN_TaxInputInvoiceItemField<BigDecimal> |
TAX_INVOICE_ITEM_TAX_AMOUNT
Use with available fluent helpers to apply the TaxInvoiceItemTaxAmount field to query operations.
|
static CN_TaxInputInvoiceItemField<BigDecimal> |
TAX_INVOICE_ITEM_TAX_RATE
Use with available fluent helpers to apply the TaxInvoiceItemTaxRate field to query operations.
|
static CN_TaxInputInvoiceItemField<String> |
TAX_INVOICE_ITEM_TOLL_CAR_CATEGORY
Use with available fluent helpers to apply the TaxInvoiceItemTollCarCategory field to query operations.
|
static CN_TaxInputInvoiceItemField<String> |
TAX_INVOICE_ITEM_TOLL_CAR_LIC_PLATE
Use with available fluent helpers to apply the TaxInvoiceItemTollCarLicPlate field to query operations.
|
static CN_TaxInputInvoiceItemField<String> |
TAX_INVOICE_ITEM_TOLL_END_DATE_TIME
Use with available fluent helpers to apply the TaxInvoiceItemTollEndDateTime field to query operations.
|
static CN_TaxInputInvoiceItemField<String> |
TAX_INVOICE_ITEM_TOLL_STRT_DATE_TIME
Use with available fluent helpers to apply the TaxInvoiceItemTollStrtDateTime field to query operations.
|
static CN_TaxInputInvoiceItemField<String> |
TAX_INVOICE_ITEM_UNIT_DESCRIPTION
Use with available fluent helpers to apply the TaxInvoiceItemUnitDescription field to query operations.
|
static CN_TaxInputInvoiceItemField<UUID> |
TAX_INVOICE_ITEM_UUID
Use with available fluent helpers to apply the TaxInvoiceItemUUID field to query operations.
|
static CN_TaxInputInvoiceItemOneToOneLink<CN_TaxInputInvoice> |
TO_INVOICE
Use with available fluent helpers to apply the to_Invoice navigation property to query operations.
|
static CN_TaxInputInvoiceItemField<String> |
UNIT_OF_MEASURE
Use with available fluent helpers to apply the UnitOfMeasure field to query operations.
|
changedOriginalFields
Constructor and Description |
---|
CN_TaxInputInvoiceItem() |
CN_TaxInputInvoiceItem(UUID taxInvoiceItemUUID,
UUID cN_TaxInvcUUID,
String cN_TaxInvcCode,
String cN_TaxInvcNmbr,
String taxInvoiceItem,
String taxInvoiceItemGoodsServiceName,
String taxInvoiceItemGoodsNumber,
String taxInvoiceItemSpecModel,
String unitOfMeasure,
String taxInvoiceItemUnitDescription,
BigDecimal taxInvoiceItemQuantity,
String cN_TaxInvcCrcy,
BigDecimal taxInvoiceItemNetUnitPrice,
BigDecimal taxInvoiceItemNetAmount,
BigDecimal taxInvoiceItemTaxRate,
BigDecimal taxInvoiceItemTaxAmount,
String taxInvoiceItemTollCarLicPlate,
String taxInvoiceItemTollCarCategory,
String taxInvoiceItemTollStrtDateTime,
String taxInvoiceItemTollEndDateTime,
CN_TaxInputInvoice toInvoice) |
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 CN_TaxInputInvoiceItem.CN_TaxInputInvoiceItemBuilder |
builder() |
protected boolean |
canEqual(Object other) |
boolean |
equals(Object o) |
CN_TaxInputInvoice |
fetchInvoice()
Fetches the CN_TaxInputInvoice entity (one to one) associated with this entity.
|
static <T> CN_TaxInputInvoiceItemField<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 |
getCN_TaxInvcCode()
Constraints: Not nullable, Maximum length: 20
|
String |
getCN_TaxInvcCrcy()
Constraints: Not nullable, Maximum length: 5
|
String |
getCN_TaxInvcNmbr()
Constraints: Not nullable, Maximum length: 30
|
UUID |
getCN_TaxInvcUUID()
(Key Field) Constraints: Not nullable
|
protected String |
getDefaultServicePath() |
protected String |
getEntityCollection() |
ErpConfigContext |
getErpConfigContext()
Convienence field for reusing the same ERP system context with multiple queries (e.g.
|
Optional<CN_TaxInputInvoice> |
getInvoiceIfPresent()
Retrieval of associated CN_TaxInputInvoice entity (one to one).
|
CN_TaxInputInvoice |
getInvoiceOrFetch()
Retrieval of associated CN_TaxInputInvoice entity (one to one).
|
protected Map<String,Object> |
getKey() |
String |
getTaxInvoiceItem()
Constraints: Not nullable, Maximum length: 6
|
String |
getTaxInvoiceItemGoodsNumber()
Constraints: Not nullable, Maximum length: 19
|
String |
getTaxInvoiceItemGoodsServiceName()
Constraints: Not nullable, Maximum length: 255
|
BigDecimal |
getTaxInvoiceItemNetAmount()
Constraints: Not nullable, Precision: 24, Scale: 3
|
BigDecimal |
getTaxInvoiceItemNetUnitPrice()
Constraints: Not nullable, Precision: 24, Scale: 3
|
BigDecimal |
getTaxInvoiceItemQuantity()
Constraints: Not nullable, Precision: 23, Scale: 6
|
String |
getTaxInvoiceItemSpecModel()
Constraints: Not nullable, Maximum length: 50
|
BigDecimal |
getTaxInvoiceItemTaxAmount()
Constraints: Not nullable, Precision: 24, Scale: 3
|
BigDecimal |
getTaxInvoiceItemTaxRate()
Constraints: Not nullable, Precision: 9, Scale: 2
|
String |
getTaxInvoiceItemTollCarCategory()
Constraints: Not nullable, Maximum length: 50
|
String |
getTaxInvoiceItemTollCarLicPlate()
Constraints: Not nullable, Maximum length: 50
|
String |
getTaxInvoiceItemTollEndDateTime()
Constraints: Not nullable, Maximum length: 50
|
String |
getTaxInvoiceItemTollStrtDateTime()
Constraints: Not nullable, Maximum length: 50
|
String |
getTaxInvoiceItemUnitDescription()
Constraints: Not nullable, Maximum length: 16
|
UUID |
getTaxInvoiceItemUUID()
(Key Field) Constraints: Not nullable
|
Class<CN_TaxInputInvoiceItem> |
getType() |
String |
getUnitOfMeasure()
Constraints: Not nullable, Maximum length: 3
|
int |
hashCode() |
void |
setCN_TaxInvcCode(String cN_TaxInvcCode)
Constraints: Not nullable, Maximum length: 20
|
void |
setCN_TaxInvcCrcy(String cN_TaxInvcCrcy)
Constraints: Not nullable, Maximum length: 5
|
void |
setCN_TaxInvcNmbr(String cN_TaxInvcNmbr)
Constraints: Not nullable, Maximum length: 30
|
void |
setCN_TaxInvcUUID(UUID cN_TaxInvcUUID)
(Key Field) Constraints: Not nullable
|
void |
setErpConfigContext(ErpConfigContext erpConfigContext)
Deprecated.
Use
attachToService(String, ErpConfigContext) instead. |
void |
setInvoice(CN_TaxInputInvoice value)
Overwrites the associated CN_TaxInputInvoice entity for the loaded navigation property to_Invoice.
|
protected void |
setServicePathForFetch(String servicePathForFetch)
The service path only used for the fetch commands of this entity.
|
void |
setTaxInvoiceItem(String taxInvoiceItem)
Constraints: Not nullable, Maximum length: 6
|
void |
setTaxInvoiceItemGoodsNumber(String taxInvoiceItemGoodsNumber)
Constraints: Not nullable, Maximum length: 19
|
void |
setTaxInvoiceItemGoodsServiceName(String taxInvoiceItemGoodsServiceName)
Constraints: Not nullable, Maximum length: 255
|
void |
setTaxInvoiceItemNetAmount(BigDecimal taxInvoiceItemNetAmount)
Constraints: Not nullable, Precision: 24, Scale: 3
|
void |
setTaxInvoiceItemNetUnitPrice(BigDecimal taxInvoiceItemNetUnitPrice)
Constraints: Not nullable, Precision: 24, Scale: 3
|
void |
setTaxInvoiceItemQuantity(BigDecimal taxInvoiceItemQuantity)
Constraints: Not nullable, Precision: 23, Scale: 6
|
void |
setTaxInvoiceItemSpecModel(String taxInvoiceItemSpecModel)
Constraints: Not nullable, Maximum length: 50
|
void |
setTaxInvoiceItemTaxAmount(BigDecimal taxInvoiceItemTaxAmount)
Constraints: Not nullable, Precision: 24, Scale: 3
|
void |
setTaxInvoiceItemTaxRate(BigDecimal taxInvoiceItemTaxRate)
Constraints: Not nullable, Precision: 9, Scale: 2
|
void |
setTaxInvoiceItemTollCarCategory(String taxInvoiceItemTollCarCategory)
Constraints: Not nullable, Maximum length: 50
|
void |
setTaxInvoiceItemTollCarLicPlate(String taxInvoiceItemTollCarLicPlate)
Constraints: Not nullable, Maximum length: 50
|
void |
setTaxInvoiceItemTollEndDateTime(String taxInvoiceItemTollEndDateTime)
Constraints: Not nullable, Maximum length: 50
|
void |
setTaxInvoiceItemTollStrtDateTime(String taxInvoiceItemTollStrtDateTime)
Constraints: Not nullable, Maximum length: 50
|
void |
setTaxInvoiceItemUnitDescription(String taxInvoiceItemUnitDescription)
Constraints: Not nullable, Maximum length: 16
|
void |
setTaxInvoiceItemUUID(UUID taxInvoiceItemUUID)
(Key Field) Constraints: Not nullable
|
void |
setUnitOfMeasure(String unitOfMeasure)
Constraints: Not nullable, Maximum length: 3
|
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 CN_TaxInputInvoiceItemSelectable ALL_FIELDS
public static final CN_TaxInputInvoiceItemField<UUID> TAX_INVOICE_ITEM_UUID
public static final CN_TaxInputInvoiceItemField<UUID> CN_TAX_INVC_UUID
public static final CN_TaxInputInvoiceItemField<String> CN_TAX_INVC_CODE
public static final CN_TaxInputInvoiceItemField<String> CN_TAX_INVC_NMBR
public static final CN_TaxInputInvoiceItemField<String> TAX_INVOICE_ITEM
public static final CN_TaxInputInvoiceItemField<String> TAX_INVOICE_ITEM_GOODS_SERVICE_NAME
public static final CN_TaxInputInvoiceItemField<String> TAX_INVOICE_ITEM_GOODS_NUMBER
public static final CN_TaxInputInvoiceItemField<String> TAX_INVOICE_ITEM_SPEC_MODEL
public static final CN_TaxInputInvoiceItemField<String> UNIT_OF_MEASURE
public static final CN_TaxInputInvoiceItemField<String> TAX_INVOICE_ITEM_UNIT_DESCRIPTION
public static final CN_TaxInputInvoiceItemField<BigDecimal> TAX_INVOICE_ITEM_QUANTITY
public static final CN_TaxInputInvoiceItemField<String> CN_TAX_INVC_CRCY
public static final CN_TaxInputInvoiceItemField<BigDecimal> TAX_INVOICE_ITEM_NET_UNIT_PRICE
public static final CN_TaxInputInvoiceItemField<BigDecimal> TAX_INVOICE_ITEM_NET_AMOUNT
public static final CN_TaxInputInvoiceItemField<BigDecimal> TAX_INVOICE_ITEM_TAX_RATE
public static final CN_TaxInputInvoiceItemField<BigDecimal> TAX_INVOICE_ITEM_TAX_AMOUNT
public static final CN_TaxInputInvoiceItemField<String> TAX_INVOICE_ITEM_TOLL_CAR_LIC_PLATE
public static final CN_TaxInputInvoiceItemField<String> TAX_INVOICE_ITEM_TOLL_CAR_CATEGORY
public static final CN_TaxInputInvoiceItemField<String> TAX_INVOICE_ITEM_TOLL_STRT_DATE_TIME
public static final CN_TaxInputInvoiceItemField<String> TAX_INVOICE_ITEM_TOLL_END_DATE_TIME
public static final CN_TaxInputInvoiceItemOneToOneLink<CN_TaxInputInvoice> TO_INVOICE
public CN_TaxInputInvoiceItem()
public CN_TaxInputInvoiceItem(@Nullable UUID taxInvoiceItemUUID, @Nullable UUID cN_TaxInvcUUID, @Nullable String cN_TaxInvcCode, @Nullable String cN_TaxInvcNmbr, @Nullable String taxInvoiceItem, @Nullable String taxInvoiceItemGoodsServiceName, @Nullable String taxInvoiceItemGoodsNumber, @Nullable String taxInvoiceItemSpecModel, @Nullable String unitOfMeasure, @Nullable String taxInvoiceItemUnitDescription, @Nullable BigDecimal taxInvoiceItemQuantity, @Nullable String cN_TaxInvcCrcy, @Nullable BigDecimal taxInvoiceItemNetUnitPrice, @Nullable BigDecimal taxInvoiceItemNetAmount, @Nullable BigDecimal taxInvoiceItemTaxRate, @Nullable BigDecimal taxInvoiceItemTaxAmount, @Nullable String taxInvoiceItemTollCarLicPlate, @Nullable String taxInvoiceItemTollCarCategory, @Nullable String taxInvoiceItemTollStrtDateTime, @Nullable String taxInvoiceItemTollEndDateTime, @Nullable CN_TaxInputInvoice toInvoice)
@Nonnull public Class<CN_TaxInputInvoiceItem> getType()
getType
in class VdmObject<CN_TaxInputInvoiceItem>
public void setTaxInvoiceItemUUID(@Nullable UUID taxInvoiceItemUUID)
Original property name from the Odata EDM: TaxInvoiceItemUUID
taxInvoiceItemUUID
- Invoice Item UUIDpublic void setCN_TaxInvcUUID(@Nullable UUID cN_TaxInvcUUID)
Original property name from the Odata EDM: CN_TaxInvcUUID
cN_TaxInvcUUID
- China Tax Invoice UUIDpublic void setCN_TaxInvcCode(@Nullable String cN_TaxInvcCode)
Original property name from the Odata EDM: CN_TaxInvcCode
cN_TaxInvcCode
- China Tax Invoice Codepublic void setCN_TaxInvcNmbr(@Nullable String cN_TaxInvcNmbr)
Original property name from the Odata EDM: CN_TaxInvcNmbr
cN_TaxInvcNmbr
- China Tax Invoice Numberpublic void setTaxInvoiceItem(@Nullable String taxInvoiceItem)
Original property name from the Odata EDM: TaxInvoiceItem
taxInvoiceItem
- China Tax Invoice Item Numberpublic void setTaxInvoiceItemGoodsServiceName(@Nullable String taxInvoiceItemGoodsServiceName)
Original property name from the Odata EDM: TaxInvoiceItemGoodsServiceName
taxInvoiceItemGoodsServiceName
- China Tax Invoice Item Goods Service Namepublic void setTaxInvoiceItemGoodsNumber(@Nullable String taxInvoiceItemGoodsNumber)
Original property name from the Odata EDM: TaxInvoiceItemGoodsNumber
taxInvoiceItemGoodsNumber
- China Tax Invoice Item Goods Numberpublic void setTaxInvoiceItemSpecModel(@Nullable String taxInvoiceItemSpecModel)
Original property name from the Odata EDM: TaxInvoiceItemSpecModel
taxInvoiceItemSpecModel
- China Tax Invoice Item Specification Modelpublic void setUnitOfMeasure(@Nullable String unitOfMeasure)
Original property name from the Odata EDM: UnitOfMeasure
You define the base unit of measure and also alternative units of measure and their conversion factors in the material master record.Since all data is updated in the base unit of measure, your entry is particularly important for the conversion of alternative units of measure. A quantity in the alternative unit of measure can only be shown precisely if its value can be shown with the decimal places available. To ensure this, please note the following:The base unit of measure is the unit satisfying the highest necessary requirement for precision.The conversion of alternative units of measure to the base unit should result in simple decimal fractions (not, for example, 1/3 = 0.333...).Inventory ManagementIn Inventory Management, the base unit of measure is the same as the stockkeeping unit.ServicesServices have units of measure of their own, including the following:Service unitUnit of measure at the higher item level. The precise quantities of the individual services are each at the detailed service line level.BlanketUnit of measure at service line level for services to be provided once only, and for which no precise quantities can or are to be specified.
unitOfMeasure
- Unit of measure in which stocks of the material are managed. The system converts all the quantities
you enter in other units of measure (alternative units of measure) to the base unit of measure.public void setTaxInvoiceItemUnitDescription(@Nullable String taxInvoiceItemUnitDescription)
Original property name from the Odata EDM: TaxInvoiceItemUnitDescription
taxInvoiceItemUnitDescription
- Unit Measurement Desc.public void setTaxInvoiceItemQuantity(@Nullable BigDecimal taxInvoiceItemQuantity)
Original property name from the Odata EDM: TaxInvoiceItemQuantity
taxInvoiceItemQuantity
- China Tax Invoice Item Quantitypublic void setCN_TaxInvcCrcy(@Nullable String cN_TaxInvcCrcy)
Original property name from the Odata EDM: CN_TaxInvcCrcy
cN_TaxInvcCrcy
- Currency key for amounts in the system.public void setTaxInvoiceItemNetUnitPrice(@Nullable BigDecimal taxInvoiceItemNetUnitPrice)
Original property name from the Odata EDM: TaxInvoiceItemNetUnitPrice
taxInvoiceItemNetUnitPrice
- China Tax Invoice Item Unit Pricepublic void setTaxInvoiceItemNetAmount(@Nullable BigDecimal taxInvoiceItemNetAmount)
Original property name from the Odata EDM: TaxInvoiceItemNetAmount
taxInvoiceItemNetAmount
- China Tax Invoice Net Amount in Invoice Currencypublic void setTaxInvoiceItemTaxRate(@Nullable BigDecimal taxInvoiceItemTaxRate)
Original property name from the Odata EDM: TaxInvoiceItemTaxRate
taxInvoiceItemTaxRate
- Specifies the tax rate for the Golden Tax Interface in China.public void setTaxInvoiceItemTaxAmount(@Nullable BigDecimal taxInvoiceItemTaxAmount)
Original property name from the Odata EDM: TaxInvoiceItemTaxAmount
taxInvoiceItemTaxAmount
- China Tax Invoice Tax Amount in Invoice Currencypublic void setTaxInvoiceItemTollCarLicPlate(@Nullable String taxInvoiceItemTollCarLicPlate)
Original property name from the Odata EDM: TaxInvoiceItemTollCarLicPlate
taxInvoiceItemTollCarLicPlate
- China Tax Invoice Item Toll Car License Platepublic void setTaxInvoiceItemTollCarCategory(@Nullable String taxInvoiceItemTollCarCategory)
Original property name from the Odata EDM: TaxInvoiceItemTollCarCategory
taxInvoiceItemTollCarCategory
- China Tax Invoice Item Toll Car Categorypublic void setTaxInvoiceItemTollStrtDateTime(@Nullable String taxInvoiceItemTollStrtDateTime)
Original property name from the Odata EDM: TaxInvoiceItemTollStrtDateTime
taxInvoiceItemTollStrtDateTime
- China Tax Invoice Item Toll Start Date Timepublic void setTaxInvoiceItemTollEndDateTime(@Nullable String taxInvoiceItemTollEndDateTime)
Original property name from the Odata EDM: TaxInvoiceItemTollEndDateTime
taxInvoiceItemTollEndDateTime
- China Tax Invoice Item Toll Start Date Timeprotected String getEntityCollection()
getEntityCollection
in class VdmEntity<CN_TaxInputInvoiceItem>
@Nonnull protected Map<String,Object> getKey()
getKey
in class VdmObject<CN_TaxInputInvoiceItem>
@Nonnull protected Map<String,Object> toMapOfFields()
toMapOfFields
in class VdmObject<CN_TaxInputInvoiceItem>
protected void fromMap(Map<String,Object> inputValues)
fromMap
in class VdmObject<CN_TaxInputInvoiceItem>
@Nonnull public static <T> CN_TaxInputInvoiceItemField<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> CN_TaxInputInvoiceItemField<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<CN_TaxInputInvoiceItem>
@Deprecated public void setErpConfigContext(@Nullable ErpConfigContext erpConfigContext)
attachToService(String, ErpConfigContext)
instead.VdmEntity
setErpConfigContext
in class VdmEntity<CN_TaxInputInvoiceItem>
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<CN_TaxInputInvoiceItem>
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<CN_TaxInputInvoiceItem>
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<CN_TaxInputInvoiceItem>
@Nonnull protected Map<String,Object> toMapOfNavigationProperties()
toMapOfNavigationProperties
in class VdmObject<CN_TaxInputInvoiceItem>
@Nullable public CN_TaxInputInvoice fetchInvoice() 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 CN_TaxInputInvoice getInvoiceOrFetch() throws com.sap.cloud.sdk.odatav2.connectivity.ODataException
If the navigation property to_Invoice of a queried CN_TaxInputInvoiceItem 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<CN_TaxInputInvoice> getInvoiceIfPresent()
If the navigation property for an entity CN_TaxInputInvoiceItem 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 setInvoice(CN_TaxInputInvoice value)
value
- New CN_TaxInputInvoice entity.public static CN_TaxInputInvoiceItem.CN_TaxInputInvoiceItemBuilder builder()
@Nullable public UUID getTaxInvoiceItemUUID()
Original property name from the Odata EDM: TaxInvoiceItemUUID
@Nullable public UUID getCN_TaxInvcUUID()
Original property name from the Odata EDM: CN_TaxInvcUUID
@Nullable public String getCN_TaxInvcCode()
Original property name from the Odata EDM: CN_TaxInvcCode
@Nullable public String getCN_TaxInvcNmbr()
Original property name from the Odata EDM: CN_TaxInvcNmbr
@Nullable public String getTaxInvoiceItem()
Original property name from the Odata EDM: TaxInvoiceItem
@Nullable public String getTaxInvoiceItemGoodsServiceName()
Original property name from the Odata EDM: TaxInvoiceItemGoodsServiceName
@Nullable public String getTaxInvoiceItemGoodsNumber()
Original property name from the Odata EDM: TaxInvoiceItemGoodsNumber
@Nullable public String getTaxInvoiceItemSpecModel()
Original property name from the Odata EDM: TaxInvoiceItemSpecModel
@Nullable public String getUnitOfMeasure()
Original property name from the Odata EDM: UnitOfMeasure
You define the base unit of measure and also alternative units of measure and their conversion factors in the material master record.Since all data is updated in the base unit of measure, your entry is particularly important for the conversion of alternative units of measure. A quantity in the alternative unit of measure can only be shown precisely if its value can be shown with the decimal places available. To ensure this, please note the following:The base unit of measure is the unit satisfying the highest necessary requirement for precision.The conversion of alternative units of measure to the base unit should result in simple decimal fractions (not, for example, 1/3 = 0.333...).Inventory ManagementIn Inventory Management, the base unit of measure is the same as the stockkeeping unit.ServicesServices have units of measure of their own, including the following:Service unitUnit of measure at the higher item level. The precise quantities of the individual services are each at the detailed service line level.BlanketUnit of measure at service line level for services to be provided once only, and for which no precise quantities can or are to be specified.
@Nullable public String getTaxInvoiceItemUnitDescription()
Original property name from the Odata EDM: TaxInvoiceItemUnitDescription
@Nullable public BigDecimal getTaxInvoiceItemQuantity()
Original property name from the Odata EDM: TaxInvoiceItemQuantity
@Nullable public String getCN_TaxInvcCrcy()
Original property name from the Odata EDM: CN_TaxInvcCrcy
@Nullable public BigDecimal getTaxInvoiceItemNetUnitPrice()
Original property name from the Odata EDM: TaxInvoiceItemNetUnitPrice
@Nullable public BigDecimal getTaxInvoiceItemNetAmount()
Original property name from the Odata EDM: TaxInvoiceItemNetAmount
@Nullable public BigDecimal getTaxInvoiceItemTaxRate()
Original property name from the Odata EDM: TaxInvoiceItemTaxRate
@Nullable public BigDecimal getTaxInvoiceItemTaxAmount()
Original property name from the Odata EDM: TaxInvoiceItemTaxAmount
@Nullable public String getTaxInvoiceItemTollCarLicPlate()
Original property name from the Odata EDM: TaxInvoiceItemTollCarLicPlate
@Nullable public String getTaxInvoiceItemTollCarCategory()
Original property name from the Odata EDM: TaxInvoiceItemTollCarCategory
@Nullable public String getTaxInvoiceItemTollStrtDateTime()
Original property name from the Odata EDM: TaxInvoiceItemTollStrtDateTime
@Nullable public String getTaxInvoiceItemTollEndDateTime()
Original property name from the Odata EDM: TaxInvoiceItemTollEndDateTime
public String toString()
toString
in class VdmObject<CN_TaxInputInvoiceItem>
public boolean equals(Object o)
equals
in class VdmObject<CN_TaxInputInvoiceItem>
protected boolean canEqual(Object other)
canEqual
in class VdmObject<CN_TaxInputInvoiceItem>
public int hashCode()
hashCode
in class VdmObject<CN_TaxInputInvoiceItem>
Copyright © 2019 SAP SE. All rights reserved.