{"id":17492,"date":"2026-01-29T12:05:13","date_gmt":"2026-01-29T12:05:13","guid":{"rendered":"https:\/\/tenthplanet.in\/idempiere\/?p=17492"},"modified":"2026-01-29T12:05:21","modified_gmt":"2026-01-29T12:05:21","slug":"how-attribute-set-instance-asi-works-in-idempiere","status":"publish","type":"post","link":"https:\/\/tenthplanet.in\/idempiere\/how-attribute-set-instance-asi-works-in-idempiere\/","title":{"rendered":"How Attribute Set Instance (ASI) Works in iDempiere"},"content":{"rendered":"\n<p>An <strong>Attribute Set Instance (ASI)<\/strong> represents the actual physical batch of a product. It stores real values like lot number and expiry date, recording what truly exists in inventory. Every traceable stock movement ultimately points to the Attribute Set Instance as the batch-level source of truth.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\"><strong>Role of Attribute Set Instance in the Overall Flow<\/strong><\/h2>\n\n\n\n<p>The Attribute Set Instance sits at the <strong>execution layer<\/strong> of traceability.<\/p>\n\n\n\n<p>In the complete lifecycle:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Attributes describe characteristics<\/li>\n\n\n\n<li>Attribute Sets enforce rules<\/li>\n\n\n\n<li><strong>ASIs store real batch data created during transactions<\/strong><\/li>\n<\/ul>\n\n\n\n<p>Without ASIs, traceability remains theoretical.<br>With ASIs, traceability becomes operational and auditable.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\"><strong>How an Attribute Set Instance Is Created<\/strong><\/h2>\n\n\n\n<p>Attribute Set Instances are not created as master data.<br>They are created or selected <strong>during transactions<\/strong>, exactly when physical stock enters or moves within the system.<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"362\" src=\"https:\/\/tenthplanet.in\/idempiere\/wp-content\/uploads\/sites\/13\/2026\/01\/TenthPlanet-iDempiere-Master-AttributeSetInstance-2.png\" alt=\"\" class=\"wp-image-17565\" srcset=\"https:\/\/tenthplanet.in\/idempiere\/wp-content\/uploads\/sites\/13\/2026\/01\/TenthPlanet-iDempiere-Master-AttributeSetInstance-2.png 1024w, https:\/\/tenthplanet.in\/idempiere\/wp-content\/uploads\/sites\/13\/2026\/01\/TenthPlanet-iDempiere-Master-AttributeSetInstance-2-300x106.png 300w, https:\/\/tenthplanet.in\/idempiere\/wp-content\/uploads\/sites\/13\/2026\/01\/TenthPlanet-iDempiere-Master-AttributeSetInstance-2-768x272.png 768w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<p>During <strong>Material Receipt<\/strong>, the system prompts for Attribute Set Instance creation based on Attribute Set rules:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong>Lot number<\/strong> is auto-generated or entered<\/li>\n\n\n\n<li><strong>Expiry (Guarantee) date<\/strong> is entered<\/li>\n\n\n\n<li>Instance-level attributes (such as Flavor) are applied<\/li>\n\n\n\n<li>The Attribute Set Instance is saved along with the received quantity<\/li>\n<\/ul>\n\n\n\n<p>Once created, the Attribute Set Instance becomes a permanent identity for that batch.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\"><strong>Meaning of \u201cSame Quality Bar\u201d<\/strong><\/h2>\n\n\n\n<p>The term <strong>same quality bar<\/strong> means that multiple quantities belong to <strong>the same ASI<\/strong>.<br>This is true only when <strong>all attribute values match exactly<\/strong>.<\/p>\n\n\n\n<p>A same quality bar requires:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Same <strong>Attribute Set<\/strong><\/li>\n\n\n\n<li>Same <strong>Lot number<\/strong><\/li>\n\n\n\n<li>Same <strong>Expiry date<\/strong><\/li>\n\n\n\n<li>Same instance-level attribute values (e.g., Flavor)<\/li>\n<\/ul>\n\n\n\n<p>If even one value differs, iDempiere treats the stock as a <strong>different ASI<\/strong>, even if the product is the same. This rule prevents quality mixing and preserves batch integrity.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\"><strong>How Attribute Set Instance Flows Across Transactions<\/strong><\/h2>\n\n\n\n<p>Once created, the Attribute Set Instance flows unchanged across all downstream processes. The system never recalculates or modifies Attribute Set Instance data.<\/p>\n\n\n\n<p>Across the business flow:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong>Inventory movements<\/strong> transfer the same ASI between locators<\/li>\n\n\n\n<li><strong>Customer shipments<\/strong> deduct stock from the exact ASI<\/li>\n\n\n\n<li><strong>Invoices<\/strong> carry ASI details into financial records<\/li>\n\n\n\n<li><strong>Reports<\/strong> show quantity, location, and expiry by ASI<\/li>\n<\/ul>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"514\" src=\"https:\/\/tenthplanet.in\/idempiere\/wp-content\/uploads\/sites\/13\/2026\/01\/TenthPlanet-iDempiere-Master-AttributeSetInstance-1-1.png\" alt=\"\" class=\"wp-image-17568\" srcset=\"https:\/\/tenthplanet.in\/idempiere\/wp-content\/uploads\/sites\/13\/2026\/01\/TenthPlanet-iDempiere-Master-AttributeSetInstance-1-1.png 1024w, https:\/\/tenthplanet.in\/idempiere\/wp-content\/uploads\/sites\/13\/2026\/01\/TenthPlanet-iDempiere-Master-AttributeSetInstance-1-1-300x151.png 300w, https:\/\/tenthplanet.in\/idempiere\/wp-content\/uploads\/sites\/13\/2026\/01\/TenthPlanet-iDempiere-Master-AttributeSetInstance-1-1-768x386.png 768w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<p><br>This ensures physical stock, operational documents, and accounting always reference the same batch identity.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\"><strong>Attribute Set Instance Traceability and History<\/strong><\/h2>\n\n\n\n<p>Each Attribute Set Instance maintains a complete transaction history.<br>Lower tabs in the Attribute Set Instance window show how that batch was received, moved, shipped, and invoiced.<\/p>\n\n\n\n<p>These views answer critical questions such as:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Where did this batch come from?<\/li>\n\n\n\n<li>Where is it stored now?<\/li>\n\n\n\n<li>Which customer received it?<\/li>\n\n\n\n<li>Which documents referenced it?<\/li>\n<\/ul>\n\n\n\n<p>This makes the Attribute Set Instance a powerful audit and quality-control tool.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\"><strong>Purpose<\/strong><\/h2>\n\n\n\n<p>The Attribute Set Instance exists to <strong>track reality, not assumptions<\/strong>.<br>It ensures that every unit of stock can be traced back to its origin and forward to its destination.<\/p>\n\n\n\n<p>This is essential for:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Batch recalls<\/li>\n\n\n\n<li>Expiry-based picking (FEFO)<\/li>\n\n\n\n<li>Quality investigations<\/li>\n\n\n\n<li>Regulatory audits<\/li>\n<\/ul>\n\n\n\n<p>Attribute Set Instance-level control is what turns compliance requirements into standard system behavior.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\"><strong>Key Capabilities Enabled by Attribute Set Instance<\/strong><\/h2>\n\n\n\n<ul class=\"wp-block-list\">\n<li>True <strong>batch-level inventory visibility<\/strong><\/li>\n\n\n\n<li>Preservation of quality identity across movements<\/li>\n\n\n\n<li>End-to-end traceability from receipt to customer<\/li>\n\n\n\n<li>Accurate reporting by lot and expiry<\/li>\n\n\n\n<li>Seamless integration with sales and finance<\/li>\n<\/ul>\n\n\n\n<h2 class=\"wp-block-heading\"><strong>Outcome<\/strong><\/h2>\n\n\n\n<p>With Attribute Set Instances in place, iDempiere delivers:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong>Production-grade batch traceability<\/strong><\/li>\n\n\n\n<li><strong>Accurate stock control by lot and expiry<\/strong><\/li>\n\n\n\n<li><strong>Clean alignment between inventory, operations, and accounting<\/strong><\/li>\n\n\n\n<li><strong>Audit-ready data without manual tracking<\/strong><\/li>\n<\/ul>\n\n\n\n<p>Attribute Set Instance completes the traceability framework by capturing what actually happens on the warehouse floor and carrying that truth across the entire system.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>An Attribute Set Instance (ASI) represents the actual physical batch of a product. It stores real values like lot number [&hellip;]<\/p>\n","protected":false},"author":19,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"footnotes":""},"categories":[38],"tags":[],"class_list":["post-17492","post","type-post","status-publish","format-standard","hentry","category-master"],"acf":[],"_links":{"self":[{"href":"https:\/\/tenthplanet.in\/idempiere\/wp-json\/wp\/v2\/posts\/17492","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/tenthplanet.in\/idempiere\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/tenthplanet.in\/idempiere\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/tenthplanet.in\/idempiere\/wp-json\/wp\/v2\/users\/19"}],"replies":[{"embeddable":true,"href":"https:\/\/tenthplanet.in\/idempiere\/wp-json\/wp\/v2\/comments?post=17492"}],"version-history":[{"count":0,"href":"https:\/\/tenthplanet.in\/idempiere\/wp-json\/wp\/v2\/posts\/17492\/revisions"}],"wp:attachment":[{"href":"https:\/\/tenthplanet.in\/idempiere\/wp-json\/wp\/v2\/media?parent=17492"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/tenthplanet.in\/idempiere\/wp-json\/wp\/v2\/categories?post=17492"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/tenthplanet.in\/idempiere\/wp-json\/wp\/v2\/tags?post=17492"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}