|
IItemAddNewItem Method
|
Adds a new Item.
Namespace: Severa.APIAssembly: Severa.SOAP.API (in Severa.SOAP.API.dll) Version: 1.0.0+cc2a5357b8231e24c5fd7606bb1e71a1374ad1e9
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