clsImportBasesGetFreeClassNummer Method
|
Creates a new class number i.e. Project, Employee etc. considering the identifier format.
Namespace:
MARIInterface
Assembly:
MARIInterface (in MARIInterface.dll) Version: 8.0.0.100
Syntaxpublic string sGetFreeClassNummer(
MPInterface oInterface,
clsImportBaseeCoreDataClassID nClassID,
int nBusinessUnit = 0,
string sKeyPrefix = "*"
)
Public Function sGetFreeClassNummer (
oInterface As MPInterface,
nClassID As clsImportBaseeCoreDataClassID,
Optional nBusinessUnit As Integer = 0,
Optional sKeyPrefix As String = "*"
) As String
Parameters
- oInterface
- Type: MARIInterfaceMPInterface
- nClassID
- Type: MARIInterfaceclsImportBaseeCoreDataClassID
Dimension of the core data - nBusinessUnit (Optional)
- Type: SystemInt32
0, optional the requested business to calculate the companyID. See dimension clsImportSetupBusinessUnits for details. - sKeyPrefix (Optional)
- Type: SystemString
Return Value
Type:
StringA new unique core data identifier
Remarks
See Also