|
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+cc2a5357b8231e24c5fd7606bb1e71a1374ad1e9
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