OSID Logo
OSID Specifications
financials posting package
Version 3.0.0
Release Candidate Preview
Interfaceosid.financials.posting.Post
Implementsosid.OsidObject
osid.Aggregateable
Description

A Post is a set of PostEntries representing a complete accounting transaction.

MethodgetFiscalPeriodId
Description

Gets the Id of the FiscalPeriod.

Returnosid.id.Idthe FiscalPeriod Id
CompliancemandatoryThis method must be implemented.
MethodgetFiscalPeriod
Description

Gets the FiscalPeriod.

Returnosid.financials.FiscalPeriodthe fiscal period
ErrorsOPERATION_FAILEDunable to complete request
CompliancemandatoryThis method must be implemented.
MethodisPosted
Description

Tests if this has been posted.

Returnboolean true if this has been posted, false if just lying around
CompliancemandatoryThis method is must be implemented.
MethodgetDate
Description

Gets the posting date.

Returnosid.calendaring.DateTimethe posting date
CompliancemandatoryThis method is must be implemented.
MethodgetPostEntryIds
Description

Gets the Ids of the PostEntries.

Returnosid.id.IdListthe PostEntry Ids
CompliancemandatoryThis method must be implemented.
MethodgetPostEntries
Description

Gets the PostEntries.

Returnosid.financials.posting.PostEntryListthe post entries
ErrorsOPERATION_FAILEDunable to complete request
CompliancemandatoryThis method must be implemented.
MethodisCorrection
Description

Tests if this Post is a correction to a previous post.

Returnboolean true if this post is a correction, false otherwise
CompliancemandatoryThis method must be implemented.
MethodgetCorrectedPostId
Description

Gets the Id of the corrected Post.

Returnosid.id.Idthe corrected Post Id
ErrorsILLEGAL_STATE isCorrection() is false
CompliancemandatoryThis method must be implemented.
MethodgetCorrectedPost
Description

Gets the corrected Post.

Returnosid.financials.posting.Postthe corrected post
ErrorsILLEGAL_STATE isCorrection() is false
OPERATION_FAILEDunable to complete request
CompliancemandatoryThis method must be implemented.
MethodgetPostRecord
Description

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

Parametersosid.type.TypepostRecordTypethe type of post record to retrieve
Returnosid.financials.posting.records.PostRecordthe post record
ErrorsNULL_ARGUMENT postRecordType is null
OPERATION_FAILEDunable to complete request
UNSUPPORTED hasRecordType(postRecordType) is false
CompliancemandatoryThis method must be implemented.