Update a journal line

patch

/fscmRestApi/resources/11.13.18.05/publicSectorJournalLineDetails/{publicSectorJournalLineDetailsUniqID}

Request

Path Parameters
  • This is the hash key of the attributes which make up the composite key for the Journal Line Details resource and used to uniquely identify an instance of Journal Line Details. The client should not generate the hash key value. Instead, the client should query on the Journal Line Details collection resource in order to navigate to a specific instance of Journal Line Details to get the hash key.
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.
Supported Media Types
Request Body - application/json ()
Root Schema : schema
Type: object
Show Source
  • Title: Account
    Maximum Length: 30
    The type of economic activity for an accounting transaction line. Value is mandatory and comes from the associated accounting rule.
  • Title: Department
    Maximum Length: 30
    The financial entity or management unit that is responsible for an accounting transaction line. Value is optional and comes from the associated accounting rule.
  • Title: Division
    Maximum Length: 30
    The sub-grouping within a department for an accounting transaction line. Value is optional and comes from the associated accounting rule.
  • Title: Function
    Maximum Length: 30
    The public service for which an agency is responsible that is associated with an accounting transaction line. Value is optional and comes from the associated accounting rule.
  • Title: Fund
    Maximum Length: 30
    The source or target of funding for an accounting transaction line. Value is mandatory and comes from the associated accounting rule.
  • Title: Line Status
    Maximum Length: 1
    Current status of the journal line. Mandatory system-maintained value. Accepted values are C (Created), E (Error), and V (Valid).
  • Tracks the number of updates to the journal line. Mandatory system-maintained value.
  • Title: Program
    Maximum Length: 30
    A set of activities performed by an agency to accomplish a specific goal associated with an accounting transaction line. Value is optional and comes from the associated accounting rule.
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 : publicSectorJournalLineDetails-item-response
Type: object
Show Source
  • Entered credit amount stated in the base currency of the ledger. Currently equal to entered credit amount.
  • Entered debit amount stated in the base currency of the ledger. Currently equal to entered debit amount.
  • Title: Account
    Maximum Length: 30
    The type of economic activity for an accounting transaction line. Value is mandatory and comes from the associated accounting rule.
  • The date the associated accounting transaction took place. Normally inherited from the transaction, but can be modified if the transaction date falls in a closed accounting period. Mandatory system-maintained value.
  • Maximum Length: 30
    The unique identifier of the accounting event associated with the journal. Identifies a specific type of transaction for which accounting journals are required. Mandatory system-maintained value.
  • Maximum Length: 50
    The unique identifier of the accounting rule associated with the journal. Describes how accounting journal entries are to be created for a specific type of transaction. Mandatory system-maintained value.
  • The unique identifier of the agency associated with the journal. Value is mandatory and is set programmatically based on the user's login.
  • Maximum Length: 3
    The currency that the accounted debit or accounted credit amount is stated in. Value is mandatory and is inherited from the ledger associated with the journal.
  • Maximum Length: 30
    Unique identifier assigned by the system when the journal was created or updated to facilitate the Generate Accounting process.
  • Title: Currency
    Maximum Length: 3
    The currency that the entered debit or entered credit amount is stated in. Value is mandatory and is inherited from the accounting transaction.
  • Title: Department
    Maximum Length: 30
    The financial entity or management unit that is responsible for an accounting transaction line. Value is optional and comes from the associated accounting rule.
  • Title: Division
    Maximum Length: 30
    The sub-grouping within a department for an accounting transaction line. Value is optional and comes from the associated accounting rule.
  • Title: Credit Amount
    Entered credit amount that is calculated for the line by the system based on the associated accounting rule.
  • Title: Debit Amount
    Entered debit amount that is calculated for the line by the system based on the associated accounting rule.
  • Title: Function
    Maximum Length: 30
    The public service for which an agency is responsible that is associated with an accounting transaction line. Value is optional and comes from the associated accounting rule.
  • Title: Fund
    Maximum Length: 30
    The source or target of funding for an accounting transaction line. Value is mandatory and comes from the associated accounting rule.
  • Title: Journal Line ID
    The unique identifier of the journal line. Mandatory system-generated number.
  • Title: Line Status
    Maximum Length: 1
    Current status of the journal line. Mandatory system-maintained value. Accepted values are C (Created), E (Error), and V (Valid).
  • Currently not used. Set to 1.
  • Maximum Length: 30
    The unique identifier of the ledger associated with the journal. Identifies the accounting treatment of journals associated with the ledger. Mandatory system-maintained value.
  • Title: Line Number
    System-generated line number, starting from 1, within a journal.
  • Links
  • Tracks the number of updates to the journal line. Mandatory system-maintained value.
  • Title: Program
    Maximum Length: 30
    A set of activities performed by an agency to accomplish a specific goal associated with an accounting transaction line. Value is optional and comes from the associated accounting rule.
Back to Top