CORRECT THIS FORMULA CASE WHEN TYPE " ITEM RECEIPT...
# ask-stanley-ai
n
CORRECT THIS FORMULA CASE WHEN TYPE " ITEM RECEIPT" THEN {quantity}-{inventorydetail.quantity} AND TYEP "BILL" THEN quantity}-{inventorydetail.quantity}
c
AI generated answer (using internal Slack threads):
The formula you provided seems to have a typo and lacks proper structure. The corrected formula should look like this:
Copy code
CASE 
WHEN {type} = 'Item Receipt' THEN {quantity}-{inventorydetail.quantity} 
WHEN {type} = 'Bill' THEN {quantity}-{inventorydetail.quantity} 
END
Please note that this formula assumes that the
{type}
field can only have 'Item Receipt' or 'Bill' as its value. If there are other possible values for
{type}
, you might want to handle those cases as well. ****** Disclaimer: This response was generated by an artificial intelligence assistant based on previous conversations from multiple Slack channels, and may contain inaccuracies or mistakes. ******
Slack thread 1: here (available only if the original thread was posted in the last 90 days)
Similarity score: 0.855094194
Slack thread 2: here (available only if the original thread was posted in the last 90 days)
Similarity score: 0.848407
Slack thread 3: here (available only if the original thread was posted in the last 90 days)
Similarity score: 0.832743227
Please provide your feedback on this answer.