Skip to main content
Answer

converting the field [AMProdOper.RunUnitTime] into minutes in a Generic Inquiry

  • October 5, 2022
  • 2 replies
  • 209 views

cmoreland
Semi-Pro III
Forum|alt.badge.img

Any one ever convert the [AMProdOper.RunUnitTime]  into minutes for a GI? 

Best answer by BenjaminCrisman

Hi @cmoreland! In SQL this time should be stored in minutes and the UI switches it to the time format showing like 1:00 for an hour.

The two solutions I found was to either convert the field to String format:

or just use the whole database reference instead of the field:

Either way, the result was the same, showing 60minutes:

Is this not working in your GI?

2 replies

BenjaminCrisman
Acumatica Employee
Forum|alt.badge.img+4
  • Acumatica Support Team
  • Answer
  • October 7, 2022

Hi @cmoreland! In SQL this time should be stored in minutes and the UI switches it to the time format showing like 1:00 for an hour.

The two solutions I found was to either convert the field to String format:

or just use the whole database reference instead of the field:

Either way, the result was the same, showing 60minutes:

Is this not working in your GI?


dgodsill97
Varsity I
Forum|alt.badge.img+3
  • Varsity I
  • October 27, 2022

Just create a formula =[AMProdOper.PlanLaborTime]

Resilts.