I'm trying to create a workflow that would make the target field value a negative number. I want to create related records as credits and debits and then be able to sum them up to get a net value.
I've tried to update the field to -1 and then multiply it accordingly, but I get an error stating that the value needs to be between 0 and 1,000,000,000,000. I've also just tried to multiply the value by a -1, but that doesn't work either. It just runs the workflow, but doesn't change the value.
答案 0 :(得分:1)
答案 1 :(得分:0)
我实际上想出了这个。我创建了两个不同的工作流程来在一个具有不同"类型"的实体中创建记录。然后,在帐户上我有一个汇总字段来汇总一种类型,然后汇总类型来汇总另一种类型。然后我用一个计算字段从另一个中减去一个。
答案 2 :(得分:0)
使用字段的数据类型作为十进制数字(查看您的使用情况),在这种情况下,您可以灵活地存储所有类型的数字。