Click or drag to resize

clsImportEmployeebLoadEmployeeValidFrom Method

Loads data for existing employee master data and sub tables, based on the current date with the matching "valid from" period.

To Create a new valid from period. Simply change the lValidFromPeriod to the new requested period.

Use bImportEmployee(clsImportEmployee, clsImportBaseeImportMode) with the option Update to save the changes.

Namespace:  MARIInterface
Assembly:  MARIInterface (in MARIInterface.dll) Version: 8.0.0.100
Syntax
public bool bLoadEmployeeValidFrom(
	MPInterface oInterface,
	string sEmployeeNumber,
	int lValidFromPeriod
)

Parameters

oInterface
Type: MARIInterfaceMPInterface
Referecne ot a valid and initialized interface
sEmployeeNumber
Type: SystemString
Key field
lValidFromPeriod
Type: SystemInt32
Use a period used by the employee to manage the settings. When employee has ValidFrom 2015001 and ValidFrom 2015007, values inbetween will return an error.

Return Value

Type: Boolean
Remarks