Discussions
Transaction line Base Price
Hi. I'm trying create a pdf template for sales orders, that will show line Base Price, instead of Rate.
Is there any field in freemarker, that will show Base Price? I was trying price and baseprice
<#list record.item as item>
${item.item} - Qty ${item.item.price}<br />
</#list>
or
<#list record.item as item>
${item.item} - Qty ${item.item.baseprice}<br />
</#list>
but it returns Base Price of first item as Base Price of all items.
I was trying to create transaction line custom field and set base price of item on VIEW event (because i need to get price of item for old transactions without re-saving them) and workflow log show me this: