Create a simulation transaction

post

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

Request

Path Parameters
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.
  • Contains one of the following values: true or false. If true, the server performs an Upsert operation instead of a Create operation. During an Upsert operation, the server attempts to find an existing resource that matches the payload. If a match is found, the server updates the existing resource instead of creating a new one. If not found or false (default), the server performs a Create operation. Note that the Upsert operation isn't supported for date-effective REST resources.
Supported Media Types
Request Body - application/json ()
Root Schema : schema
Type: object
Show Source
  • Maximum Length: 1000
    The comments explaining the adjustment to a transaction.
  • The date when the sales order was booked in the order management application.
  • Maximum Length: 1
    Indicates whether the transaction is a new transaction or a modified transaction.
  • The unique identifier of the classification rule used to assign the credit category to the transaction.
  • 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.
  • Simulation Credits
    Title: Simulation Credits
    The simulation credits resource to is used to view, create, update, and delete credits of a calculation simulation.
  • The unique identifier of the participant who is directly involved in the closure of the transaction.
  • The percentage of the transaction amount that depicts the net amount to be paid by the buyer.
  • 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 transaction for compensation purposes.
  • Maximum Length: 30
    The code indicating the reason a transaction 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.
  • 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. The date must be within a defined Incentive Compensation calendar period where the period has an Open status and the calendar is defined for the same business unit as the transaction's business unit. If the value does not meet these requirements, the transaction process status is updated to Error.
  • Maximum Length: 1
    Indicates whether the application must exclude the transaction from further processing. The transaction will not be further processed if this flag is set to Y.
  • The date when the invoice for the transaction was generated in the source application.
  • Maximum Length: 30
    The unique identifier of the invoice associated with the transaction.
  • The percentage of the transaction amount that depicts the profit of the sale.
  • Maximum Length: 30
    The lookup code that indicates the current state of the transaction, such as New, Obsolete, or Collection Error. Review the available lookup codes for the lookup type CN_TP_BASETRANS_OBJECT_STATUS using the Setup and Maintenance, Manage Incentive Compensation Lookups task.
  • Maximum Length: 30
    The sales order number in the source application associated with the transaction.
  • Maximum Length: 1
    Indicates whether any of the manually created or adjusted credits for the transaction are not to be modified by the credit process.
  • Maximum Length: 30
    The process code is a five letter code that indicates the combination of Override Classification, Preserve Credits, Do Not Roll Up, and Do Not Calculate values for the transaction. For example, the default value of the process code CCREC indicates that the Override Classification, Preserve Credits, and Do Not Roll Up check boxes are not checked and the normal calculation processing will occur. The first letter determines the Override Classification setting. Valid values are N and C. Enter a code starting with N to check the Override Classification checkbox. You must also provide a credit category to avoid the collection error status. For regular classification processing, enter a code starting with C. The second letter determines the Preserve Credits setting. Valid values are N and C. Enter a code with N as the second letter to check the Preserve Credits checkbox. For regular credit processing, enter C. The third letter determines the Do Not Rollup setting. Valid values are N and R. Enter a code with N as the third letter to check the Do Not Rollup checkbox. To allow rollup credit processing, enter R. The last two letters indicate earnings edibility and calculation. Valid values are EC, EN,NN, and NC. Enter a code with the value of N in either or both of the fourth and fifth position to exclude the credit from calculation. For regular calculation processing, enter EC.
  • Maximum Length: 30
    The code indicating the reason for adjusting a transaction. You can view the CN_TP_ADJUSTMENT_REASON lookup from the Setup and Maintenance, Manage Incentive Compensation Lookups task.
  • The unique identifier of the compensation role assigned to the direct participant.
  • The date used to determine the roll up credit receivers when processing the roll up rules against transactions.
  • Maximum Length: 1
    Default Value: false
    Indicates whether a transaction is deleted during calculation simulation processing.
  • The unique identifier of the simulation to which this simulation transaction belongs.
  • Simulation Transaction Descriptive Flex Fields
    Title: Simulation Transaction Descriptive Flex Fields
    The simulation transaction descriptive flex fields resource is used to view and create additional attributes of the transaction that are used during the simulation.
  • Maximum Length: 15
    The currency code that indicates the currency of the monetary transaction amount in the source application.
  • The unique identifier of the source transaction business unit record.
  • The unique identifier of the transaction in the source application.
  • The unique identifier of the transaction line in the source application.
  • The unique identifier of the transaction credit in the source application.
  • The unique identifier of the territory to which the transaction belongs.
  • Maximum Length: 1000
    The name of the territory to which the transaction belongs.
  • The transaction amount in source currency.
  • The unique identifier of the transaction in a calculation simulation.
  • Maximum Length: 30
    The alternate key identifier of the transaction. The users can use this attribute to search for an invoice number or an order number. If adjusting a transaction, the combination of the business unit, transaction number, and the transaction type uniquely identify an existing transaction.
  • The quantity of the transaction line item.
  • 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.
  • Maximum Length: 10
    The code indicating the unit of measure for the transaction line item. Review the available lookup codes for the lookup type ORA_CN_TP_TRANSACTION_UOM using the Setup and Maintenance, Manage Incentive Compensation Lookups task.
  • The batch number assigned to the transaction. This is applicable if the batch processing in the system parameters page is set to "Use batch information provided at the transaction level".
