Get a simulation credit

get

/fscmRestApi/resources/11.13.18.05/incentiveCompensationCalculationSimulations/{SimulationId}/child/Transactions/{TransactionId}/child/Credits/{CreditId}

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
  • 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
  • The resource item payload will be filtered in order to contain only data (no links section, for example).
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-Transactions-Credits-item-response
Type: object
Show Source
  • Maximum Length: 1000
    The comments explaining why the credit was adjusted.
  • Maximum Length: 30
    The status indicating the adjustment state of the credit. Review the available lookup codes for the lookup type CN_TP_CREDIT_ADJ_STATUS using the Setup and Maintenance, Manage Incentive Compensation Lookups task.
  • The exchange rate to convert from source currency to processing currency.
  • Maximum Length: 15
    The code indicating the processing currency for the credit amount. 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
    Maximum Length: 1
    Indicates if the credit is new or modified.
  • The unique identifier of the classification rule used to assign the credit category, to the credit.
  • Maximum Length: 30
    The lookup code that indicates the reason for a collection error. Review the available lookup codes for the lookup type CN_TP_CREDIT_COLL_STATUS using the Setup and Maintenance, Manage Incentive Compensation Lookups task.
  • Read Only: true
    Maximum Length: 64
    The user who created the record.
  • Read Only: true
    Maximum Length: 30
    Default Value: SIMULATION
    The lookup code indicating when this credit record was created. A list of valid values is stored in the lookup CN_TP_CREDIT_CREATED_DURING. Review the available lookup codes using the Setup and Maintenance, Manage Incentive Compensation Lookups task.
  • Read Only: true
    The date when the record was created.
  • The credit amount in processing currency.
  • The unique identifier of the credit category that is used when overriding the classification process. The credit category is a user-defined business category used to classify a credit for compensation purposes.
  • The date when the credit receiver should receive the credit. The date is used to determine the credit receivers when processing the credit rules against transactions.
  • The unique identifier of the participant who owns the credit.
  • Read Only: true
    The unique identifier of the credit.
  • The unique identifier of the credit rule used to create the credit.
  • Maximum Length: 30
    Default Value: DIRECT
    Indicates the nature of the credit such as Direct, Indirect, or Summarized.
  • The unique identifier of the participant who is directly involved in the closure of the transaction.
  • The unique identifier of the credit rule used to create the direct credit that corresponds to this credit.
  • Read Only: true
    Maximum Length: 30
    The code indicating the reason the credit is in error status. Review the available lookup codes for the lookup type ORA_CN_PROCESS_ERR_REASON LOOKUP_TYPE using the Setup and Maintenance, Manage Incentive Compensation Lookups task.
  • Read Only: true
    Maximum Length: 80
    The display label explaining why the credit is in error status.
  • Read Only: true
    The date when the incentive event occurs. The event date is used to determine the effective currency conversion rate when the participant's home currency is used as the processing currency.
  • Maximum Length: 1
    Indicates whether the application must exclude the transaction from further processing.
  • The exchange rate to convert from processing currency to home currency.
  • The transaction amount in participant's home currency.
  • Maximum Length: 15
    The code indicating the participant's home currency.
  • Read Only: true
    The date when the record was last updated.
  • Read Only: true
    Maximum Length: 64
    The user who last updated the record.
  • Read Only: true
    Maximum Length: 32
    The login of the user who last updated the record.
  • Links
  • Maximum Length: 30
    The status of the credit, such as Credited, Obsolete, or Rolled up. Review the available lookup codes for the lookup type CN_TP_CREDIT_OBJECT_STATUS using the Setup and Maintenance, Manage Incentive Compensation Lookups task.
  • The exchange rate to convert from source currency to operating currency.
  • The credit amount in business unit operating currency.
  • Title: Operating Currency
    Read Only: true
    Maximum Length: 10
    The code indicating the functional currency of the business unit.
  • Read Only: true
    Maximum Length: 30
    Default Value: CNNEC
    The five letter code indicating the combination of Override Classification, Preserve Credits, Do Not Roll Up, and Do Not Calculate values for the transaction.
  • Read Only: true
    Maximum Length: 30
    The code indicating the reason for adjusting a credit. You can view the CN_TP_ADJUSTMENT_REASON lookup from the Setup and Maintenance, Manage Incentive Compensation Lookups task.
  • Maximum Length: 30
    The type of the credit, such as revenue or non-revenue. Review the available lookup codes for the lookup type CN_RS_REVENUE_TYPE using the Setup and Maintenance, Manage Incentive Compensation Lookups task.
  • The unique identifier of the role assigned to the credit receiver.
  • The date used to determine the roll up credit receivers when processing the roll up rules against transactions.
  • The level of the rollup rule in the rollup hierarchy. This value is applicable in case of rollup credits.
  • Maximum Length: 1
    Default Value: false
    Indicates whether a credit is deleted during calculation simulation processing.
  • The identifier of the simulation to which this simulation credit belongs.
  • The unique identifier of the source transaction business unit.
  • The credit amount in source currency of the transaction.
  • The unique identifier of the source credit or the summarized credit record from which the rollup credit is generated.
  • Maximum Length: 15
    The currency code that represents the currency of the monetary transaction amount in the source application.
  • The transaction amount in source currency of the transaction.
  • Default Value: 100
    The percent of the transaction amount that the credit receiver received.
  • The unique identifier of the summary credit to which the credit is associated.
  • The transaction amount in processing currency.
  • Read Only: true
    The unique identifier of the transaction.
  • Read Only: true
    Maximum Length: 30
    The alternate key identifier of the transaction that users can recognize and search with, for example, an invoice number or order number.
  • The quantity for the transaction line item.
  • Read Only: true
    Maximum Length: 30
    The type of the transaction indicating 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.
Back to Top