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:
Account
Maximum Length:30
The 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 Rule
Maximum Length:50
The 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 ID
The 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 By
Maximum Length:64
The user who created the accounting rule line. -
CreationDate(optional):
string(date-time)
Title:
Creation Date
The date and time that the accounting rule line was created. -
DebitCredit(optional):
string
Title:
Debit or Credit
Maximum Length:1
Identifies 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:
Department
Maximum Length:30
The 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:
Division
Maximum Length:30
The 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 Date
The last day that the rule may be used. -
EffectiveStartDate(optional):
string(date)
Title:
Start Date
The first day that the rule may be used. -
FunctionId(optional):
string
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 is defined by the user during a create action. -
FundId(optional):
string
Title:
Fund
Maximum Length:30
The 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 Date
The date and time that the accounting rule line was last updated. -
LastUpdatedBy(optional):
string
Title:
Last Updated By
Maximum Length:64
The user who last updated the accounting rule line. -
LineNumber(optional):
integer(int32)
Title:
Line Number
The unique identifier of an accounting rule line. Identifies a debit or credit distribution line associated with a rule. -
links(optional):
array Items
Title:
Items
Link Relations -
Meaning(optional):
string
Maximum Length:
80
The meaning for a debit or credit value. -
Percentage(optional):
number
Title:
Percent
The proportion of the transaction amount allocated to the distribution line. -
ProgramId(optional):
string
Title:
Program
Maximum Length:30
A 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 Adjustment
Maximum Length:1
Indicates 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 reference
The URI to the related resource. -
rel(optional):
string
Title:
relation
The 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:
Account
Maximum Length:30
The 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 Rule
Maximum Length:50
The 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 ID
The 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 By
Maximum Length:64
The user who created the accounting rule line. -
CreationDate(optional):
string(date-time)
Title:
Creation Date
The date and time that the accounting rule line was created. -
DebitCredit(optional):
string
Title:
Debit or Credit
Maximum Length:1
Identifies 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:
Department
Maximum Length:30
The 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:
Division
Maximum Length:30
The 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 Date
The last day that the rule may be used. -
EffectiveStartDate(optional):
string(date)
Title:
Start Date
The first day that the rule may be used. -
FunctionId(optional):
string
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 is defined by the user during a create action. -
FundId(optional):
string
Title:
Fund
Maximum Length:30
The 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 Date
The date and time that the accounting rule line was last updated. -
LastUpdatedBy(optional):
string
Title:
Last Updated By
Maximum Length:64
The user who last updated the accounting rule line. -
LineNumber(optional):
integer(int32)
Title:
Line Number
The unique identifier of an accounting rule line. Identifies a debit or credit distribution line associated with a rule. -
links(optional):
array Items
Title:
Items
Link Relations -
Meaning(optional):
string
Maximum Length:
80
The meaning for a debit or credit value. -
Percentage(optional):
number
Title:
Percent
The proportion of the transaction amount allocated to the distribution line. -
ProgramId(optional):
string
Title:
Program
Maximum Length:30
A 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 Adjustment
Maximum Length:1
Indicates 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 reference
The URI to the related resource. -
rel(optional):
string
Title:
relation
The name of the relation to the resource instance. Example: self.