Create a manual adjustment

post

/fscmRestApi/resources/11.13.18.05/paymentTransactions

Request

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
  • Title: Comment
    Maximum Length: 1000
    Commentary entered when adjusting the payment transaction amount.
  • Title: Credit Receiver
    The unique identifier of the incentive compensation participant who received credit for the source transaction. Review the participant identifier for a participant using the Participant Snapshot work area, Select Participant page.
  • Title: Payment Hold
    Maximum Length: 1
    Default Value: false
    Indicates whether to hold a payment transaction until the hold is explicitly released. If the value is Y, then the payment transaction is on hold. The default value is Y.
  • Title: Home Currency
    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.
  • Title: Payment Type
    Maximum Length: 30
    Default Value: MANUAL_PAY_ADJ
    The code that represents the categorization of the payment transaction types, such as bonus, payment plan adjustments, and manual adjustments. Review the available codes for lookup CN_PAYMENT_ADJUSTMENT_TYPE using the Setup and Maintenance, Manage Incentive Compensation Lookups task.
  • Title: Reason
    Maximum Length: 30
    The code that represents the reason for the paysheet manual adjustment. Review the available codes for lookup ORA_CN_PAYSHEET_MANUAL_ADJ using the Setup and Maintenance, Manage Incentive Compensation Lookups task.
  • Title: Business Unit
    The unique identifier of the business unit to which the payment transaction belongs. Review the business unit ID for a business unit using the Setup and Maintenance, Define Business Units task. If the Business Unit ID column is not displayed, then click the View menu to add the Business Unit ID column.
  • The unique identifier of the payment transaction.
  • Title: Home Payment Amount
    The payment transaction amount in the participant home currency.
  • Title: Processing Payment Amount
    The payment transaction amount in the processing currency. 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.
  • Title: Period
    The period number representing the period of the payment transaction earning event date or the payment batch period for the manual paysheet adjustment. 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 2015001 represents the first period in the year 2015.
  • The unique identifier of the payment batch to which this payment transaction belongs.
  • The unique identifier of the participant incentive compensation plan component used to calculate the participant earning amount.
  • Title: Recoverable
    Maximum Length: 1
    Default Value: true
    Indicates whether the payment adjustment is recoverable in the future. If the value is Y, then the payment adjustment is recoverable. The default value is Y.
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 : paymentTransactions-item-response
Type: object
Show Source
  • Title: Comment
    Maximum Length: 1000
    Commentary entered when adjusting the payment transaction amount.
  • Title: Earning Amount
    Read Only: true
    The calculated earning amount in the processing currency.
  • Title: Earning Rate
    Read Only: true
    The incentive rate table amount or rate that was used to calculate the earning amount.
  • Title: Created By
    Read Only: true
    Maximum Length: 64
    The user who created the payment transaction record.
  • Title: Creation Date
    Read Only: true
    The date when the payment transaction was created.
  • Title: Credit Receiver
    The unique identifier of the incentive compensation participant who received credit for the source transaction. Review the participant identifier for a participant using the Participant Snapshot work area, Select Participant page.
  • Title: Credit Factor
    Read Only: true
    The uplift percentage for the increase in credit amounts over a period of time that was used in the earning calculation expression.
  • Read Only: true
    Default Value: -1000
    The unique identifier of the earning type. The earning type is selected for the plan component and is used to classify earnings into monetary and nonmonetary categories. You can only include the monetary earning type, provided by Oracle, in payment processing.
  • Title: Earning Factor
    Read Only: true
    The uplift percentage for the increase in earnings over a period of time that was used in the earning calculation expression.
  • Read Only: true
    The unique identifier of the earning history record. The changes to the earning record are stored in the earning history table.
  • Title: Earnings
    Read Only: true
    The unique identifier of the earning record. An earning is the calculated incentive amount based on the participant plan component and source transaction credit.
  • Title: Earning Type
    Read Only: true
    Maximum Length: 30
    The type of the earning. The earning type is selected for the plan component and is used to classify earnings into monetary and nonmonetary categories. Only earnings with the monetary earning type are included in payment processing.
  • Read Only: true
    The unique identifier of the credit category assigned the incentive credit. The credit category was used to classify the credit and then match the credit to the participant plan component for performance measurement and earning calculation.
  • Title: Payment Hold
    Maximum Length: 1
    Default Value: false
    Indicates whether to hold a payment transaction until the hold is explicitly released. If the value is Y, then the payment transaction is on hold. The default value is Y.
  • Title: Home Currency
    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.
  • Title: Payment Type
    Maximum Length: 30
    Default Value: MANUAL_PAY_ADJ
    The code that represents the categorization of the payment transaction types, such as bonus, payment plan adjustments, and manual adjustments. Review the available codes for lookup CN_PAYMENT_ADJUSTMENT_TYPE using the Setup and Maintenance, Manage Incentive Compensation Lookups task.
  • Title: Last Update Date
    Read Only: true
    The date when the payment transaction was last updated.
  • Title: Last Updated By
    Read Only: true
    Maximum Length: 64
    The user who last updated the payment transaction record.
  • Title: Last Updated By
    Read Only: true
    Maximum Length: 32
    The session login associated to the user who last updated the payment transaction record.
  • Links
  • Title: Reason
    Maximum Length: 30
    The code that represents the reason for the paysheet manual adjustment. Review the available codes for lookup ORA_CN_PAYSHEET_MANUAL_ADJ using the Setup and Maintenance, Manage Incentive Compensation Lookups task.
  • Title: Status
    Read Only: true
    Maximum Length: 30
    The status of the payment transaction. The valid values are UNPAID and PAID.
  • Title: Business Unit
    The unique identifier of the business unit to which the payment transaction belongs. Review the business unit ID for a business unit using the Setup and Maintenance, Define Business Units task. If the Business Unit ID column is not displayed, then click the View menu to add the Business Unit ID column.
  • Title: Participant Identifier
    Read Only: true
    The unique identifier of the incentive compensation participant for whom the payment transaction amount is due or recoverable. Review the participant identifier for a participant using the Participant Snapshot work area, Select Participant page.
  • Title: Participant Name
    Read Only: true
    Maximum Length: 360
    The name of the incentive compensation participant for whom the payment transaction amount is due or recoverable.
  • The unique identifier of the payment transaction.
  • Title: Operating Payment Amount
    Read Only: true
    The payment transaction amount in the operating currency.
  • Title: Home Payment Amount
    The payment transaction amount in the participant home currency.
  • Title: Processing Payment Amount
    The payment transaction amount in the processing currency. 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.
  • Title: Currency
    Read Only: true
    Maximum Length: 20
    The code indicating the processing currency. 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
    Indicates whether certain standard actions are not applicable. You cannot use the DELETE standard action for payment transactions generated by the application.
  • Read Only: true
    Indicates whether certain standard actions are not applicable. You cannot use the UPDATE standard action for payment plan adjustments and recovered adjustments from previous paysheets. Additionally, no updates are allowed when the paysheet status is something other than unpaid.
  • Title: Period
    The period number representing the period of the payment transaction earning event date or the payment batch period for the manual paysheet adjustment. 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 2015001 represents the first period in the year 2015.
  • The unique identifier of the payment batch to which this payment transaction belongs.
  • Title: Payment Batch
    Read Only: true
    Maximum Length: 80
    The name of the payment batch to which the payment transaction belongs.
  • Title: Person Number
    Read Only: true
    Maximum Length: 30
    The generated identifier for the participant person record in Global Human Resources for the participant for whom the payment transaction amount is due or recoverable. Review the participant person number using the Participant Snapshot work area, Select Participant page and the Manage Participant Detail page.
  • The unique identifier of the participant incentive compensation plan component used to calculate the participant earning amount.
  • Title: Worker Number
    Read Only: true
    Maximum Length: 30
    The worker, or employee, number for the participant for whom the payment transaction amount is due or recoverable. Review the worker number using the Participant Snapshot work area, Select Participant page and the Manage Participant Detail page.
  • Title: Recoverable
    Maximum Length: 1
    Default Value: true
    Indicates whether the payment adjustment is recoverable in the future. If the value is Y, then the payment adjustment is recoverable. The default value is Y.
  • Read Only: true
    The unique identifier of the source earning from which this earning originated.
  • Title: Event Date
    Read Only: true
    The date of the earning event. The event date is either the source transaction event date or the calculation grouping event date which resulted in the incentive earning.
  • Title: Transaction Number
    Read Only: true
    Maximum Length: 30
    The transaction number which resulted in the participant incentive earning.
  • Read Only: true
    The unique identifier of the assignment of the compensation plan to the participant.
