[This is preliminary documentation and is subject to change.]

Inserts a new payroll category for a group

Namespace:  OfficeClip.DBLayer.TE
Assembly:  OfficeClip.DBLayer (in OfficeClip.DBLayer)
Version: 8.1.1.0

Syntax

C#
public int InsertPayrollCategory(
	int groupId,
	PayrollCategoryInfo pci
)
Visual Basic (Declaration)
Public Function InsertPayrollCategory ( _
	groupId As Integer, _
	pci As PayrollCategoryInfo _
) As Integer
Visual C++
public:
int InsertPayrollCategory(
	int groupId, 
	PayrollCategoryInfo^ pci
)

Parameters

groupId
Type: System..::.Int32
The unique id for the group
pci
Type: OfficeClip.BusinessLayer.TE..::.PayrollCategoryInfo
The payroll category information

Return Value

The newly created payroll id if successful, -1 if failed

See Also