//info: CDUS-1825
We have a requirement where the client only wants the items that have not yet been picked/picked to be printed on the picking ticket. In the normal functionality of NetSuite, only after item fulfillment or the item is shipped, the item will be removed in the picking ticket print which is available under the Sales Order Record.
When we calculate the committed quantity, we notice that Backorders were also added, which caused a problem with our requirement.
Solution:
Picking ticket items will only display items if this calculation is met.
<#if item.quantitypickpackship?has_content>
<#assign check= (item.quantity - item.quantitypickpackship) - item.quantitybackordered > ${check} </#if>
If this value (check) is greater than zero, we can print the items, and the value will tell us how many more we need to pick.
Note:
This is currently worked in between the table columns. We can add this before the item header columns during execution and cut it off with a function call.