Back to Top

Examples

The following example shows how to create a payment transaction by submitting a POST request on the REST resource using cURL.

curl -u <username:password> \ -X POST -d @example_request_payload.json https://servername.fa.us2.oraclecloud.com//fscmRestApi/resources/11.13.18.05/paymentTransactions

Example of Request Body

The following example shows the contents of the request body in JSON format.

{
"AdjustComments" :"LN1",
"ManualAdjustmentReasonCode" :"ORA_DISCRETIONARY_DRAW",
"PlanComponentId" :300100003303012,
"PayAmountPayCurrency" :111,
"PayrunId": 300100014485210,
"RecoverableFlag" :"Y"
}

Example of Response Body

The following example shows the contents of the response body in JSON format.

{
    "items": [
        {
            "AdjustComments": null,
            "ParticipantPayId": 6118,
            "CommAmountCalculationCurrency": 3200,
            "CreatedBy": "27AB6EB0D7709DCAB38FB2F43B7785DE",
            "CreationDate": "2012-12-24T07:00:55+00:00",
            "CommissionValue": 4000,
            "CreditTypeId": -1000,
            "CreditedParticipantId": 12001,
            "EarningId": 47041,
            "HoldFlag": null,
            "HomeCurrencyCode": "USD",
            "IncentiveTypeCode": "COMMISSION",
            "LastUpdateDate": "2012-12-24T07:02:57+00:00",
            "LastUpdateLogin": "D19A1F1889A55198E0432720F00AE307",
            "LastUpdatedBy": "OIC_MGR_OPERATIONS",
            "ObjectStatus": "PAID",
            "OrgId": 204,
            "PayAmountFuncCurrency": 3200,
            "PayAmountHomeCurrency": 3200,
            "PayAmountPayCurrency": 3200,
            "PayCurrencyCode": "USD",
            "PayPeriodId": 2009001,
            "PayrunId": 300100014485210,
            "PlanComponentId": 300100014486100,
            "RecoverableFlag": false,
            "SourceEventDate": "2009-01-10",
            "SourceTrxNumber": null,
            "SrpPlanAssignId": 33006,
            "SourceEarningId": null,
            "CreditFactor": null,
            "EarningFactor": null,
            "EarningType": "BASE",
            "EligibleCatId": 300100014485986,
            "EarningHId": 13021,
            "PayrunName": "CN Pay BatchJan09_20121224131422",
            "ParticipantName": "IC_PARTY_20121224131422",
            "ParticipantId": 12001,
            "PersonNumber": null,
            "PrimaryWorkerNumber": null,
            "ManualAdjustmentReasonCode": null,
            "PaymentTransactionUpdateFlag": false,
            "PaymentTransactionDeleteFlag": false,
            "links": [
                {
                    "rel": "self",
                    "href": "https://servername.fa.us2.oraclecloud.com/fscmRestApi/resources/11.13.18.05/paymentTransactions/6118",
                    "name": "paymentTransactions",
                    "kind": "item",
                    "properties": {
                        "changeIndicator": "ACED0005737200136A6176612E7574696C2E41727261794C6973747881D21D99C7619D03000149000473697A65787000000001770400000001737200116A6176612E6C616E672E496E746567657212E2A0A4F781873802000149000576616C7565787200106A6176612E6C616E672E4E756D62657286AC951D0B94E08B02000078700000000178"
                    }
                },
                {
                    "rel": "canonical",
                    "href": "https://servername.fa.us2.oraclecloud.com/fscmRestApi/resources/11.13.18.05/paymentTransactions/6118",
                    "name": "paymentTransactions",
                    "kind": "item"
                },
                {
                    "rel": "lov",
                    "href": "https://servername.fa.us2.oraclecloud.com/fscmRestApi/resources/11.13.18.05/paymentTransactions/6118/lov/ParticipantPlanComponentsVO",
                    "name": "ParticipantPlanComponentsVO",
                    "kind": "collection"
                },
                {
                    "rel": "lov",
                    "href": "https://servername.fa.us2.oraclecloud.com/fscmRestApi/resources/11.13.18.05/paymentTransactions/6118/lov/BusinessUnitPVO",
                    "name": "BusinessUnitPVO",
                    "kind": "collection"
                },
                {
                    "rel": "lov",
                    "href": "https://servername.fa.us2.oraclecloud.com/fscmRestApi/resources/11.13.18.05/paymentTransactions/6118/lov/CnLookupManualAdjustmentReasonCodeVO",
                    "name": "CnLookupManualAdjustmentReasonCodeVO",
                    "kind": "collection"
                }
            ]
        },
        {
            "AdjustComments": null,
            "ParticipantPayId": 6119,
            "CommAmountCalculationCurrency": 3200,
            "CreatedBy": "27AB6EB0D7709DCAB38FB2F43B7785DE",
            "CreationDate": "2012-12-24T07:00:55+00:00",
            "CommissionValue": 4000,
            "CreditTypeId": -1000,
            "CreditedParticipantId": 12001,
            "EarningId": 47042,
            "HoldFlag": null,
            "HomeCurrencyCode": "USD",
            "IncentiveTypeCode": "COMMISSION",
            "LastUpdateDate": "2012-12-24T07:02:57+00:00",
            "LastUpdateLogin": "D19A1F1889A55198E0432720F00AE307",
            "LastUpdatedBy": "OIC_MGR_OPERATIONS",
            "ObjectStatus": "PAID",
            "OrgId": 204,
            "PayAmountFuncCurrency": 3200,
            "PayAmountHomeCurrency": 3200,
            "PayAmountPayCurrency": 3200,
            "PayCurrencyCode": "USD",
            "PayPeriodId": 2009001,
            "PayrunId": 300100014485210,
            "PlanComponentId": 300100014486100,
            "RecoverableFlag": false,
            "SourceEventDate": "2009-01-10",
            "SourceTrxNumber": null,
            "SrpPlanAssignId": 33006,
            "SourceEarningId": null,
            "CreditFactor": null,
            "EarningFactor": null,
            "EarningType": "BASE",
            "EligibleCatId": 300100014485986,
            "EarningHId": 13016,
            "PayrunName": "CN Pay BatchJan09_20121224131422",
            "ParticipantName": "IC_PARTY_20121224131422",
            "ParticipantId": 12001,
            "PersonNumber": null,
            "PrimaryWorkerNumber": null,
            "ManualAdjustmentReasonCode": null,
            "PaymentTransactionUpdateFlag": false,
            "PaymentTransactionDeleteFlag": false,
            "links": [
...
}
Back to Top