Package org.adempiere.webui.factory
Interface IPostingService
- All Known Implementing Classes:
PostingService
public interface IPostingService
OSGi service interface for handling the "Posted" column click in an AD Window.
Implement and register this service to make accounting posting/viewing available.
When no implementation is registered the "Posted" column click is a no-op, making the accounting module optional.
Implement and register this service to make accounting posting/viewing available.
When no implementation is registered the "Posted" column click is a no-op, making the accounting module optional.
- See Also:
-
Method Summary
Modifier and TypeMethodDescriptionvoidhandlePostedClick(AbstractADWindowContent windowContent, int windowNo, int tableId, int recordId) Handle a click on the "Posted" column in an AD Window tab.
-
Method Details
-
handlePostedClick
void handlePostedClick(AbstractADWindowContent windowContent, int windowNo, int tableId, int recordId) Handle a click on the "Posted" column in an AD Window tab. Implementations are responsible for:- Validating document status before posting
- Opening the accounting viewer when already posted
- Triggering immediate posting when not yet posted
- Parameters:
windowContent- theAbstractADWindowContentthat owns the tabwindowNo- current window numbertableId- AD_Table_ID of the documentrecordId- Record_ID of the document
-