Get the Service Type and Cost Centre Pk to use for an Unspecified Service Type by using the default AI Service Type (either Simple or Advanced) as defined on the Cost Centre.

Syntax

finAI.GetCostCentreAndServiceTypeForUnspecifiedServiceType(branchId, usage, serviceType, costCentrePk)

Parameters

NameTypeOptionalByRefDescription
branchId String The Branch Id or blank to use the User's default Branch.
usage isefinAIServiceUsage If Service Type is 'Unspecified' this indicates whether to use the default Simple or Advanced models.
serviceType isefinAIServiceType ByRef
costCentrePk Integer ByRef The primary key of the Cost Centre.

Return Value

Boolean

A Boolean value indicating success.

Member of:
finAI
Namespace:
Intersoft.finSupport6
Assembly:
finSupport6, Version=6.0.3
Target Framework:
.NET 9.0