{"id":20276,"date":"2026-05-25T10:47:01","date_gmt":"2026-05-25T14:47:01","guid":{"rendered":"https:\/\/alix.ai\/documentation\/?post_type=docs&#038;p=20276"},"modified":"2026-05-25T15:19:38","modified_gmt":"2026-05-25T19:19:38","password":"","slug":"apply-a-custom-unit-on-a-purchase-order-line","status":"publish","type":"docs","link":"https:\/\/alix.ai\/documentation\/en\/doc\/purchase-orders\/apply-a-custom-unit-on-a-purchase-order-line\/","title":{"rendered":"Apply a custom unit on a purchase order line"},"content":{"rendered":"<div class=\"pdfprnt-buttons pdfprnt-buttons-docs pdfprnt-top-right\"><a href=\"https:\/\/alix.ai\/documentation\/wp-json\/wp\/v2\/docs\/20276?print=print\" class=\"pdfprnt-button pdfprnt-button-print\" target=\"_blank\" ><img decoding=\"async\" src=\"https:\/\/alix.ai\/documentation\/wp-content\/plugins\/pdf-print\/images\/print.png\" alt=\"image_print\" title=\"Print Content\" \/><\/a><\/div><p><b><i><span lang=\"EN-CA\">-&gt; Available from ALIX 11.24.0.<\/span><\/i><\/b><span lang=\"EN-CA\">\u00a0<\/span><a href=\"https:\/\/alix.ai\/documentation\/en\/doc\/getting-started\/user-profile\/#1-toc-title\" target=\"_blank\" rel=\"noopener noreferrer\"><b><i><span lang=\"EN-CA\">How do I find out the current version?<\/span><\/i><\/b><\/a><\/p>\n<p>The custom unit allows purchasing an item in a unit different from its stock unit. This page describes how to apply or edit it on a purchase order line.<\/p>\n<p>To set a default custom unit on an item, see the\u00a0<strong>Custom unit<\/strong>\u00a0section of the\u00a0<a href=\"https:\/\/alix.ai\/documentation\/en\/doc\/items\/purchase-tab\/\">Purchase tab<\/a>\u00a0page.<\/p>\n<blockquote><p><em><strong>Note<\/strong>: it is impossible to apply a custom unit if the purchase order is no longer in\u00a0<strong>Draft<\/strong>.<\/em><\/p><\/blockquote>\n<h2 id=\"apply-custom-unit-to-a-line\">Apply a custom unit to a line<\/h2>\n<blockquote><p><em><strong>Note<\/strong>: if the item or the vendor has a default custom unit defined, it is applied automatically to the line. If both are defined, the vendor&#8217;s custom unit takes priority. Skip to the\u00a0<a href=\"#edit-cu-po\">Edit the custom unit of a line<\/a>\u00a0section to adjust the values.<\/em><\/p><\/blockquote>\n<ol>\n<li>From the menu on the left, choose\u00a0<strong>Purchases -&gt; Purchase orders<\/strong>.<\/li>\n<li>Open the desired purchase order, then click\u00a0<strong>Edit<\/strong>\u00a0in the top right.<br \/>\n<img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-large wp-image-20277\" src=\"https:\/\/alix.ai\/documentation\/wp-content\/uploads\/2026\/05\/2026-05-25_10h38_35-1024x397.png\" alt=\"\" width=\"1024\" height=\"397\" srcset=\"https:\/\/alix.ai\/documentation\/wp-content\/uploads\/2026\/05\/2026-05-25_10h38_35-1024x397.png 1024w, https:\/\/alix.ai\/documentation\/wp-content\/uploads\/2026\/05\/2026-05-25_10h38_35-300x116.png 300w, https:\/\/alix.ai\/documentation\/wp-content\/uploads\/2026\/05\/2026-05-25_10h38_35-768x298.png 768w, https:\/\/alix.ai\/documentation\/wp-content\/uploads\/2026\/05\/2026-05-25_10h38_35-1536x596.png 1536w, https:\/\/alix.ai\/documentation\/wp-content\/uploads\/2026\/05\/2026-05-25_10h38_35.png 1759w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><\/li>\n<li>Select the desired item line, click\u00a0<strong>More actions -&gt; Apply a custom unit<\/strong>.<br \/>\n<img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-large wp-image-20278\" src=\"https:\/\/alix.ai\/documentation\/wp-content\/uploads\/2026\/05\/2026-05-25_10h39_34-1024x479.png\" alt=\"\" width=\"1024\" height=\"479\" srcset=\"https:\/\/alix.ai\/documentation\/wp-content\/uploads\/2026\/05\/2026-05-25_10h39_34-1024x479.png 1024w, https:\/\/alix.ai\/documentation\/wp-content\/uploads\/2026\/05\/2026-05-25_10h39_34-300x140.png 300w, https:\/\/alix.ai\/documentation\/wp-content\/uploads\/2026\/05\/2026-05-25_10h39_34-768x359.png 768w, https:\/\/alix.ai\/documentation\/wp-content\/uploads\/2026\/05\/2026-05-25_10h39_34.png 1162w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><\/li>\n<li>In the window, fill in the fields:\n<ol>\n<li><strong>Unit<\/strong>: name of the unit (e.g. &#8220;box&#8221;).<\/li>\n<li><strong>Format<\/strong>: conversion factor to the stock unit (e.g. 150 for a 150-unit box).<\/li>\n<\/ol>\n<\/li>\n<li>Click\u00a0<strong>Confirm<\/strong>.\n<p class=\"capture\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-20279\" src=\"https:\/\/alix.ai\/documentation\/wp-content\/uploads\/2026\/05\/2026-05-25_10h40_22.png\" alt=\"\" width=\"431\" height=\"292\" srcset=\"https:\/\/alix.ai\/documentation\/wp-content\/uploads\/2026\/05\/2026-05-25_10h40_22.png 833w, https:\/\/alix.ai\/documentation\/wp-content\/uploads\/2026\/05\/2026-05-25_10h40_22-300x203.png 300w, https:\/\/alix.ai\/documentation\/wp-content\/uploads\/2026\/05\/2026-05-25_10h40_22-768x521.png 768w\" sizes=\"(max-width: 431px) 100vw, 431px\" \/><\/p>\n<\/li>\n<\/ol>\n<p>&nbsp;<\/p>\n<h2 id=\"edit-cu-po\">Edit the custom unit of a line<\/h2>\n<p>As long as the purchase order is in\u00a0<strong>Draft<\/strong>\u00a0and the line is not associated with a bill, you can edit the values of the custom unit.<\/p>\n<table>\n<tbody>\n<tr>\n<td>Edit the format<\/td>\n<td>Edit the value directly in the line item. The stock quantity and unit price are recalculated automatically.<\/td>\n<\/tr>\n<tr>\n<td>Edit the unit<\/td>\n<td>Click\u00a0<strong>More actions<\/strong>\u00a0on the top right of the line, then select <strong>Apply a custom unit<\/strong>\u00a0to reopen the window.<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p class=\"capture\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-large wp-image-20280\" src=\"https:\/\/alix.ai\/documentation\/wp-content\/uploads\/2026\/05\/2026-05-25_10h41_04-1024x254.png\" alt=\"\" width=\"1024\" height=\"254\" srcset=\"https:\/\/alix.ai\/documentation\/wp-content\/uploads\/2026\/05\/2026-05-25_10h41_04-1024x254.png 1024w, https:\/\/alix.ai\/documentation\/wp-content\/uploads\/2026\/05\/2026-05-25_10h41_04-300x75.png 300w, https:\/\/alix.ai\/documentation\/wp-content\/uploads\/2026\/05\/2026-05-25_10h41_04-768x191.png 768w, https:\/\/alix.ai\/documentation\/wp-content\/uploads\/2026\/05\/2026-05-25_10h41_04.png 1147w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><\/p>\n<p>&nbsp;<\/p>\n<h2 id=\"custom-unit-display\">Custom unit display<\/h2>\n<p>When a custom unit is applied to a line, it appears:<\/p>\n<ul>\n<li>In the purchase order item grid (quantity and price in the custom unit).<\/li>\n<li>In the line item.<\/li>\n<li>On the purchase order PDF.<\/li>\n<\/ul>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-20282\" src=\"https:\/\/alix.ai\/documentation\/wp-content\/uploads\/2026\/05\/2026-05-25_10h45_17-1024x944.png\" alt=\"\" width=\"604\" height=\"557\" srcset=\"https:\/\/alix.ai\/documentation\/wp-content\/uploads\/2026\/05\/2026-05-25_10h45_17-1024x944.png 1024w, https:\/\/alix.ai\/documentation\/wp-content\/uploads\/2026\/05\/2026-05-25_10h45_17-300x277.png 300w, https:\/\/alix.ai\/documentation\/wp-content\/uploads\/2026\/05\/2026-05-25_10h45_17-768x708.png 768w, https:\/\/alix.ai\/documentation\/wp-content\/uploads\/2026\/05\/2026-05-25_10h45_17.png 1028w\" sizes=\"(max-width: 604px) 100vw, 604px\" \/><\/p>\n<p>The custom unit also propagates to the goods receipt and to the bill created from the purchase order.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>-&gt; Available from ALIX 11.24.0.\u00a0How do I find out the current version? The custom unit allows purchasing an item in [&hellip;]<\/p>\n","protected":false},"author":6,"featured_media":0,"comment_status":"open","ping_status":"closed","template":"","meta":{"site-sidebar-layout":"default","site-content-layout":"","ast-site-content-layout":"default","site-content-style":"default","site-sidebar-style":"default","ast-global-header-display":"","ast-banner-title-visibility":"","ast-main-header-display":"","ast-hfb-above-header-display":"","ast-hfb-below-header-display":"","ast-hfb-mobile-header-display":"","site-post-title":"","ast-breadcrumbs-content":"","ast-featured-img":"","footer-sml-layout":"","theme-transparent-header-meta":"default","adv-header-id-meta":"","stick-header-meta":"","header-above-stick-meta":"","header-main-stick-meta":"","header-below-stick-meta":"","astra-migrate-meta-layouts":"set","ast-page-background-enabled":"default","ast-page-background-meta":{"desktop":{"background-color":"var(--ast-global-color-4)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"tablet":{"background-color":"","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"mobile":{"background-color":"","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""}},"ast-content-background-meta":{"desktop":{"background-color":"var(--ast-global-color-5)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"tablet":{"background-color":"var(--ast-global-color-5)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"mobile":{"background-color":"var(--ast-global-color-5)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""}}},"doc_category":[442],"doc_tag":[],"year_month":"2026-05","word_count":331,"total_views":0,"reactions":{"happy":0,"normal":0,"sad":0},"author_info":{"name":"Genevi\u00e8ve Lamarche","author_nicename":"glamarche","author_url":"https:\/\/alix.ai\/documentation\/author\/glamarche\/"},"doc_category_info":[{"term_name":"Purchase Orders","term_url":"https:\/\/alix.ai\/documentation\/en\/docs-category\/purchase-orders\/"}],"doc_tag_info":[],"_links":{"self":[{"href":"https:\/\/alix.ai\/documentation\/wp-json\/wp\/v2\/docs\/20276"}],"collection":[{"href":"https:\/\/alix.ai\/documentation\/wp-json\/wp\/v2\/docs"}],"about":[{"href":"https:\/\/alix.ai\/documentation\/wp-json\/wp\/v2\/types\/docs"}],"author":[{"embeddable":true,"href":"https:\/\/alix.ai\/documentation\/wp-json\/wp\/v2\/users\/6"}],"replies":[{"embeddable":true,"href":"https:\/\/alix.ai\/documentation\/wp-json\/wp\/v2\/comments?post=20276"}],"version-history":[{"count":2,"href":"https:\/\/alix.ai\/documentation\/wp-json\/wp\/v2\/docs\/20276\/revisions"}],"predecessor-version":[{"id":20337,"href":"https:\/\/alix.ai\/documentation\/wp-json\/wp\/v2\/docs\/20276\/revisions\/20337"}],"wp:attachment":[{"href":"https:\/\/alix.ai\/documentation\/wp-json\/wp\/v2\/media?parent=20276"}],"wp:term":[{"taxonomy":"doc_category","embeddable":true,"href":"https:\/\/alix.ai\/documentation\/wp-json\/wp\/v2\/doc_category?post=20276"},{"taxonomy":"doc_tag","embeddable":true,"href":"https:\/\/alix.ai\/documentation\/wp-json\/wp\/v2\/doc_tag?post=20276"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}