Nested Schema : Simulation Credits
Type: array
Title: Simulation Credits
The simulation credits resource to is used to view, create, update, and delete credits of a calculation simulation.
Show Source
Nested Schema : Simulation Transaction Descriptive Flex Fields
Type: array
Title: Simulation Transaction Descriptive Flex Fields
The simulation transaction descriptive flex fields resource is used to view and create additional attributes of the transaction that are used during the simulation.
Show Source
Nested Schema : schema
Type: object
Show Source
Nested Schema : schema
Type: object
Show Source
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-item-response
Type: object
Show Source
  • Maximum Length: 1000
    The comments explaining the adjustment to a transaction.
  • Read Only: true
    Maximum Length: 30
    The lookup code that indicates the adjustment state of the transaction. Review the available lookup codes for the lookup type CN_TP_BASETRANS_ADJ_STATUS using the Setup and Maintenance, Manage Incentive Compensation Lookups task.
  • The date when the sales order was booked in the order management application.
  • Maximum Length: 1
    Indicates whether the transaction is a new transaction or a modified transaction.
  • The unique identifier of the classification rule used to assign the credit category to the transaction.
  • Read Only: true
    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_BASETRANS_COLL_STATUS using the Setup and Maintenance, Manage Incentive Compensation Lookups task.
  • Read Only: true
    The exchange rate to convert from source system currency to operating currency.
  • Read Only: true
    Maximum Length: 64
    The user who created the record.
  • Read Only: true
    The date when the record was created.
  • 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.
  • Simulation Credits
    Title: Simulation Credits
    The simulation credits resource to is used to view, create, update, and delete credits of a calculation simulation.
  • The unique identifier of the participant who is directly involved in the closure of the transaction.
  • The percentage of the transaction amount that depicts the net amount to be paid by the buyer.
  • 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 transaction for compensation purposes.
  • Maximum Length: 30
    The code indicating the reason a transaction 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 reason explaining why the credit is in error status.
  • 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. The date must be within a defined Incentive Compensation calendar period where the period has an Open status and the calendar is defined for the same business unit as the transaction's business unit. If the value does not meet these requirements, the transaction process status is updated to Error.
  • Maximum Length: 1
    Indicates whether the application must exclude the transaction from further processing. The transaction will not be further processed if this flag is set to Y.
  • The date when the invoice for the transaction was generated in the source application.
  • Maximum Length: 30
    The unique identifier of the invoice associated with the transaction.
  • 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
  • The percentage of the transaction amount that depicts the profit of the sale.
  • Maximum Length: 30
    The lookup code that indicates the current state of the transaction, such as New, Obsolete, or Collection Error. Review the available lookup codes for the lookup type CN_TP_BASETRANS_OBJECT_STATUS using the Setup and Maintenance, Manage Incentive Compensation Lookups task.
  • Maximum Length: 30
    The sales order number in the source application associated with the transaction.
  • Maximum Length: 1
    Indicates whether any of the manually created or adjusted credits for the transaction are not to be modified by the credit process.
  • Maximum Length: 30
    The process code is a five letter code that indicates the combination of Override Classification, Preserve Credits, Do Not Roll Up, and Do Not Calculate values for the transaction. For example, the default value of the process code CCREC indicates that the Override Classification, Preserve Credits, and Do Not Roll Up check boxes are not checked and the normal calculation processing will occur. The first letter determines the Override Classification setting. Valid values are N and C. Enter a code starting with N to check the Override Classification checkbox. You must also provide a credit category to avoid the collection error status. For regular classification processing, enter a code starting with C. The second letter determines the Preserve Credits setting. Valid values are N and C. Enter a code with N as the second letter to check the Preserve Credits checkbox. For regular credit processing, enter C. The third letter determines the Do Not Rollup setting. Valid values are N and R. Enter a code with N as the third letter to check the Do Not Rollup checkbox. To allow rollup credit processing, enter R. The last two letters indicate earnings edibility and calculation. Valid values are EC, EN,NN, and NC. Enter a code with the value of N in either or both of the fourth and fifth position to exclude the credit from calculation. For regular calculation processing, enter EC.
  • Maximum Length: 30
    The code indicating the reason for adjusting a transaction. You can view the CN_TP_ADJUSTMENT_REASON lookup from the Setup and Maintenance, Manage Incentive Compensation Lookups task.
  • The unique identifier of the compensation role assigned to the direct participant.
  • The date used to determine the roll up credit receivers when processing the roll up rules against transactions.
  • Maximum Length: 1
    Default Value: false
    Indicates whether a transaction is deleted during calculation simulation processing.
  • The unique identifier of the simulation to which this simulation transaction belongs.
  • Simulation Transaction Descriptive Flex Fields
    Title: Simulation Transaction Descriptive Flex Fields
    The simulation transaction descriptive flex fields resource is used to view and create additional attributes of the transaction that are used during the simulation.
  • Maximum Length: 15
    The currency code that indicates the currency of the monetary transaction amount in the source application.
  • Read Only: true
    The unique identifier of the period to which the source event belongs.
  • The unique identifier of the source transaction business unit record.
  • The unique identifier of the transaction in the source application.
  • The unique identifier of the transaction line in the source application.
  • The unique identifier of the transaction credit in the source application.
  • The unique identifier of the territory to which the transaction belongs.
  • Maximum Length: 1000
    The name of the territory to which the transaction belongs.
  • Read Only: true
    The transaction amount in operating currency.
  • The transaction amount in source currency.
  • The unique identifier of the transaction in a calculation simulation.
  • Maximum Length: 30
    The alternate key identifier of the transaction. The users can use this attribute to search for an invoice number or an order number. If adjusting a transaction, the combination of the business unit, transaction number, and the transaction type uniquely identify an existing transaction.
  • The quantity of the transaction line item.
  • 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.
  • Maximum Length: 10
    The code indicating the unit of measure for the transaction line item. Review the available lookup codes for the lookup type ORA_CN_TP_TRANSACTION_UOM using the Setup and Maintenance, Manage Incentive Compensation Lookups task.
  • The batch number assigned to the transaction. This is applicable if the batch processing in the system parameters page is set to "Use batch information provided at the transaction level".
Nested Schema : Simulation Credits
Type: array
Title: Simulation Credits
The simulation credits resource to is used to view, create, update, and delete credits of a calculation simulation.
Show Source
Nested Schema : Simulation Transaction Descriptive Flex Fields
Type: array
Title: Simulation Transaction Descriptive Flex Fields
The simulation transaction descriptive flex fields resource is used to view and create additional attributes of the transaction that are used during the simulation.
Show Source
Nested 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.
Nested Schema : incentiveCompensationCalculationSimulations-Transactions-SimulationTransactionDFF-item-response
Type: object
Show Source
Back to Top