ODT Template Tags - Vendor SKU - Purchase Order

Hello,
I have searched and searched, and tried many guesses. Can somone tell me which tag to use to include the Vendor SKU lines field in my Purchase Order template (ODT)?
(I’m currently using v19.02.)
Thank You!

1 Like

For the record, here is what I have tried so far:
{line_sku}
{line_vendorsku}
{line_vendor_sku}
{line_vendor_vendorsku}
{line_vendor_options_sku}
{line_product_sku}
{line_product_vendorsku}
{line_product_vendor_sku}
{line_product_vendor_vendorsku}
{line_product_options_sku}
{line_product_options_vendosku)
{line_options_vendor_sku}
{line_options_vendor_vendorsku}
{line_fourn_ref}
{line_fourne_ref_locale}
{line_options_fourne_ref}
{line_options_fourne_ref_locale}
{linecolrefsupplier}
{line_col_ref_supplier}
{line_colrefsupplier}
{line_product_colrefsupplier}
{line_product_refsupplier}
{line_product_col_ref_supplier}
{line_refsupplier}
{line_ref_supplier}
{line_product_ref_supplier}
{line_vendor_colrefsupplier}
{line_vendor_col_refsupplier}
{line_vendor_col_ref_supplier}
{line_vendor_refsupplier}
{line_vendor_ref_supplier}

If someone could help, I would be much appreciated!

Thanks

Same problem with “Shipping Method” field on Sales Orders. What is the tag?

Hello,

It’s not on the list : Create an ODT document template - Dolibarr ERP CRM Wiki
So doesn’t exist

Try this, it only appears in the purchase documents (of course you should have set the code before.)



{line_product_ref_fourn}

1 Like

umigun - You are my hero!

What did you mean by: “(of course you should have set the code before.)”?

Thanks again!

I meant the situation in the first picture. If there is no supplier code in the sample template, there is an option to show it on the line for this reason.

Please examine the pictures carefully and the reason becomes clearer.

Oh yes. I did see the conditional statement and also included it in my template.

Thanks again for your help!

[!-- IF {line_product_ref_fourn} --]{(SupplierRef)} : {line_product_ref_fourn} [!-- ENDIF {line_product_ref_fourn} --]

1 Like