HA
03/28/2025, 3:42 PMCeligo AI
03/28/2025, 3:42 PMAI generated answer (using internal Slack threads):The quantity remaining in a work order completion line can be determined by subtracting the 'completed quantity' from the 'order quantity'. In the provided conversations, the 'completed quantity' is set using the
setValue
method on the objWorkOrderCompletion
object, like so:
javascript
objWorkOrderCompletion.setValue('completedquantity', Number(intItemWOQty - intLossSumQuantity));
Here, intItemWOQty
is the 'order quantity' and intLossSumQuantity
is the quantity that has been lost or is not available for completion. The remaining quantity can be calculated as intItemWOQty - intLossSumQuantity
.
In the context of a saved search, the 'completed quantity' is referred to as 'Quantity' when the transaction type is 'Work Order Completion'.
******
Disclaimer:
This response was generated by an artificial intelligence assistant based on previous conversations from multiple Slack channels, and may contain inaccuracies or mistakes.
******Celigo AI
03/28/2025, 3:42 PMSlack thread 1: here (available only if the original thread was posted in the last 90 days)
Similarity score: 0.827352166
Slack thread 2: here (available only if the original thread was posted in the last 90 days)
Similarity score: 0.80142951
Slack thread 3: here (available only if the original thread was posted in the last 90 days)
Similarity score: 0.799631059
Celigo AI
03/28/2025, 3:42 PM