public class SalesItemNode extends Object
Its
instances should never exist independently, instead they should always be a
child of either the SalesItemsTree or another SalesItemNode
SalesItemsTree| Modifier and Type | Method and Description |
|---|---|
void |
addAttachmentFile(InputStream attachmentStream,
String fileName,
long fileSize,
String attachmentType)
Adds the attachment file as line item attachment
|
SalesItemNode |
addChildByProductErpId(String productErpId)
Adds a new line item under this object by specifying its ERP ID.
|
SalesItemNode |
addChildByProductURI(String productURI)
Adds a new line item under this object by specifying its Product URI.
|
SalesItemNode |
addNewBusinessObjectData(BusinessObjectDataDTO businessObjectDataDTO)
Create businessAttribute data and assign it to salesItem
|
SalesItemNode |
addNewPriceItem(PriceItemData priceItemData)
Create and Add Price Item data to salesItem, without triggering SSC
pricing.
|
SalesItemNode |
addPartnerFunctions(Collection<PartnerFunctionRecord> partnerFunctionRecords)
Add partner function records into salesItem's Partner Function.
|
void |
changeName(String newName)
Alters the name of this line item
|
void |
changeParent(SalesItemNode newParent)
Moves this line item to be under a different line item
|
void |
changeParent(SalesItemsTree newParent)
Moves this line item to be directly under the quote
|
void |
changeQuantity(BigDecimal newQty)
Alters the quantity of this line item
|
SalesItemNode |
copy()
Copies the current line item.
|
void |
delete()
Deletes the current line item and all of its descendant nodes
|
void |
deleteLineItemAttachment(BusinessObject[] attachmentIds)
Delete multiple Line Item Attachments
|
SalesItemNode |
deletePartnerFunctions(Collection<BusinessObject> partnerFunctionRecords)
Remove partner function records into SalesItem's Partner Function.
|
SalesItemNode |
deletePriceItem(PriceItemData priceItem)
Remove Price Item data from salesItem, without triggering SSC pricing.
|
List<SalesItemNode> |
filterChildrenByDynamicAttribute(String dynamicAttributeName,
List<Object> dynamicAttributeValues)
Retrieves the list of child line items that has dynamic attribute of one
of the specified values
|
List<SalesItemNode> |
filterChildrenByDynamicAttribute(String dynamicAttributeName,
Object dynamicAttributeValue)
Retrieves the list of child line items that has dynamic attribute of a
specific value
|
List<SalesItemNode> |
filterChildrenByProductERPID(List<String> productERPIDs)
Retrieves the list of child line items that has one of the specified ERP
IDs.
|
List<SalesItemNode> |
filterChildrenByProductName(List<String> productNames)
Retrieves the list of child line items that has one of the specified
objectName
|
List<SalesItemNode> |
filterChildrenByProductType(String productTypeURI)
Retrieves the list of child line items that belongs to a particular
Product Type only
|
AttachmentData |
getAttachmentFile(String fileName)
Get a attachment file by file name.
|
List<AttachmentData> |
getAttachmentFiles()
Get the list of the attachment file.
|
List<AttachmentData> |
getAttachmentFilesByType(String fileType)
Get the list of the attachment file by file type.
|
AttachmentFolderData |
getAttachmentFolder(String folderName)
Get an attachment folder by folder name.
|
List<AttachmentFolderData> |
getAttachmentFolders()
Get the list of the attachment folder.
|
List<SalesItemNode> |
getChildren()
Retrieves the list of all line items directly under this object
|
Object |
getDynamicAttribute(String dynamicAttributeName)
Retrieves the value of a dynamic attribute of this line item
|
String |
getGeojson()
To get the google map data.
|
Object |
getItemHeaderDataAttributeValue(String attributeURI)
To get the value of the Item Header Price Item
|
Object |
getNewMaterialItemDataAttributeValue(String attributeURI)
To get the value of the New Material Item * @param attributeURI as String
the URI of the NewMaterialItem attribute
|
String |
getNewMaterialItemRelAttributeObjectERPId(String attributeURI)
To get the objectERPId value of the New Material Item * @param
attributeURI as String the URI of the NewMaterialItem attribute
|
String |
getNewMaterialItemRelAttributeObjectURI(String attributeURI)
To get the URI value of the New Material Item * @param attributeURI as
String the URI of the NewMaterialItem attribute
|
String |
getObjectName()
Retrieves the object name of this line item
|
SalesItemNode |
getParent()
Retrieves the parent of this line item
|
String |
getPartnerErpId(String partnerFunctionURI)
To get the ERPId of the partner function by partner function URI.
|
String |
getPartnerObjectId(String partnerFunctionURI)
To get the object Id of the partner function by partner function URI.
|
String |
getPartnerObjectName(String partnerFunctionURI)
To get the object Name of the partner function by partner function URI.
|
Map<String,List<AbstractObjectDTO>> |
getPartners()
Retrieves the partner function of the line item
|
List<String> |
getPartnersErpId(String partnerFunctionURI)
To get all the ERPId for a type of partner function.
|
List<String> |
getPartnersObjectId(String partnerFunctionURI)
To get all the object Id for a type of partner function.
|
List<String> |
getPartnersObjectName(String partnerFunctionURI)
To get all the object names for a type of partner function.
|
List<String> |
getPartnersURI(String PartnerFunctionURI)
To get all the object URI for a type of partner function.
|
String |
getPartnerURI(String PartnerFunctionURI)
To get all the object URI for a type of partner function.
|
PriceItemData |
getPriceItemByTypeName(String name)
To get the price Item data by name.
|
PriceItemData |
getPriceItemByTypeUri(String uri)
To get the price Item data by price item type URI.
|
PriceItemData |
getPriceItemByUri(String uri)
To get the price Item data by price item URI.
|
List<PriceItemData> |
getPriceItemsByTypeName(String name)
To get all the price Item data by the name of the price item type.
|
List<PriceItemData> |
getPriceItemsByTypeUri(String uri)
To get all the price Item data by the URI of the price item type .
|
List<PriceItemData> |
getPriceItemsJustified(String justificationURI)
To get all justified price Item data.
|
Map<String,String> |
getProductComments()
To get all product comments.
|
String |
getProductErpId()
Retrieves the ERP ID of this line item
|
String |
getProductObjectName()
Retrieves the product name of this line item
|
String |
getProductTypeErpId()
Retrieves the product type ERPID of this line item
|
String |
getProductTypeURI()
Retrieves the product type URI of this line item
|
String |
getProductURI()
Retrieves the product URI of this line item
|
BigDecimal |
getQuantity()
Retrieves the quantity of this line item
|
Object |
getSalesItemDataAttributeValue(String attributeURI)
Return salesItem data attribute value by the attribute uri
|
String |
getSalesItemRelationAttributeErpId(String attributeURI)
Return salesItem relation attribute's ERPID by the attribute uri
|
String |
getSalesItemRelationAttributeObjectId(String attributeURI)
Return salesItem relation attribute's objectID by the attribute uri
|
String |
getSalesItemRelationAttributeObjectName(String attributeURI)
Return salesItem relation attribute's objectName by the attribute uri
|
String |
getSalesItemRelationAttributeURI(String attributeURI)
Return salesItem relation attribute's URI by the attribute uri
|
String |
getSalesItemURI()
Retrieves the object URI of sales item of this line item
|
boolean |
hasDynamicAttribute(String dynamicAttributeName)
Checks if this line item has a particular dynamic attribute
|
SalesItemNode |
setDataAttribute(String attributeURI,
Object value)
Set the immediate data attribute to SalesItem
|
void |
setDynamicAttribute(String dynamicAttributeName,
Object dynamicAttributeValue)
Sets the value of a dynamic attribute of this line item.
|
void |
setDynamicAttributeIfExist(String dynamicAttributeName,
Object dynamicAttributeValue)
Sets the value of a dynamic attribute of this line item.
|
void |
setGeojson(String geojson)
Set the google map data for the salesItem
|
void |
setItemHeaderData(String attributeURI,
Object value)
To set item header price item.
|
SalesItemNode |
setPriceItemByTypeName(String priceItemTypeName,
BigDecimal baseAmount)
Create or Update price item with baseAmount only.
|
SalesItemNode |
setRelationAttribute(String attributeURI,
String valueURI)
Set the immediate relation attribute to SalesItem
|
SalesItemNode |
split(BigDecimal splitQuantity)
Splits the line item based on the given quantity.
|
SalesItemNode |
updatePriceItemBaseAmount(String priceItemURI,
BigDecimal baseAmount)
Update BaseAmount with targetCurrency of a Price Item
|
SalesItemNode |
updatePriceItemBaseCurrency(String priceItemURI,
String baseCurrencyUri)
Update baseCurrencyUri of a Price Item
|
SalesItemNode |
updatePriceItemBaseQuantity(String priceItemURI,
BigDecimal baseQuantity)
Update BaseQuantity with UoM of a Price Item
|
SalesItemNode |
updatePriceItemBaseUnitUoM(String priceItemURI,
String baseUnitUoMUri,
String baseUnitUoMName)
Update baseUnitUoMUri and baseUnitUoMName of a Price Item
|
SalesItemNode |
updatePriceItemConditionIsInactive(String priceItemURI,
boolean conditionIsInactive)
Update sequence of a Price Item
|
SalesItemNode |
updatePriceItemJustification(String priceItemURI,
String uri)
Update Justification of a Price Item
|
SalesItemNode |
updatePriceItemSequence(String priceItemURI,
int sequenceID)
Update sequence of a Price Item
|
SalesItemNode |
updatePriceItemTargetAmount(String priceItemURI,
BigDecimal targetAmount)
Update TargetAmount of a Price Item
|
SalesItemNode |
updatePriceItemTargetCurrency(String priceItemURI,
String targetCurrencyUri)
Update TargetCurrency of a Price Item
|
public void addAttachmentFile(InputStream attachmentStream, String fileName, long fileSize, String attachmentType) throws IMCException
attachmentStream - Input File StreamfileName - Name of the file to be addedfileSize - Size of the File to be addedattachmentType - type of attachment FileIMCExceptionpublic SalesItemNode addChildByProductErpId(String productErpId) throws IMCException
The validity of the given ERP ID will only be evaluated after the script has completed its execution and returns control back to the main application.
productErpId - The ERP ID of the product to be added as the new line
itemSalesItemNode object representing the newly added
line itemIMCExceptionpublic SalesItemNode addChildByProductURI(String productURI) throws IMCException
The validity of the given URI will only be evaluated after the script has completed its execution and returns control back to the main application.
productURI - The URI of the product to be added as the new line
item. The full path has to be provided.SalesItemNode object representing the newly added
line itemIMCExceptionpublic SalesItemNode addNewBusinessObjectData(BusinessObjectDataDTO businessObjectDataDTO)
businessObjectDataDTO - as BusinessObjectDataDTO. See
BusinessObjectDataDTOpublic SalesItemNode addNewPriceItem(PriceItemData priceItemData) throws IMCException
priceItemData - as PriceItemData. See PriceItemDataIMCExceptionpublic SalesItemNode addPartnerFunctions(Collection<PartnerFunctionRecord> partnerFunctionRecords)
partnerFunctionRecords. - The partner function records to add into a
salesItem.SalesItemNode instance.public void changeName(String newName) throws IMCException
newName - The new nameIMCExceptionpublic void changeParent(SalesItemNode newParent) throws IMCException
newParent - The SalesItemNode object (i.e. a line item) that
will become the new parent of this line itemIMCException - If trying to set the parent to be one of it's own
descendant node or its own selfpublic void changeParent(SalesItemsTree newParent) throws IMCException
newParent - The SalesItemsTree object (i.e. the quote) that
will become the new parent of this line itemIMCException - If trying to set the parent to be one of it's own
descendant node or its own selfpublic void changeQuantity(BigDecimal newQty) throws IMCException
newQty - The new quantityIMCExceptionpublic SalesItemNode copy() throws IMCException
The copied node will be created with identical properties as the original, and will be placed under the same parent. Only the current line item will be copied, not any of its children
SalesItemNode object representing the newly added
line itemIMCExceptionpublic void delete()
public void deleteLineItemAttachment(BusinessObject[] attachmentIds) throws IMCException
IMCExceptionpublic SalesItemNode deletePartnerFunctions(Collection<BusinessObject> partnerFunctionRecords) throws IMCException
partnerFunctionRecords. - The partner function records to remove
into a SalesItem.SalesItem instance.IMCExceptionpublic SalesItemNode deletePriceItem(PriceItemData priceItem) throws IMCException
priceItemData - as PriceItemData. See PriceItemDataIMCExceptionpublic List<SalesItemNode> filterChildrenByDynamicAttribute(String dynamicAttributeName, List<Object> dynamicAttributeValues) throws IMCException
dynamicAttributeName - The object name of the dynamic attribute. It
can be either Dynamic Symbolic Attribute (DSA) or Dynamic Data
Attribute (DDA). Note that only the object name can be used here,
not the language-specific labelsdynamicAttributeValues - The list of acceptable values for the
dynamic attribute. For DSA, only the object name of the ranges can
be used here, not the language-specific labelsSalesItemNode objects directly under this object that
meets the filter criteriaIMCExceptionpublic List<SalesItemNode> filterChildrenByDynamicAttribute(String dynamicAttributeName, Object dynamicAttributeValue) throws IMCException
dynamicAttributeName - The object name of the dynamic attribute. It
can be either Dynamic Symbolic Attribute (DSA) or Dynamic Data
Attribute (DDA). Note that only the object name can be used here,
not the language-specific labelsdynamicAttributeValue - The accepted value for the dynamic
attribute. For DSA, only the object name of the ranges can be used
here, not the language-specific labelsSalesItemNode objects directly under this object that
meets the filter criteriaIMCExceptionpublic List<SalesItemNode> filterChildrenByProductERPID(List<String> productERPIDs)
productERPIDs - The list of accepted values of ERP IDSalesItemNode objects directly under this object that
meets the filter criteriapublic List<SalesItemNode> filterChildrenByProductName(List<String> productNames)
productNames - The list of accepted values of product object nameSalesItemNode objects directly under this object that
meets the filter criteriapublic List<SalesItemNode> filterChildrenByProductType(String productTypeURI)
productTypeURI - The URI of the product type. The full path has to
be provided.SalesItemNode objects directly under this object that
meets the filter criteriapublic AttachmentData getAttachmentFile(String fileName) throws IMCException
AttachmentData.fileName - as String the name of the file.AttachmentData.IMCExceptionpublic List<AttachmentData> getAttachmentFiles() throws IMCException
AttachmentData in List.IMCExceptionAttachmentData}.public List<AttachmentData> getAttachmentFilesByType(String fileType) throws IMCException
AttachmentData.fileType - as String. The file type.AttachmentData in List.IMCExceptionpublic AttachmentFolderData getAttachmentFolder(String folderName) throws IMCException
folderName - the name of the folder.AttachmentFolderData.IMCExceptionAttachmentFolderData}.public List<AttachmentFolderData> getAttachmentFolders() throws IMCException
AttachmentFolderData in List.IMCExceptionAttachmentFolderData}.public List<SalesItemNode> getChildren()
SalesItemNode objects directly under this objectpublic Object getDynamicAttribute(String dynamicAttributeName) throws IMCException
dynamicAttributeName - The object name of the dynamic attribute. It
can be either Dynamic Symbolic Attribute (DSA) or Dynamic Data
Attribute (DDA). Note that only the object name can be used here,
not the language-specific labelsIMCExceptionpublic String getGeojson() throws IMCException
MapUtil to manipulate it.IMCExceptionpublic Object getItemHeaderDataAttributeValue(String attributeURI) throws IMCException
attributeURI - as String the URI of the itemHeaderPriceItem
attributeIMCExceptionpublic Object getNewMaterialItemDataAttributeValue(String attributeURI) throws IMCException
attributeURI - as String the Data URI of the NewMaterialItemIMCExceptionpublic String getNewMaterialItemRelAttributeObjectERPId(String attributeURI) throws IMCException
attributeURI - as String the Relation URI of the NewMaterialItemIMCExceptionpublic String getNewMaterialItemRelAttributeObjectURI(String attributeURI) throws IMCException
attributeURI - as String the Relation URI of the NewMaterialItemIMCExceptionpublic String getObjectName() throws IMCException
IMCExceptionpublic SalesItemNode getParent()
SalesItemNode object representing the parent of this
line item, or null if this is a top level line item (i.e. the
parent is the SalesItemsTree object)public String getPartnerErpId(String partnerFunctionURI) throws IMCException
partnerFunctionURI - the URI of the partner function.null
if not found.IMCExceptionpublic String getPartnerObjectId(String partnerFunctionURI) throws IMCException
partnerFunctionURI - the URI of the partner function.null if
not found.IMCExceptionpublic String getPartnerObjectName(String partnerFunctionURI) throws IMCException
partnerFunctionURI - the URI of the partner function.null if
not found.IMCExceptionpublic Map<String,List<AbstractObjectDTO>> getPartners() throws IMCException
IMCExceptionpublic List<String> getPartnersErpId(String partnerFunctionURI) throws IMCException
partnerFunctionURI - the URI of the partner function.IMCExceptionpublic List<String> getPartnersObjectId(String partnerFunctionURI) throws IMCException
partnerFunctionURI - the URI of the partner function.IMCExceptionpublic List<String> getPartnersObjectName(String partnerFunctionURI) throws IMCException
partnerFunctionURI - the URI of the partner function.IMCExceptionpublic List<String> getPartnersURI(String PartnerFunctionURI) throws IMCException
PartnerFunctionURI - the URI of the partner function.IMCExceptionpublic String getPartnerURI(String PartnerFunctionURI) throws IMCException
partnerFunctionURI - the URI of the partner function.IMCExceptionpublic PriceItemData getPriceItemByTypeName(String name) throws IMCException
PriceItemDataname - as String the name of the price item.PriceItemData.IMCExceptionpublic PriceItemData getPriceItemByTypeUri(String uri) throws IMCException
PriceItemDatauri - as String the uri of the price item type.PriceItemData.IMCExceptionpublic PriceItemData getPriceItemByUri(String uri) throws IMCException
PriceItemDatauri - as String the uri of the price item.PriceItemData.IMCExceptionpublic List<PriceItemData> getPriceItemsByTypeName(String name) throws IMCException
PriceItemDataname - as String the name of the price item type.PriceItemData.IMCExceptionpublic List<PriceItemData> getPriceItemsByTypeUri(String uri) throws IMCException
PriceItemDatauri - as String the URI of the price item type.PriceItemData in ListIMCExceptionpublic List<PriceItemData> getPriceItemsJustified(String justificationURI) throws IMCException
PriceItemDatajustificationURI - as StringPriceItemData in ListIMCExceptionpublic Map<String,String> getProductComments() throws IMCException
IMCExceptionpublic String getProductErpId()
public String getProductObjectName()
public String getProductTypeErpId() throws IMCException
IMCExceptionpublic String getProductTypeURI()
public String getProductURI()
public BigDecimal getQuantity() throws IMCException
IMCExceptionpublic Object getSalesItemDataAttributeValue(String attributeURI) throws IMCException
attributeURI - as String. The uri of the attributeIMCExceptionpublic String getSalesItemRelationAttributeErpId(String attributeURI) throws IMCException
attributeURI - as String. The uri of the attributeIMCExceptionpublic String getSalesItemRelationAttributeObjectId(String attributeURI) throws IMCException
attributeURI - as String. The uri of the attributeIMCExceptionpublic String getSalesItemRelationAttributeObjectName(String attributeURI) throws IMCException
attributeURI - as String. The uri of the attributeIMCExceptionpublic String getSalesItemRelationAttributeURI(String attributeURI) throws IMCException
attributeURI - as String. The uri of the attributeIMCExceptionpublic String getSalesItemURI()
public boolean hasDynamicAttribute(String dynamicAttributeName) throws IMCException
dynamicAttributeName - The object name of the dynamic attribute. It
can be either Dynamic Symbolic Attribute (DSA) or Dynamic Data
Attribute (DDA). Note that only the object name can be used here,
not the language-specific labelsIMCExceptionpublic SalesItemNode setDataAttribute(String attributeURI, Object value) throws IMCException
attributeURI - as String. The uri of the Business Data Attributevalue - as Object. The value of the object.IMCExceptionpublic void setDynamicAttribute(String dynamicAttributeName, Object dynamicAttributeValue) throws IMCException
The validity of the given dynamic attribute or its value will only be evaluated after the script has completed its execution and returns control back to the main application.
dynamicAttributeName - The object name of the dynamic attribute. It
can be either Dynamic Symbolic Attribute (DSA) or Dynamic Data
Attribute (DDA). Note that only the object name can be used here,
not the language-specific labelsdynamicAttributeValue - The value to be set for the dynamic
attribute. For DSA, only the object name of the ranges can be used
here, not the language-specific labelsIMCException - the platform exceptionpublic void setDynamicAttributeIfExist(String dynamicAttributeName, Object dynamicAttributeValue) throws IMCException
The existence of the given dynamic attribute will NOT be checked, if the sales item does not have such a DA, it will be silently ignored and will not result in an exception. If the dynamic attribute exists, the validity of the value will still be evaluated after the script has completed its execution and returns control back to the main application.
This method will still throw exception if used on a Sales Item that is a non-configurable product
dynamicAttributeName - The object name of the dynamic attribute. It
can be either Dynamic Symbolic Attribute (DSA) or Dynamic Data
Attribute (DDA). Note that only the object name can be used here,
not the language-specific labelsdynamicAttributeValue - The value to be set for the dynamic
attribute. For DSA, only the object name of the ranges can be used
here, not the language-specific labelsIMCException - the platform exceptionpublic void setGeojson(String geojson)
public void setItemHeaderData(String attributeURI, Object value) throws IMCException
attributeURI - as String. The URI of the price item.value - as Object. The value for the price item.IMCExceptionpublic SalesItemNode setPriceItemByTypeName(String priceItemTypeName, BigDecimal baseAmount) throws IMCException
priceItemTypeName - as String. The name of the priceItemTypebaseAmount - as BigDecimal. The baseAmount to update / create.IMCExceptionpublic SalesItemNode setRelationAttribute(String attributeURI, String valueURI) throws IMCException
attributeURI - as String. The uri of the Business Relation AttributeURI - as String. The uri of the object.IMCExceptionpublic SalesItemNode split(BigDecimal splitQuantity) throws IMCException
This will create a copy of the current item. The new item will have the given quantity, while the quantity of the current item will be reduced by the same amount. For example, if originally the line item has a quantity of 10, and this method is called with splitQuantity = 3, the original line item will now have quantity of 7 while the new line item will have quantity of 3.
Children of the current line items will not be copied over and will remain with the original item. All other properties such as quantity or dynamic attributes will be copied.
splitQuantity - The quantity of the new line item. The quantity of
the current item will be reduced by the same amountSalesItemNode object representing the newly added
line itemIMCExceptionpublic SalesItemNode updatePriceItemBaseAmount(String priceItemURI, BigDecimal baseAmount) throws IMCException
priceItemURI - as String. The URI of the price item to be updated.baseAmount - as BigDecimal. The BaseAmount of the price item.IMCExceptionpublic SalesItemNode updatePriceItemBaseCurrency(String priceItemURI, String baseCurrencyUri) throws IMCException
priceItemURI - as String. The URI of the price item to be updated.baseCurrencyUri - as String. The base Currency Uri of the price
item.IMCExceptionpublic SalesItemNode updatePriceItemBaseQuantity(String priceItemURI, BigDecimal baseQuantity) throws IMCException
priceItemURI - as String. The URI of the price item to be updated.baseQuantity - as BigDecimal. The Base Quantity value (base
condition unit) of the price item.IMCExceptionpublic SalesItemNode updatePriceItemBaseUnitUoM(String priceItemURI, String baseUnitUoMUri, String baseUnitUoMName) throws IMCException
priceItemURI - as String. The URI of the price item to be updated.baseUnitUoMUri - as String. The base unit UoM Uri of the price item.baseUnitUoMName - as String. The base unit UoM Name of the price
item.IMCExceptionpublic SalesItemNode updatePriceItemConditionIsInactive(String priceItemURI, boolean conditionIsInactive) throws IMCException
priceItemURI - as String. The URI of the price item to be updated.sequenceID - as int. The sequence of the price item.IMCExceptionpublic SalesItemNode updatePriceItemJustification(String priceItemURI, String uri) throws IMCException
priceItemURI - as String. The URI of the price item to be updated.uri - as String. The URI of the justification.
(http://www.inmindcloud.com/application/schema.owl#UserJustified
or
http://www.inmindcloud.com/application/schema.owl#SystemJustifiedERP)IMCExceptionpublic SalesItemNode updatePriceItemSequence(String priceItemURI, int sequenceID) throws IMCException
priceItemURI - as String. The URI of the price item to be updated.sequenceID - as int. The sequence of the price item.IMCExceptionpublic SalesItemNode updatePriceItemTargetAmount(String priceItemURI, BigDecimal targetAmount) throws IMCException
priceItemURI - as String. The URI of the price item to be updated.targetAmount - as BigDecimal. The targetAmount of the price item.IMCExceptionpublic SalesItemNode updatePriceItemTargetCurrency(String priceItemURI, String targetCurrencyUri) throws IMCException
priceItemURI - as String. The URI of the price item to be updated.targetCurrencyUri - as String. The target Currency Uri of the price
item.IMCException