How to use DURATION fieldtype in my object

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • MaTT
    Junior Member
    • Jun 2017
    • 19

    How to use DURATION fieldtype in my object

    Can't find type DURATION in list of types. Please help
  • tanya
    Senior Member
    • Jun 2014
    • 4308

    #2
    Hello
    Only manually you can add it
    open application/Espo/Modules/Crm/Resources/metadata/entityDefs/Call.json, copy duration field defs, and paste it in own entityDefs. Check 'start' and end 'options', fix select option

    Comment

    • MaTT
      Junior Member
      • Jun 2017
      • 19

      #3
      Thanks for your answer, it is not good solution for my task.
      I need simple time field, like a currency field with "min" text after value of this.

      Comment

      • tanya
        Senior Member
        • Jun 2014
        • 4308

        #4
        In general, duration is notStorable field.
        you an create int field and set dateEnd calculation in formula

        Comment

        Working...