ADempiere
ADempiere.netCommunity ChatWiki
develop
develop
  • ADempiere Documentation
  • About this Documentation
    • Copyright
    • Conventions Used
    • Contributors
    • Version Control
    • Getting Involved in the ADempiere Project
    • GNU Free Documentation License
  • Glossary
  • User Guide
    • Getting Started
      • About the Application
      • Launching the Application
      • Logging In
      • Finding Your Way Around the Java Client
        • The Application Menu
        • The Performance Dashboard
        • The Menu (Home) Tab
      • Finding Your Way Around the Web App
        • The Dashboard
      • Opening and Using Windows
        • The Tool Bar
        • Shortcut Keys
      • Entering Data - Fields and Buttons
        • Account Field
        • Assignment Field
        • Binary Data Field
        • Button Field
        • Color Field
        • Date Field
        • Date + Time Field
        • Untitled
        • Number Field
      • Dialogs and Forms
        • Account Dialog
        • Change Log or Record Info
        • Calculator Tool
        • Calendar Tool
        • Payment Dialog
      • Key Concepts
      • Workflow Activities
      • Workflow
      • Windows and Tabs
      • Reports and Processes
    • Garden World Demonstration Client
    • Untitled
    • System Administration
      • General Rules
        • System Rules
        • Security
          • Defining Users and Contacts
          • Roles and Managing Data Access
            • Dashboard Access
            • Role Access Update
        • Server
          • EMail Configuration
      • Managing the Client
        • Configuring the Client Password Reset
      • Managing Organizations
        • Document Status Indicators
      • Data
        • Data Import
    • Partner Relations
    • Revenue Recognition
    • Open Items
      • Dunning
    • Products & Material Management
      • Product Setup
        • Warehouse & Locators
        • Units of Measure
        • Asset Groups
        • Product Categories
        • Product Classifications, Classes and Groups
        • Product Attributes, Sets and Instances
          • Example - Using Product Attributes
        • Defining the Product
          • Product Types
          • Basic Product Setup
          • Product Bill of Materials
            • BOM Components
      • BOM Drop
    • Accounting & Performance Analysis
      • An Overview of Accounting in ADempiere
      • Accounting Setup
      • Calendar, Year and Periods
      • Tax Setup
      • Performance Measurement Setup
    • Assets and Asset Management
    • Manufacturing
      • Engineering Change Management
      • Product Configuration
      • Forecasting
    • Warehouse Management System
  • System Administration
    • Installation
      • System Requirements
      • Install ADempiere easily with Docker
      • Installing ADempiere Manually
        • Database Server Installation & Setup
        • Application Server Installation and Setup
        • Initialize the Database
        • Launch the Application Server
      • Securing Your ADempiere Installation
    • Upgrading and Migration
    • Database Maintenance
      • Database Backup and Restore
    • The Application Dictionary
      • Synchronize Changes with the Database
  • Developer Guide
    • Becoming a Developer
    • Software Development Procedure
    • ADempiere Version Control
    • ADempiere Best Practices
    • Development Environments
      • Creating WebUI Workspace using Eclipse Webtool
      • Customization Environment
Powered by GitBook
On this page
  1. User Guide
  2. System Administration
  3. Managing Organizations

Document Status Indicators

Describes how to configure the document status indicators in the Dashboard Document Tasks panel

PreviousManaging OrganizationsNextData

Last updated 6 years ago

The Web Application dashboard includes a panel showing Document Tasks as shown below.

The information displayed to the User is configured in the Document Status Indicator window in the System Administration > Organizational Rules menu. Access to the Document Tasks panel in the Dashboard also has to be enabled for the User in the Role window, Dashboard Access tab found in the System Administration > General Rules > Security menu.

Configuring Document Status Indicators requires an understanding of the underlying database tables and columns which represent "documents" in ADempiere and SQL queries.

There can be many Document Status Indicator records for an Organization or Client. The selection of which indicators are displayed to a particular User is based on the following:

  • Only Active indicators are shown

  • From the same Client

  • Where the User/Contact field is blank or matches the User

  • AND where the Role field is blank or matches the User's Role.

The sequence that the indicators are shown in is determined by the Sequence field, with lower numbers being shown first.

The Table **field identifies the document of interest and the _SQL Where field selects the relevant document records from the Table**_.

The display in the Document Tasks panel is a count of the documents of interest. The link beside the number is based on the Name field.

The name field is not translated.

The count of the documents and the link to those documents is made using an SQL Where clause that is constructed from the SQL Where field plus a few other constraints:

  • Only documents within the same Client

  • If the Organization field is not All (*), then only documents that match the Organization

  • If the Project field is not blank, then only documents that match that Project

If the User clicks on a status indicator and a Window is specified, the window will be opened and loaded with the selected documents. If the Window field is blank and the Special Form field identifies a form, the form will be opened and loaded with the documents.

If both the Window and Special Form fields are blank, nothing will happen when the User clicks on the link in the Document Status panel.

The Name Font, Name Color, Number Font and Number Color fields are not used.

Example - Unpaid AR Invoices

As an example using the Garden World client, assume that Garden User needs to see unpaid invoices to ensure payment allocations are made and to personally dun (collect) the amount owed. The GardenAdmin user is not interested in this. The Document task panel for the GardenUser should look like the following:

  1. Login as GardenAdmin and the GardenAdmin role.

  2. Open the Document Status Indicator window and create a new record. Set the fields as follows and save the record.:

    1. Client - will default to Garden World

    2. Organization - *

    3. Name - Unpaid Invoices

    4. User - GardenUser

    5. Sequence - 10

    6. Table - C_Invoice

    7. SQL Where - C_Invoice.IsSOTrx='Y' AND C_Invoice.DocStatus='CO' AND C_Invoice.IsPaid='N' AND PaymentTermDueDays(C_Invoice.C_PaymentTerm_ID, C_Invoice.DateInvoiced, getdate()) > 0

    8. Window - Invoice (Customer)

  3. Verify that a Dashboard Content Edit entry exists for the Document tasks. The System Client entry will do.

  4. Open the Role window and find the record for the GardenWorld User role.

    1. In the Dashboard Access tab, add an entry and set the Dashboard Content to Document tasks, if it doesn't already exist. Save the record.

  5. Verify that there are paid and unpaid/due customer invoices in the system. Create some if necessary.

  6. Log in as GardenUser and verify that the Document tasks panel shows the correct number of unpaid invoices. Click on the link and ensure that only unpaid invoices appear in the Invoice (Customer) window when it opens.

  7. Make a full payment to one of the invoices. Return to the dashboard and verify that the Document tasks entry has been updated. (Note that it may take a minute to update. The dashboard refresh happens every 60 seconds.)

  8. Log in as GardenAdmin, verify that the "Unpaid Invoices" item does not appear in the Document tasks panel.

    .

Dashboard Document tasks panel
Document Status Indicator window
GardenUser Dashboard entry for Document tasks showing the Unpaid Invoices entry