Hi guys,
Need your lead as I need to create a computed column with calculation depend on field enums.
The case is :
In my data entity, which is the datasource is InventTrans, I have custom field named COGS, which I want to be filled in whenever the InventTrans is with StatusIssue::Sold and InventTransType::Sales. The value to be filled in is the CostAmountPosted in that InventTrans it self.
Question is how am I going to create it in computed column ? At least can someone lead me to a similar case in AOT (but with easy to understand, not a complex code). I've been creating some of this before but usually only relate to values or dates, so has not use field enums before ?
Thanks in advance.