|
IProductGetProductCostAccountAssociationsByGUID Method
|
Returns Cost accounts associated to Product through VAT, product if no association is found returns default cost account
Namespace: Severa.APIAssembly: Severa.SOAP.API (in Severa.SOAP.API.dll) Version: 1.0.0+9acb7434aeb2855fb928fe129dfe34575a6d8fd4
Syntax List<CostAccount> GetProductCostAccountAssociationsByGUID(
string productGUID,
bool includeDefault = false
)
Function GetProductCostAccountAssociationsByGUID (
productGUID As String,
Optional includeDefault As Boolean = false
) As List(Of CostAccount)
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 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