Nada Ahmed
11/24/2024, 11:28 AMCeligo AI
11/24/2024, 11:28 AMAI 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:
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.
******Celigo AI
11/24/2024, 11:28 AMSlack 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
Celigo AI
11/24/2024, 11:28 AM