Create an accounting rule line
post
/fscmRestApi/resources/11.13.18.05/publicSectorAccountingRuleLines
Request
Supported Media Types
- application/vnd.oracle.adf.resourceitem+json
- application/json
The following table describes the body parameters in the request for this task.
Root Schema : publicSectorAccountingRuleLines-item
Type:
Show Source
object-
AccountId(optional):
string
Title:
AccountMaximum Length:30The type of economic activity for an accounting transaction line. Value is mandatory and is defined by the user during a create action. -
AccountingRuleId(optional):
string
Title:
Accounting RuleMaximum Length:50The unique identifier of the accounting rule. Describes how accounting journal entries are created for a specific type of transaction. Value is mandatory and is defined by the user during a create action. -
AgencyId(optional):
integer(int32)
Title:
Agency IDThe unique identifier of the agency associated with the accounting rule line. Value is mandatory and is set programmatically based on the user's login. -
CreatedBy(optional):
string
Title:
Created ByMaximum Length:64The user who created the accounting rule line. -
CreationDate(optional):
string(date-time)
Title:
Creation DateThe date and time that the accounting rule line was created. -
DebitCredit(optional):
string
Title:
Debit or CreditMaximum Length:1Identifies a line as a debit or a credit distribution. The value is defined by lookup type ORA_PSC_CC_DR_CR. -
DepartmentId(optional):
string
Title:
DepartmentMaximum Length:30The financial entity or management unit that is responsible for an accounting transaction line. Value is optional and is defined by the user during a create action. -
DivisionId(optional):
string
Title:
DivisionMaximum Length:30The sub-grouping within a department for an accounting transaction line. Value is optional and is defined by the user during a create action. -
EffectiveEndDate(optional):
string(date)
Title:
End DateThe last day that the rule may be used. -
EffectiveStartDate(optional):
string(date)
Title:
Start DateThe first day that the rule may be used. -
FunctionId(optional):
string
Title:
FunctionMaximum Length:30The public service for which an agency is responsible that is associated with an accounting transaction line. Value is optional and is defined by the user during a create action. -
FundId(optional):
string
Title:
FundMaximum Length:30The source or target of funding for an accounting transaction line. Value is mandatory and is defined by the user during a create action. -
LastUpdateDate(optional):
string(date-time)
Title:
Last Updated DateThe date and time that the accounting rule line was last updated. -
LastUpdatedBy(optional):
string
Title:
Last Updated ByMaximum Length:64The user who last updated the accounting rule line. -
LineNumber(optional):
integer(int32)
Title:
Line NumberThe unique identifier of an accounting rule line. Identifies a debit or credit distribution line associated with a rule. -
links(optional):
array Items
Title:
ItemsLink Relations -
Meaning(optional):
string
Maximum Length:
80The meaning for a debit or credit value. -
Percentage(optional):
number
Title:
PercentThe proportion of the transaction amount allocated to the distribution line. -
ProgramId(optional):
string
Title:
ProgramMaximum Length:30A set of activities performed by an agency to accomplish a specific goal that is associated with an accounting transaction line. Value is optional and is defined by the user during a create action. -
RoundAdjustment(optional):
string
Title:
Rounding AdjustmentMaximum Length:1Indicates whether the distribution line is used for any rounding adjustment required. Valid values are Y (line can contain a rounding adjustment) and N (line will not contain a rounding adjustment). Default value is N.
Nested Schema : link
Type:
Show Source
object-
href(optional):
string
Title:
hyperlink referenceThe URI to the related resource. -
rel(optional):
string
Title:
relationThe name of the relation to the resource instance. Example: self.
Response
Supported Media Types
- application/vnd.oracle.adf.resourceitem+json
- application/json
Default Response
The following table describes the default response for this task.
Root Schema : publicSectorAccountingRuleLines-item
Type:
Show Source
object-
AccountId(optional):
string
Title:
AccountMaximum Length:30The type of economic activity for an accounting transaction line. Value is mandatory and is defined by the user during a create action. -
AccountingRuleId(optional):
string
Title:
Accounting RuleMaximum Length:50The unique identifier of the accounting rule. Describes how accounting journal entries are created for a specific type of transaction. Value is mandatory and is defined by the user during a create action. -
AgencyId(optional):
integer(int32)
Title:
Agency IDThe unique identifier of the agency associated with the accounting rule line. Value is mandatory and is set programmatically based on the user's login. -
CreatedBy(optional):
string
Title:
Created ByMaximum Length:64The user who created the accounting rule line. -
CreationDate(optional):
string(date-time)
Title:
Creation DateThe date and time that the accounting rule line was created. -
DebitCredit(optional):
string
Title:
Debit or CreditMaximum Length:1Identifies a line as a debit or a credit distribution. The value is defined by lookup type ORA_PSC_CC_DR_CR. -
DepartmentId(optional):
string
Title:
DepartmentMaximum Length:30The financial entity or management unit that is responsible for an accounting transaction line. Value is optional and is defined by the user during a create action. -
DivisionId(optional):
string
Title:
DivisionMaximum Length:30The sub-grouping within a department for an accounting transaction line. Value is optional and is defined by the user during a create action. -
EffectiveEndDate(optional):
string(date)
Title:
End DateThe last day that the rule may be used. -
EffectiveStartDate(optional):
string(date)
Title:
Start DateThe first day that the rule may be used. -
FunctionId(optional):
string
Title:
FunctionMaximum Length:30The public service for which an agency is responsible that is associated with an accounting transaction line. Value is optional and is defined by the user during a create action. -
FundId(optional):
string
Title:
FundMaximum Length:30The source or target of funding for an accounting transaction line. Value is mandatory and is defined by the user during a create action. -
LastUpdateDate(optional):
string(date-time)
Title:
Last Updated DateThe date and time that the accounting rule line was last updated. -
LastUpdatedBy(optional):
string
Title:
Last Updated ByMaximum Length:64The user who last updated the accounting rule line. -
LineNumber(optional):
integer(int32)
Title:
Line NumberThe unique identifier of an accounting rule line. Identifies a debit or credit distribution line associated with a rule. -
links(optional):
array Items
Title:
ItemsLink Relations -
Meaning(optional):
string
Maximum Length:
80The meaning for a debit or credit value. -
Percentage(optional):
number
Title:
PercentThe proportion of the transaction amount allocated to the distribution line. -
ProgramId(optional):
string
Title:
ProgramMaximum Length:30A set of activities performed by an agency to accomplish a specific goal that is associated with an accounting transaction line. Value is optional and is defined by the user during a create action. -
RoundAdjustment(optional):
string
Title:
Rounding AdjustmentMaximum Length:1Indicates whether the distribution line is used for any rounding adjustment required. Valid values are Y (line can contain a rounding adjustment) and N (line will not contain a rounding adjustment). Default value is N.
Nested Schema : link
Type:
Show Source
object-
href(optional):
string
Title:
hyperlink referenceThe URI to the related resource. -
rel(optional):
string
Title:
relationThe name of the relation to the resource instance. Example: self.