Get all simulation earnings

get

/fscmRestApi/resources/11.13.18.05/incentiveCompensationCalculationSimulations/{SimulationId}/child/Earnings

Request

Path Parameters
Query Parameters
  • This parameter specifies dependencies which are fields that are set before and rolled back after generating the response. Generally they are used to preview the effects of an attribute change. The fields specified in this parameter are always set in the resource instance in question. When a child resource collection is requested and the parameter is set, the fields will be set in the parent resource instance before generating the resource collection payload. The value of this query parameter is a set of dependency fields. Example: dependency=ProductId=2

    Format: <attr1>=<val1>,<attr2>=<value2>
  • When this parameter is provided, the specified children are included in the resource payload (instead of just a link). The value of this query parameter is "all" or "". More than one child can be specified using comma as a separator. Example: ?expand=Employees,Localizations. Nested children can also be provided following the format "Child.NestedChild" (Example: ?expand=Employees.Managers). If a nested child is provided (Example: Employees.Managers), the missing children will be processed implicitly. For example, "?expand=Employees.Managers" is the same as "?expand=Employees,Employees.Managers" (which will expand Employees and Managers).
  • This parameter filters the resource fields. Only the specified fields are returned, which means that if no fields are specified, no fields are returned (useful to get only the links). If an indirect child resource is provided (Example: Employees.Managers), the missing children will be processed implicitly. For example, "?fields=Employees.Managers:Empname" is the same as "?fields=;Employees:;Employees.Managers:Empname" (which will only return the "Empname" field for Managers). the value of this query parameter is a list of resource fields. The attribute can be a direct (Example: Employees) or indirect (Example: Employees.Managers) child. It cannot be combined with expand query parameter. If both are provided, only fields will be considered.

    Format: ?fields=Attribute1,Attribute2

    Format for fields in child resource: ?fields=Accessor1:Attribute1,Attribute2
  • Used as a predefined finder to search the collection.

    Format: ?finder=<finderName>;<variableName>=<variableValue>,<variableName2>=<variableValue2>

    The following are the available finder names and corresponding finder variables:

    • EarningIdFinder: Finds a simulation earning with the specified simulation earning identifier.
      Finder Variables:
      • EarningId; integer; The unique identifier of the simulation earning.
    • PrimaryKey: Finds a simulation earning with the specified primary key.
      Finder Variables:
      • EarningId; integer; The unique identifier of the simulation earning.
      • SimulationId; integer; The unique identifier of the calculation simulation.
  • This parameter restricts the number of resources returned inside the resource collection. If the limit exceeds the resource count then the framework will only return the available resources.
  • This parameter can be used to show only certain links while accessing a singular resource or a resource collection. The parameter value format is a comma-separated list of : <link_relation>

    Example:
    self,canonical
  • Used to define the starting position of the resource collection. If offset exceeds the resource count then no resources are returned. Default value is 0.
  • The resource item payload will be filtered in order to contain only data (no links section, for example).
  • This parameter orders a resource collection based on the specified fields. The parameter value is a comma-separated string of attribute names, each optionally followed by a colon and "asc" or "desc". Specify "asc" for ascending and "desc" for descending. The default value is "asc". For example, ?orderBy=field1:asc,field2:desc
  • This query parameter defines the where clause. The resource collection will be queried using the provided expressions. The value of this query parameter is one or more expressions. Example: ?q=Deptno>=10 and <= 30;Loc!=NY

    Format: ?q=expression1;expression2

    You can use these queryable attributes to filter this collection resource using the q query parameter:
    • CalculationCurrency; string; The code indicating the processing currency of the earning amounts. The processing currency is selected as either the operating currency or the participant home currency for the business unit. Review the processing currency parameter using the Setup and Maintenance work area, Manage Parameters task.
    • CommissionValue; number; The incentive rate table amount, or the percentage, that was used to calculate the earning amount.
    • CompensationPlanId; integer; The unique identifier of the compensation plan for which the earnings are calculated.
    • CompensationPlanName; string; The name of the compensation plan for which the earnings are calculated.
    • ConversionRate; number; The exchange rate to convert the processing currency into operating currency.
    • CreatedBy; string; The user who created the simulation earning.
    • CreatedDuring; string; The phase during which this record was created. The possible values are Rollup, Eligibility, Calculation.
    • CreationDate; string; The date and time when the simulation earning was created.
    • CreditAmount; number; The credit amount expressed in processing currency.
    • CreditedParticipantId; integer; The unique identifier of the participant.
    • EarningAmount; number; The amount earned, expressed in processing currency.
    • EarningId; integer; The unique identifier of an earning in a calculation simulation.
    • EarningType; string; The type of earning type for the plan component. This value is used to classify earnings into monetary and nonmonetary categories.
    • EarningTypeId; integer; The unique identifier of the type of earning.
    • EligibleCatId; integer; The unique identifier of the credit category.
    • ErrorReason; string; The reason explaining why the earning is in error status.
    • FormulaEcatId; integer; The unique identifier of the credit category of a plan component.
    • FormulaId; integer; The unique identifier of the incentive formula.
    • FormulaWeight; number; The percentage of influence a plan component has on the compensation plan, also called target incentive percent.
    • HomeCurrencyCode; string; The code indicating the participant home currency that is in effect as of the source event date of the payment transaction. Review the effective participant attributes using the Participant Snapshot work area, Manage Participant Detail page.
    • HomeCurrencyConversionRate; number; The exchange rate to convert the processing currency into home currency.
    • HomeEarningAmount; number; The amount earned, expressed in participant home currency.
    • InputAchieved; number; The amount passed to the rate table to calculate the earnings based on the input expression defined in the plan component.
    • LastUpdatedBy; string; The user who last updated the simulation earning.
    • ObjectStatus; string; The current status of the earnings record, such as calculated, calculation error, eligible, or reversed. Review the available lookup codes for the lookup type CN_TP_EARNING_OBJECT_STATUS using the Setup and Maintenance, Manage Incentive Compensation Lookups task.
    • ObjectStatusMeaning; string; The display label for the process status lookup code.
    • OperatingEarningAmount; number; The amount earned, expressed in business unit operating currency.
    • OutputAchieved; number; The amount calculated by the earnings expression of an incentive formula.
    • ParticipantId; integer; The unique identifier of the incentive compensation participant who received direct credit for the source transaction.
    • ParticipantName; string; The name of the incentive compensation credit receiver.
    • PayPeriodId; integer; The unique identifier of the pay period. The period number represents the calendar period the pay sheet and payment batch are for. The period numbers are generated when you define your incentive compensation calendar using the Setup and Maintenance work area, Manage Calendars task. For example, the period number 2018001 represents the first period in the year 2018.
    • PlanComponentId; integer; The unique identifier of the plan component for which the earnings are calculated.
    • PlanComponentName; string; The name of the plan component for which the earnings are calculated.
    • PostingStatus; string; The status indicating whether the earning was included in the payment process. If true then the earning was included in the payment. Possible values include false and true.
    • ProcessCode; string; The code indicating the process of the source transaction, such as to override classification, crediting, and rollup processing.
    • SimulationDeleteFlag; boolean; Indicates whether an earning is deleted during calculation simulation processing.
    • SimulationId; integer; The unique identifier of the simulation to which the simulation earning belongs.
    • SimulationResultType; string; Indicates whether a measure result comes from the simulation execution or from the existing calculated measure result.
    • SourceEventDate; string; The date when the earning event occurred. The event date is either the source transaction event date or the calculation grouping event date which resulted in the incentive earning.
    • SourceEventPeriodId; integer; The unique identifier of the calendar period when the transaction event date falls.
    • SourceOrgId; integer; The unique identifier of the source business unit of the transaction.
    • SourceTrxNumber; string; The transaction number which resulted in the incentive earnings.
    • SplitPct; number; The percentage number applied against the transaction amount to calculate the credit amount.
    • SrpAlternatePayeeId; integer; The unique identifier of the alternate person who is eligible to receive payment for this earnings.
    • SrpCompensationPlanId; integer; The unique identifier of the assignment of the compensation plan to the participant.
    • TierSplits; integer; The number of rate tiers used to calculate the earning rate.
    • TransactionAmount; number; The transaction amount expressed in processing currency.
    • TransactionId; integer; The unique identifier of the transaction.
    • TransactionType; string; The type of the transaction. This value indicates the source of the transaction, such as order, invoice, or credit memo. Review the available lookup codes for the lookup type CN_TP_TRANSACTION_TYPE using the Setup and Maintenance, Manage Incentive Compensation Lookups task.
    • TransactionTypeMeaning; string; The display label for the Transaction Type lookup code.
  • The resource collection representation will include the "estimated row count" when "?totalResults=true", otherwise the count is not included. The default value is "false".
