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
  • Example - Using Product Attributes
  • Fertilizer in Garden World
  1. User Guide
  2. Products & Material Management
  3. Product Setup
  4. Product Attributes, Sets and Instances

Example - Using Product Attributes

PreviousProduct Attributes, Sets and InstancesNextDefining the Product

Last updated 6 years ago

Example - Using Product Attributes

Note:

This page describes features not yet incorporated. Some of the features described here are part of the changes in ADEMPIERE-72 - fixes to the info windows and lookup/search fields. In version 3.8 and earlier, product attributes and instance attributes can not co-exist.

Fertilizer in Garden World

Attribute setup

Garden World sells lawn fertilizer in 50 and 70kg bags. They want to expand this to a variety of formats (50 or 70 Kg bags, cubic yards), chemical specifications, and base compost (chemical, manure, mushroom, peat). Each product has a lot number and a guarantee date. Each of these things represents an attribute of the fertilizer product. Collectively, they represent an attribute set and, with a specific lot and guarantee date defined, they represent an instance of the attribute set.

The demo database has an attribute set defined for Fertilizer Lot and that needs to be expanded to include the format, chemical specs and base compost. This is done by defining attributes for each of these items as follows:

  • Open the window and create new attributes as follows:

    • New Attribute - Package

      • Name: Pkg

      • Description: Fertilizer Package

      • Attribute Value Type: List

      • Instance Attribute: checked

      • Attribute values

        • New Value - 50Kg

          • Key: 50Kg

          • Name: 50Kg

          • Description: 50 Kilogram bag

        • New Value - 70Kg

          • Key: 70Kg

          • Name: 70Kg

          • Description: 70 Kilogram bag

        • New Value - Cubic Yard

          • Key: CY

          • Name: CY

          • Description: Cubic Yard

    • New Attribute - Chemical - Nitrogen

      • Name: N

      • Description: Nitrogen

      • Attribute Value Type: Number

      • Instance Attribute: unchecked

    • New Attribute - Chemical - Phosphorous

      • Name: P

      • Description: Phosphorous

      • Attribute Value Type: Number

      • Instance Attribute: unchecked

    • New Attribute - Chemical - Potassium

      • Name: K

      • Description: Potassium

      • Attribute Value Type: Number

      • Instance Attribute: unchecked

    • New Attribute - Base

      • Name: Base

      • Description: Base Component

      • Attribute Value Type: List

      • Instance Attribute: unchecked

      • Attribute values

        • New Value - Chemical

          • Key: Chem

          • Name: Chem

          • Description: Chemical

        • New Value - Manure

          • Key: Man

          • Name: Manure

          • Description: Manure

        • New Value - Mushroom

          • Key: Mus

          • Name: Mushroom

          • Description: Mushroom

        • New Value - Peat

          • Key: Peat

          • Name: Peat

          • Description: Peat

Clear the cache or log out and in before continuing.

Assigning Attributes to Products

Note that the lot and guarantee dates do not appear on this window. They will be set later.

Repeat this process for the Fertilizer #70 product: find the product, assign the attribute set then assign the product attributes. For Fertilizer #70, use the 70Kg package.

The form is a copy of the attribute set instance template created in the product window and now the instance attributes are visible. In this dialog, the lot number and guarantee date can be set manually or you can click on the New Record button to calculate the next lot number or the guarantee date based on the attribute set information. The logical place to do this is in the production process.

Close the Product Attribute Dialog and note that the Attribute Set Instance field is filled in. Save the record. If you click on the Attribute Set Instance button again, you can see the values of the attributes. Repeat this with the Fertilizer #70 Production Plan.

Open the Product Info window to see the attributes available.

Select or search for the Fertilizer #50 product. The Warehouse tab shows 40 in stock. If you click on that line in the Warehouse tab and then click on the Available to Promise tab, and the Show Detail check box, you will see the instance attribute information. In this case, (<<120>> 2013-06-30).

To see the Product attribute info for the Fertilizer #50 product, click on the Product Attribute tab. It will list the product attributes as

***  Product Attribute  ***
 Pkg: 50Kg
 N: 10
 P: 20
 K: 15
 Base: Chem

Next, open the and find the attribute set "Fertilizer Lot". Note that the attribute set contains a lot number and a guarantee date. Add the new attributes to this attribute set.

Now, open the and find the Fertilizer #50 product. Note that the attribute set is already defined as Fertilizer Lot. Click on the button in the Attribute Set Instance field to open the and set the product attributes for the Fertilizer #50 product. Specifically, set these as shown:

Now we have to make some fertilizer that meets these specs. We will do this with the window. Create a new production header and save it. Then move to the and select Fertilizer #50 as the product and a quantity of 40. Set the Locator to Fertilizer and save the record. Create a second record and repeat this step with the Fertilizer #70 product. Move back to the and click the "Create/Post Production" button. This will pull the BOM from the product window and fill the .

Move to the and find the Fertilizer #50 product. Note that the Attribute Set Instance field is blank. Click the Attribute Set Instance button and the will appear again.

Back on the and click the "Create/Post Production" button again to complete the process. The new product will appear in the Fertilizer locator.

Attribute Window
Attribute Set Window
Product Window
Product Attribute Dialog
Production Window
Production Plan Tab
Production Header Tab
Production Line Tab
Production Line Tab
Product Attribute Dialog
Production Header Tab
Image:Product_asi_example.png‎
Image:Production_asi.png‎
Image:Note.gif