Vendor ID on PO print template

bdstrohsbdstrohs Member Posts: 8

The following code should work to place the vendor id of the product for the corresponding vendor but does not. The if statement always returns false. Alternatively, the vendor id listed on the purchase order would be preferred. Any help would be appreciated.

{% for num in OrderLine.Item.ItemVendorNums.ItemVendorNum %}

{% if num.vendorID == Order.Vendor.vendorID %}


{% endif %}

{% endfor %}

Sign In or Register to comment.