caos
November 23, 2023, 12:38am
1
I have one question
We have placed the text input component of the entity for editing the contents of the Matrinx component
I put code in the entity function that outputs the multiplier of price and quantity to total
But even if you change the contents of price and quantity, it will not be calculated
Where am I going wrong?
caos
November 23, 2023, 2:34am
2
I changed the return value of the function to this.total and it was calculated
Is this statement correct?
Hi,
Yes.
You can also have a computed attribute totalPrice on your entity ?
caos
November 30, 2023, 5:53am
4
I’m trying to use calculated attributes, but it doesn’t work
Integer attribute price and quantity multiplier to total(attribute or variable not stored?) When outputting to
I understand that you can put a function in a data store class
I understood that an event is attached to the selected element of the Data table
Is it impossible for the storage attribute to not be saved?
Is there a sample method?
caos
December 19, 2023, 12:20am
5
Excuse me
I didn’t have any knowledge of calculated attributes
It was a capability that Qodly’s documentation lacked
I was able to supplement it with 4D documentation
ORDA allows you to create high-level class functions above the data model. This allows you to write business-oriented code and "publish" it just like an API. Datastore, dataclasses, entity selections, and entities are all available as class objects...
Is the basic mechanism the same?
Hi,
Yes, the mechanism is the same.
Hello,
Calculated attributes are documented here:
Thanks