I am trying to update my HTML Status Bar.
I have it displaying our Current Available "On Hand" Stock. but i cannot figure out how to add the "On Order" amount.
when we create our PO's it updates the On Order QTY in the SOManager, but i can't seem to figure out how to pull this data and place it in the Status HTML Bar.
below is an image of what i am trying to do.. Currently we have 0 Stock on this item but we have 12 on order that i cannot seem to figure out how to get to appear.

Below is some of the script i am using... it is not complete because its very long but the Available "QuantityOnHand" works and I can't see anything different that would make "Entry.QuantityOnOrder" not work... i also tried changing it to "Entry.Item.QuantityOnOrder" and also "TransactionEntry.QuantityOnOrder", both caused the "On Order" text to disappear from the Status HTML bar.
-------------------------------------------------------------------------------------------------------------------------------
<script language="VBScript">
Set QSRules = qsBridge.RequestQSRules()
Dim OnOrder
OnOrder = " "
If Not Entry Is Nothing Then
OnHand = "Available: " & Entry.Item.QuantityOnHand
If Not Entry Is Nothing Then
OnOrder = "On Order: " & Entry.QuantityOnOrder
End If
txtOnOrder.innerText = OnOrder
</script>
<div id="txtOnOrder"></div>
-------------------------------------------------------------------------------------------------------------------------------
any thoughts?
*This post is locked for comments
I have the same question (0)