BeyondERP.Newsletter
Menu

Setup step on the Batch attributes page · Product information management

Define batch attributes for batch-tracked products

Decide which batch characteristics are recorded, with which data type, so batches can be checked and reserved on them.

See how to set it up Back to Product information management

Used by
Product design manager, Materials manager, Production manager and 4 more roles
Business process
Define product tracing policies in Dynamics 365 Supply Chain Management
Menu item
PdsBatchAttrib
Main table
PdsBatchAttrib
Data entity
PdsItemBatchAttributeEntity
Setup steps
2 on this page

How this guide was checked

Checked in Dynamics 365
Version 10.0.49: the menu item, form, table and security, the page, the demo records and the values in the screenshots.
Recommended values
Based on Microsoft's documentation. A sound starting point to adjust to your own business requirements.
Tests
A ready-to-run test, “Range check on a batch attribute”, to confirm this setup in your own test environment.
Show what matters for
SETUP GUIDEHow to set it up8 sections. Choose a role to highlight what matters to you.
Everyone

1What it is and why

What it isA setup page where you create batch attributes, which are characteristics of the raw materials and finished products that make up inventory batches.
What you do hereUse this page to record batch characteristics with value ranges and targets, so you can search on them when you reserve batches for sales or production orders.
ExampleFor example, in the cheese industry, milk can have attributes such as fat content, and the cheese made from it can have attributes such as moisture and age.
Batch attributes page in Dynamics 365
The page in Dynamics 365. page title tab to open what to set or check
Functional consultant · Solution architect

2Where it fits

End user · Functional consultant

3How to do it

About the examples: Examples and screenshots in this guide use BEAT, a demo company in a Dynamics 365 test environment. Use your own company's codes and values instead of copying them.

Step by step, with screenshots

Define batch attributes for batch-tracked products

Decide which batch characteristics are recorded, with which data type, so batches can be checked and reserved on them.

Set up Batch attributes1 screen

Use this page to record batch characteristics with value ranges and targets, so you can search on them when you reserve batches for sales or production orders.

  1. Screen 1

    Create a batch attribute

    Go to Inventory management > Setup > Batch > Batch attributes

    1. Select New
    2. Enter the attribute code and description
    3. Choose the attribute type (String here; Integer or Real let you set a minimum, maximum, increment and target)
    4. Select Save
    1AttributeBEAT-BA
    2DescriptionBatch attribute
    3Attribute typeString
    Create a batch attribute (zoomed on the outlined fields)
    Show the full screenCreate a batch attribute
    page title tab to open what to set or check

Steps from Microsoft

  1. Go to Product information management > Setup > Categories and attributes > Batch attributes.
  2. Select New.
  3. Enter the Attribute and a Description.
  4. In the Attribute type field, select a type, such as Fraction.
  5. Enter the Minimum, Maximum and Increment values.
  6. In the Target field, enter the target value.
  7. Select Save.

Source: Microsoft Learn

Fields on the page

FieldWhat it meansExampleTable column
Attribute typeThe type of value the attribute holds, such as Fraction or Enumeration; Enumeration values must be listed before a target can be set.Microsoft Learn StringPdsBatchAttribType
MinimumThe lowest allowed value for an Integer or Fraction attribute.Microsoft Learn
MaximumThe highest allowed value for an Integer or Fraction attribute.Microsoft Learn
TargetThe optimal value of the attribute.Microsoft Learn
AttributeThe ID of the batch attribute, entered when you create it.Microsoft Learn MOISTUREPdsBatchAttribId
DescriptionA description of the batch attribute.Microsoft Learn Batch attributeDescription

Common errors and fixes

MessageWhat to do
A batch attribute can't be assigned to the product, or the batch has no attribute values to enter.The product must have Batch number set to Active in its tracking dimension group. Assign the attribute at product level before you assign it for a customer. Microsoft Learn

Test checklist

  1. Create an Integer or Fraction batch attribute, for example Fat content.
  2. Assign it to a released product whose tracking dimension group has Batch number active, with minimum, maximum and target.
  3. Enter a value outside the range on Inventory batch attributes and check the warning or error.
  4. Search on the attribute when reserving batches on a sales order and check the right batch is found.

Source: Microsoft Learn

Functional consultant

4Setup decisions

