{"id":20220,"date":"2026-05-19T15:05:59","date_gmt":"2026-05-19T19:05:59","guid":{"rendered":"https:\/\/alix.ai\/documentation\/?post_type=docs&#038;p=20220"},"modified":"2026-05-19T15:05:59","modified_gmt":"2026-05-19T19:05:59","password":"","slug":"appliquer-une-unite-personnalisee-sur-une-ligne-de-bon-de-commande","status":"publish","type":"docs","link":"https:\/\/alix.ai\/documentation\/fr\/doc\/bons-de-commande\/appliquer-une-unite-personnalisee-sur-une-ligne-de-bon-de-commande\/","title":{"rendered":"Appliquer une unit\u00e9 personnalis\u00e9e sur une ligne de bon de commande"},"content":{"rendered":"<div class=\"pdfprnt-buttons pdfprnt-buttons-docs pdfprnt-top-right\"><a href=\"https:\/\/alix.ai\/documentation\/wp-json\/wp\/v2\/docs\/20220?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><em><strong>-&gt; Fonctionnalit\u00e9 bient\u00f4t disponible<\/strong><\/em><\/p>\n<p>L&#8217;unit\u00e9 personnalis\u00e9e permet d&#8217;acheter un article dans une unit\u00e9 diff\u00e9rente de son unit\u00e9 de stock. Cette page d\u00e9crit comment l&#8217;appliquer ou la modifier sur une ligne de bon de commande.<\/p>\n<p>Pour d\u00e9finir une unit\u00e9 personnalis\u00e9e par d\u00e9faut sur un article, consultez la section\u00a0<strong>Unit\u00e9 personnalis\u00e9<\/strong>\u00a0de la page\u00a0<a href=\"https:\/\/alix.ai\/documentation\/fr\/doc\/articles\/onglet-achat\/\">Onglet Achat<\/a>.<\/p>\n<blockquote><p><strong>Note<\/strong>: il est impossible d&#8217;appliquer une unit\u00e9 personnalis\u00e9e si le bon de commande n&#8217;est plus en <strong>Brouillon<\/strong>.<\/p><\/blockquote>\n<h2 id=\"appliquer\">Appliquer une unit\u00e9 personnalis\u00e9e \u00e0 une ligne<\/h2>\n<blockquote><p><em><strong>Note<\/strong> : si l&#8217;article ou le fournisseur a une unit\u00e9 personnalis\u00e9e d\u00e9finie par d\u00e9faut, elle s&#8217;applique automatiquement \u00e0 la ligne. Si les deux sont d\u00e9finis, celle du fournisseur a priorit\u00e9. Passez \u00e0 la section\u00a0<a href=\"#modifier\">Modifier l&#8217;unit\u00e9 personnalis\u00e9e d&#8217;une ligne<\/a>\u00a0pour ajuster les valeurs.<\/em><\/p><\/blockquote>\n<ol>\n<li>Dans le menu \u00e0 gauche, choisissez\u00a0<strong>Achats -&gt; Bons de commande<\/strong>.<\/li>\n<li>Ouvrez le bon de commande voulu, puis cliquez sur <strong>Modifier<\/strong> en haut \u00e0 droite.<br \/>\n<img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-20221\" src=\"https:\/\/alix.ai\/documentation\/wp-content\/uploads\/2026\/05\/2026-05-19_14h50_32-1024x412.png\" alt=\"\" width=\"798\" height=\"321\" srcset=\"https:\/\/alix.ai\/documentation\/wp-content\/uploads\/2026\/05\/2026-05-19_14h50_32-1024x412.png 1024w, https:\/\/alix.ai\/documentation\/wp-content\/uploads\/2026\/05\/2026-05-19_14h50_32-300x121.png 300w, https:\/\/alix.ai\/documentation\/wp-content\/uploads\/2026\/05\/2026-05-19_14h50_32-768x309.png 768w, https:\/\/alix.ai\/documentation\/wp-content\/uploads\/2026\/05\/2026-05-19_14h50_32-1536x618.png 1536w, https:\/\/alix.ai\/documentation\/wp-content\/uploads\/2026\/05\/2026-05-19_14h50_32.png 1776w\" sizes=\"(max-width: 798px) 100vw, 798px\" \/><\/li>\n<li>S\u00e9lectionnez la ligne d\u2019article voulu, cliquez sur\u00a0<strong>Plus d\u2019actions -&gt;<\/strong>\u00a0<strong>Appliquer une unit\u00e9 personnalis\u00e9e<\/strong>.<br \/>\n<img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-20222\" src=\"https:\/\/alix.ai\/documentation\/wp-content\/uploads\/2026\/05\/2026-05-19_14h52_20-1024x529.png\" alt=\"\" width=\"794\" height=\"410\" srcset=\"https:\/\/alix.ai\/documentation\/wp-content\/uploads\/2026\/05\/2026-05-19_14h52_20-1024x529.png 1024w, https:\/\/alix.ai\/documentation\/wp-content\/uploads\/2026\/05\/2026-05-19_14h52_20-300x155.png 300w, https:\/\/alix.ai\/documentation\/wp-content\/uploads\/2026\/05\/2026-05-19_14h52_20-768x397.png 768w, https:\/\/alix.ai\/documentation\/wp-content\/uploads\/2026\/05\/2026-05-19_14h52_20.png 1159w\" sizes=\"(max-width: 794px) 100vw, 794px\" \/><\/li>\n<li>Dans la fen\u00eatre, remplissez les champs :\n<ol>\n<li><strong>Unit\u00e9<\/strong> : nom de l&#8217;unit\u00e9 (ex. \u00ab boite\u00bb).<\/li>\n<li><strong>Format<\/strong> : facteur de conversion vers l&#8217;unit\u00e9 de stock (ex. 150 pour une boite de 150 unit\u00e9s).<\/li>\n<\/ol>\n<\/li>\n<li>Cliquez sur\u00a0<strong>Confirmer<\/strong>.\n<p class=\"capture\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-20223\" src=\"https:\/\/alix.ai\/documentation\/wp-content\/uploads\/2026\/05\/2026-05-19_14h55_03.png\" alt=\"\" width=\"452\" height=\"307\" srcset=\"https:\/\/alix.ai\/documentation\/wp-content\/uploads\/2026\/05\/2026-05-19_14h55_03.png 834w, https:\/\/alix.ai\/documentation\/wp-content\/uploads\/2026\/05\/2026-05-19_14h55_03-300x204.png 300w, https:\/\/alix.ai\/documentation\/wp-content\/uploads\/2026\/05\/2026-05-19_14h55_03-768x522.png 768w\" sizes=\"(max-width: 452px) 100vw, 452px\" \/><\/p>\n<\/li>\n<\/ol>\n<p>&nbsp;<\/p>\n<h2 id=\"modifier\">Modifier l&#8217;unit\u00e9 personnalis\u00e9e d&#8217;une ligne<\/h2>\n<p>Tant que le bon de commande est en\u00a0<strong>Brouillon<\/strong>\u00a0et que la ligne n&#8217;est pas associ\u00e9e \u00e0 une facture, vous pouvez modifier les valeurs de l&#8217;unit\u00e9 personnalis\u00e9e.<\/p>\n<table>\n<tbody>\n<tr>\n<td><strong>Modifier le format<\/strong><\/td>\n<td>Modifiez la valeur directement dans la grille ou le panneau lat\u00e9ral de la ligne. La quantit\u00e9 de stock et le prix unitaire se recalculent automatiquement.<\/td>\n<\/tr>\n<tr>\n<td><strong>Modifier l&#8217;unit\u00e9<\/strong><\/td>\n<td>Cliquez sur l&#8217;ic\u00f4ne menu \u00e0 droite de la ligne, puis s\u00e9lectionnez\u00a0<strong>Appliquer une unit\u00e9 personnalis\u00e9e<\/strong>\u00a0pour rouvrir la fen\u00eatre.<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p class=\"capture\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-20226\" src=\"https:\/\/alix.ai\/documentation\/wp-content\/uploads\/2026\/05\/2026-05-19_15h02_22-1024x310.png\" alt=\"\" width=\"786\" height=\"238\" srcset=\"https:\/\/alix.ai\/documentation\/wp-content\/uploads\/2026\/05\/2026-05-19_15h02_22-1024x310.png 1024w, https:\/\/alix.ai\/documentation\/wp-content\/uploads\/2026\/05\/2026-05-19_15h02_22-300x91.png 300w, https:\/\/alix.ai\/documentation\/wp-content\/uploads\/2026\/05\/2026-05-19_15h02_22-768x233.png 768w, https:\/\/alix.ai\/documentation\/wp-content\/uploads\/2026\/05\/2026-05-19_15h02_22.png 1133w\" sizes=\"(max-width: 786px) 100vw, 786px\" \/><\/p>\n<p>&nbsp;<\/p>\n<h2 id=\"affichage\">Affichage de l&#8217;unit\u00e9 personnalis\u00e9e<\/h2>\n<p>Lorsqu&#8217;une unit\u00e9 personnalis\u00e9e est appliqu\u00e9e \u00e0 une ligne, elle appara\u00eet :<\/p>\n<ul>\n<li>Dans la grille des articles du bon de commande (quantit\u00e9 et prix en unit\u00e9 personnalis\u00e9e).<\/li>\n<li>Dans le panneau lat\u00e9ral de la ligne.<\/li>\n<li>Sur le PDF du bon de commande.<\/li>\n<\/ul>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone  wp-image-20227\" src=\"https:\/\/alix.ai\/documentation\/wp-content\/uploads\/2026\/05\/2026-05-19_15h04_37.png\" alt=\"\" width=\"629\" height=\"578\" srcset=\"https:\/\/alix.ai\/documentation\/wp-content\/uploads\/2026\/05\/2026-05-19_15h04_37.png 1020w, https:\/\/alix.ai\/documentation\/wp-content\/uploads\/2026\/05\/2026-05-19_15h04_37-300x276.png 300w, https:\/\/alix.ai\/documentation\/wp-content\/uploads\/2026\/05\/2026-05-19_15h04_37-768x706.png 768w\" sizes=\"(max-width: 629px) 100vw, 629px\" \/><\/p>\n<p>L&#8217;unit\u00e9 personnalis\u00e9e se propage aussi \u00e0 la r\u00e9ception et \u00e0 la facture fournisseur cr\u00e9\u00e9e \u00e0 partir du bon de commande.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>-&gt; Fonctionnalit\u00e9 bient\u00f4t disponible L&#8217;unit\u00e9 personnalis\u00e9e permet d&#8217;acheter un article dans une unit\u00e9 diff\u00e9rente de son unit\u00e9 de stock. Cette [&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":[440],"doc_tag":[],"year_month":"2026-05","word_count":362,"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":"Bons de commande","term_url":"https:\/\/alix.ai\/documentation\/fr\/docs-category\/bons-de-commande\/"}],"doc_tag_info":[],"_links":{"self":[{"href":"https:\/\/alix.ai\/documentation\/wp-json\/wp\/v2\/docs\/20220"}],"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=20220"}],"version-history":[{"count":1,"href":"https:\/\/alix.ai\/documentation\/wp-json\/wp\/v2\/docs\/20220\/revisions"}],"predecessor-version":[{"id":20228,"href":"https:\/\/alix.ai\/documentation\/wp-json\/wp\/v2\/docs\/20220\/revisions\/20228"}],"wp:attachment":[{"href":"https:\/\/alix.ai\/documentation\/wp-json\/wp\/v2\/media?parent=20220"}],"wp:term":[{"taxonomy":"doc_category","embeddable":true,"href":"https:\/\/alix.ai\/documentation\/wp-json\/wp\/v2\/doc_category?post=20220"},{"taxonomy":"doc_tag","embeddable":true,"href":"https:\/\/alix.ai\/documentation\/wp-json\/wp\/v2\/doc_tag?post=20220"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}