OSID Logo
OSID Specifications
financials posting package
Version 3.1.0
Interfaceosid.financials.posting.PostEntry
Implementsosid.OsidObject
osid.Subjugateable
Used Byosid.financials.posting.PostEntryAdminSession
osid.financials.posting.PostEntryList
osid.financials.posting.PostEntryLookupSession
Description

A PostEntry is a debit or a credit made to an Account and Activity.

MethodgetPostId
Description

Gets the post Id to which this entry belongs.

Returnosid.id.Id the payer Id
Compliancemandatory This method must be implemented.
MethodgetPost
Description

Gets the post to which this entry belongs.

Returnosid.financials.posting.Post the post
ErrorsOPERATION_FAILED unable to complete request
Compliancemandatory This method must be implemented.
MethodgetAccountId
Description

Gets the G/L account Id to which this entry applies.

Returnosid.id.Id the account Id
Compliancemandatory This method must be implemented.
MethodgetAccount
Description

Gets the G/L account to which this entry applies.

Returnosid.financials.Account the account
ErrorsOPERATION_FAILED unable to complete request
Compliancemandatory This method must be implemented.
MethodgetActivityId
Description

Gets the financial activity Id to which this entry applies.

Returnosid.id.Id the activity Id
Compliancemandatory This method must be implemented.
MethodgetActivity
Description

Gets the financial activity to which this entry applies.

Returnosid.financials.Activity the activity
ErrorsOPERATION_FAILED unable to complete request
Compliancemandatory This method must be implemented.
MethodgetAmount
Description

Gets the amount.

Returnosid.financials.Currency the amount
Compliancemandatory This method must be implemented.
MethodisDebit
Description

Tests if the amount is a debit or a credit.

Returnboolean true if this entry amount is a debit, false if it is a credit
Compliancemandatory This method must be implemented.
MethodgetPostEntryRecord
Description

Gets the post entry record corresponding to the given PostEntry record Type. This method is used to retrieve an object implementing the requested record. The postEntryRecordType may be the Type returned in getRecordTypes() or any of its parents in a Type hierarchy where hasRecordType(postEntryRecordType) is true.

Parametersosid.type.TypepostEntryRecordType the type of post entry record to retrieve
Returnosid.financials.posting.records.PostEntryRecord the post entry record
ErrorsNULL_ARGUMENT postEntryRecordType is null
OPERATION_FAILED unable to complete request
UNSUPPORTED hasRecordType(postEntryRecordType) is false
Compliancemandatory This method must be implemented.