Setup stepRecommended value and whyDecision, common mistake and test
Define batch attributes for batch-tracked productsInteger or Fraction for measured values (fat content, moisture) so minimum, maximum and tolerance action can be set on the product; Enumeration only for fixed listsMinimum and maximum ranges and the warning or error tolerance action exist only for Integer and Fraction attributes; the target applies to every type.Which data type for each batch attribute?Creating attributes for a product whose tracking dimension group doesn't have Batch number active. The attribute can't be used on that product.Test: Range check on a batch attribute
Set up Batch attributesUse Integer or Fraction for measured characteristics (for example fat content or potency) with Minimum, Maximum and Target set; use Enumeration only for fixed listsMinimum and maximum ranges and tolerance actions (warning or error) are only available for Integer and Fraction attributes, and the target is the optimal value used for all types. Batch balancing also models the active ingredient as a batch attribute with a minimum, maximum and target.Which attribute type should a measured characteristic use?Choosing Enumeration and then trying to set a Target before the enumeration list is filled in, or setting an Increment that doesn't fit the range. When batches are merged, integer and fraction values are averaged and rounded to the nearest increment.Test: Reservation finds batches by attribute

Feature management and licence

Licence or add-inOn the live system, Production manager, Materials manager and Warehouse manager maintain this page; Process engineer, Product design manager, Process engineering manager and Production supervisor can view it. No Feature management feature is needed for this page.

Checked in Dynamics 365

Solution architect

5Design impact

Shared or per companyPer company: each legal entity has its own records. Microsoft data model
Can it be undoneHard to reverse: Once values are recorded on batches and used in reservations, changing the attribute's type means reviewing every product and batch that uses it.
If you change it laterRanges, tolerance actions and targets are set when the attribute is assigned to a product; values are entered per batch on Inventory batch attributes. Batch reservation for sales and production orders searches on those values. Microsoft Learn
Technical architect

6Technical

Menu itemPdsBatchAttrib Checked in Dynamics 365
FormPdsBatchAttrib Checked in Dynamics 365
TablePdsBatchAttribShown as “Batch attributes” in Record infoChecked in Dynamics 365
Data entitiesPdsItemBatchAttributeEntityBatch attributes Microsoft data model
Who can open it

7 security roles. Select a role to see its duties and privileges.

  • RoleProduct design managerBOMProductDesignManager
    • DutyInquire into logistic policiesInventLogisticPoliciesInquire
      • PrivilegeView batch attributesPdsBatchAttribView
  • RoleMaterials managerInventMaterialsManager
    • DutyEnable the logistic processInventLogisticProcessEnable
      • PrivilegeMaintain batch attributesPdsBatchAttribMaintain
  • RoleProduction managerProdProductionManager
    • DutyEnable the logistic processInventLogisticProcessEnable
      • PrivilegeMaintain batch attributesPdsBatchAttribMaintain
  • RoleProduction supervisorProdProductionSupervisor
    • DutyInquire into logistic policiesInventLogisticPoliciesInquire
      • PrivilegeView batch attributesPdsBatchAttribView
  • RoleProcess engineerRouteProcessEngineer
    • DutyInquire into logistic policiesInventLogisticPoliciesInquire
      • PrivilegeView batch attributesPdsBatchAttribView
  • RoleProcess engineering managerRouteProcessEngineeringManager
    • DutyInquire into logistic policiesInventLogisticPoliciesInquire
      • PrivilegeView batch attributesPdsBatchAttribView
  • RoleWarehouse managerWMSWarehouseManager
    • DutyEnable the logistic processInventLogisticProcessEnable
      • PrivilegeMaintain batch attributesPdsBatchAttribMaintain
Checked in Dynamics 365
Roles to set it up and use itTo set it up or change itProduction manager ProdProductionManagerMaterials manager InventMaterialsManagerWarehouse manager WMSWarehouseManagerTo use itProcess engineer RouteProcessEngineerProduct design manager BOMProductDesignManagerProcess engineering manager RouteProcessEngineeringManagerProduction supervisor ProdProductionSupervisorGive people one of these roles. On this system, 7 roles can open this page.Checked in Dynamics 365
Actions on the pageOptionsChecked in Dynamics 365
Developer

7Developer

Open it by URLhttps://<your-environment>/?mi=PdsBatchAttrib
Integrate withPdsItemBatchAttributeEntity data entity Microsoft data model
Data migrationPdsItemBatchAttributeEntity (Batch attributes): loaded for each company, in Microsoft's default template 310 - Product information management.Load order: Microsoft's default template 310 - Product information management loads Batch attributes at execution unit 1, level 30, sequence 10. Lower levels load first, and entities at the same level load in sequence order.Load first: the default templates at lower levels (System setup to General ledger)Microsoft Learn
Table definitionPdsBatchAttrib columns and relations Microsoft data model
Everyone

8Sources

To cite this step: PIM-SETB-010, Define batch attributes for batch-tracked products. Beyond ERP Atlas Hub. https://www.beyonderp.cloud/atlas/step/PIM-SETB-010