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+9acb7434aeb2855fb928fe129dfe34575a6d8fd4
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