Click or drag to resize

IProductGetProductCostAccountAssociationsByGUID Method

Returns Cost accounts associated to Product through VAT, product if no association is found returns default cost account

Namespace: Severa.API
Assembly: Severa.SOAP.API (in Severa.SOAP.API.dll) Version: 1.0.0+cc2a5357b8231e24c5fd7606bb1e71a1374ad1e9
Syntax
List<CostAccount> GetProductCostAccountAssociationsByGUID(
	string productGUID,
	bool includeDefault = false
)

Parameters

productGUID  String
Product GUID, identifies the product.
includeDefault  Boolean  (Optional)
Boolean, tells if default cost account can be returned if association can't be found.

Return Value

ListCostAccount

[Missing <returns> documentation for "M:Severa.API.IProduct.GetProductCostAccountAssociationsByGUID(System.String,System.Boolean)"]

Exceptions
ExceptionCondition
NotFoundExceptionProduct could not be found.
AuthenticationFailureExceptionThe caller could not be authenticated.
GeneralFailureExceptionAny other fault.
Remarks
Cost accounts are associated to Product through VAT. If association can't be found, default cost account of the organization is returned, if includeDefault is True.
See Also