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.
See Also:
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    handlePostedClick(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 - the AbstractADWindowContent that owns the tab
      windowNo - current window number
      tableId - AD_Table_ID of the document
      recordId - Record_ID of the document