|
IItemAddNewItem Method
|
Adds a new Item.
Namespace: Severa.APIAssembly: Severa.SOAP.API (in Severa.SOAP.API.dll) Version: 1.0.0+9acb7434aeb2855fb928fe129dfe34575a6d8fd4
Syntax Item AddNewItem(
Item itemInfo,
string currencyCode
)
Function AddNewItem (
itemInfo As Item,
currencyCode As String
) As Item
Parameters
- itemInfo Item
- Item object.
Mandatory data members:
- Either CaseGUID or CaseNumber. Identifies the case where item is added to.
- Either ProductGUID or ProductCode or Unitcost and UnitPrice. If GUID or code is given, information from product is used. Otherwise unit price and unit cost are required.
- Quantity.
- If UserGUID is given then TaskGUID is needed also. Item will be visible on work hour entry page, and needs to be associated with a phase.
- currencyCode String
- ISO currency code, defines the currency of the item.
Return Value
ItemItem object.
Exceptions Remarks If currencycode is not given will use currency from case. If currencycode is not found, then returns an error.
See Also