getGlobalPayDesMappingSetMappings() Method

Table of Contents

  1. Function
  2. Syntax
  3. Parameters
  4. Return Value
  5. Sample Code
  6. Remarks
  7. Possible Errors
  8. Related Methods

Function

  • Returns the history of properties of a Global Pay Designation Mapping Set

Syntax

  • AePayDesMappingAry = AeXMLBridge.getGlobalPayDesMappingSetMapping(GlobalMappingSetName);

Parameters

  • String – global mapping set name

Return Value

Sample Code

C#

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
string[] mappingNames = ws.getGlobalPayDesMappingsSimple();                
// retrieve a list of global pay designations

if (mappingNames.Length > 0)
// check if we have any mappings
{
try
{
TAePayDesMapping[] mappings = ws.getGlobalPayDesMappingSetMappings(mappingName[0]);
}
catch (Exception ex)
{
MessageBox.Show(ex.Message);
}
}

VB.Net

1
2
3
4
5
6
7
8
9
10
11
12
13

Dim mappingNames As String() = ws.getGlobalPayDesMappingsSimple()
' retrieve a list of global pay designations

If mappingNames.Length > 0 Then
' check if we have any mappings

Try
Dim mappings As TAePayDesMapping() = ws.getGlobalPayDesMappingSetMappings(mappingNames(0))
Catch ex As Exception
MessageBox.Show(ex.Message)
End Try
End If

Remarks

Possible Errors

  • Mapping set not found

Related Methods

appendGlobalPayDesMappingSetMapping
getGlobalPayDesMappingSet
getGlobalPayDesMappingsSimple
removeGlobalPayDesMappingSet

Back to Top