How to calculate the key indicators of tasks, such as es, EF, LS, lf? Is there any API available?

How to calculate the key indicators of tasks, such as es, EF, LS, lf? Is there any API available ?

Hello Yansen,
Unfortunately, there are no public API methods for that.
Gantt calculates that internally when autoscheduling functionality is enabled (with the constraints logic), and there is no way to use those internal methods.

@ramil
Does that mean that this field already exists in the project and task properties? We don’t have to calculate, we can just show the columns, right?

Hello Yansen,
No, there are no such fields:

Gantt has internal methods to calculate those values but they aren’t available as task properties or any other way.

But I need these metrics in my project. What should I do? Can you help me find an existing case for reference.

Hello Yansen,
Unfortunately, there is no way to use those internal Gantt methods. You need to implement a custom solution.

how to implement a custom sloution? what should we do ?

Hello Yansen,
You need to manually write the code to create the functionality you need.

yes ,yes ,I see! thx