Header Parameters
  • If the REST API supports runtime customizations, the shape of the service may change during runtime. The REST client may isolate itself from these changes or choose to interact with the latest version of the API by specifying this header. For example: Metadata-Context:sandbox="TrackEmployeeFeature".
  • The protocol version between a REST client and service. If the client does not specify this header in the request the server will pick a default version for the API.

There's no request body for this operation.

Back to Top

Response

Supported Media Types

Default Response

The following table describes the default response for this task.
Headers
  • If the REST API supports runtime customizations, the shape of the service may change during runtime. The REST client may isolate itself from these changes or choose to interact with the latest version of the API by specifying this header. For example: Metadata-Context:sandbox="TrackEmployeeFeature".
  • The protocol version between a REST client and service. If the client does not specify this header in the request the server will pick a default version for the API.
Body ()
Root Schema : incentiveCompensationCalculationSimulations-Earnings
Type: object
Show Source
Nested Schema : Items
Type: array
Title: Items
The items in the collection.
Show Source
Nested Schema : incentiveCompensationCalculationSimulations-Earnings-item-response
Type: object
Show Source
  • Read Only: true
    Maximum Length: 15
    The code indicating the processing currency of the earning amounts. The processing currency is selected as either the operating currency or the participant home currency for the business unit. Review the processing currency parameter using the Setup and Maintenance work area, Manage Parameters task.
  • Read Only: true
    The incentive rate table amount, or the percentage, that was used to calculate the earning amount.
  • Read Only: true
    The unique identifier of the compensation plan for which the earnings are calculated.
  • Title: Compensation Plan
    Read Only: true
    Maximum Length: 80
    The name of the compensation plan for which the earnings are calculated.
  • Read Only: true
    The exchange rate to convert the processing currency into operating currency.
  • Read Only: true
    Maximum Length: 64
    The user who created the simulation earning.
  • Read Only: true
    Maximum Length: 30
    The phase during which this record was created. The possible values are Rollup, Eligibility, Calculation.
  • Read Only: true
    The date and time when the simulation earning was created.
  • Read Only: true
    The credit amount expressed in processing currency.
  • Read Only: true
    The unique identifier of the participant.
  • Read Only: true
    The amount earned, expressed in processing currency.
  • Read Only: true
    The unique identifier of an earning in a calculation simulation.
  • Read Only: true
    Maximum Length: 30
    The type of earning type for the plan component. This value is used to classify earnings into monetary and nonmonetary categories.
  • Read Only: true
    The unique identifier of the type of earning.
  • Read Only: true
    The unique identifier of the credit category.
  • Read Only: true
    Maximum Length: 150
    The reason explaining why the earning is in error status.
  • Read Only: true
    The unique identifier of the credit category of a plan component.
  • Read Only: true
    The unique identifier of the incentive formula.
  • Read Only: true
    The percentage of influence a plan component has on the compensation plan, also called target incentive percent.
  • Read Only: true
    Maximum Length: 15
    The code indicating the participant home currency that is in effect as of the source event date of the payment transaction. Review the effective participant attributes using the Participant Snapshot work area, Manage Participant Detail page.
  • Read Only: true
    The exchange rate to convert the processing currency into home currency.
  • Read Only: true
    The amount earned, expressed in participant home currency.
  • Read Only: true
    The amount passed to the rate table to calculate the earnings based on the input expression defined in the plan component.
  • Read Only: true
    Maximum Length: 64
    The user who last updated the simulation earning.
  • Links
  • Read Only: true
    Maximum Length: 30
    The current status of the earnings record, such as calculated, calculation error, eligible, or reversed. Review the available lookup codes for the lookup type CN_TP_EARNING_OBJECT_STATUS using the Setup and Maintenance, Manage Incentive Compensation Lookups task.
  • Read Only: true
    Maximum Length: 80
    The display label for the process status lookup code.
  • Read Only: true
    The amount earned, expressed in business unit operating currency.
  • Read Only: true
    The amount calculated by the earnings expression of an incentive formula.
  • Read Only: true
    The unique identifier of the incentive compensation participant who received direct credit for the source transaction.
  • Title: Participant Name
    Read Only: true
    Maximum Length: 360
    The name of the incentive compensation credit receiver.
  • Read Only: true
    The unique identifier of the pay period. The period number represents the calendar period the pay sheet and payment batch are for. The period numbers are generated when you define your incentive compensation calendar using the Setup and Maintenance work area, Manage Calendars task. For example, the period number 2018001 represents the first period in the year 2018.
  • Read Only: true
    The unique identifier of the plan component for which the earnings are calculated.
  • Title: Plan Component
    Read Only: true
    Maximum Length: 80
    The name of the plan component for which the earnings are calculated.
  • Read Only: true
    Maximum Length: 1
    The status indicating whether the earning was included in the payment process. If true then the earning was included in the payment. Possible values include false and true.
  • Read Only: true
    Maximum Length: 30
    The code indicating the process of the source transaction, such as to override classification, crediting, and rollup processing.
  • Read Only: true
    Maximum Length: 1
    Default Value: false
    Indicates whether an earning is deleted during calculation simulation processing.
  • Read Only: true
    The unique identifier of the simulation to which the simulation earning belongs.
  • Read Only: true
    Maximum Length: 30
    Indicates whether a measure result comes from the simulation execution or from the existing calculated measure result.
  • Read Only: true
    The date when the earning event occurred. The event date is either the source transaction event date or the calculation grouping event date which resulted in the incentive earning.
  • Read Only: true
    The unique identifier of the calendar period when the transaction event date falls.
  • Read Only: true
    The unique identifier of the source business unit of the transaction.
  • Read Only: true
    Maximum Length: 30
    The transaction number which resulted in the incentive earnings.
  • Read Only: true
    The percentage number applied against the transaction amount to calculate the credit amount.
  • Read Only: true
    The unique identifier of the alternate person who is eligible to receive payment for this earnings.
  • Read Only: true
    The unique identifier of the assignment of the compensation plan to the participant.
  • Read Only: true
    The number of rate tiers used to calculate the earning rate.
  • Read Only: true
    The transaction amount expressed in processing currency.
  • Read Only: true
    The unique identifier of the transaction.
  • Read Only: true
    Maximum Length: 30
    The type of the transaction. This value indicates the source of the transaction, such as order, invoice, or credit memo. Review the available lookup codes for the lookup type CN_TP_TRANSACTION_TYPE using the Setup and Maintenance, Manage Incentive Compensation Lookups task.
  • Read Only: true
    Maximum Length: 80
    The display label for the Transaction Type lookup code.
Back to Top