# QuoteQty Calculated Fields

**URL:** <https://www.epiusers.help/t/quoteqty-calculated-fields/54638>\
**Category:** Epicor ERP 10\
**Tags:** e10\
**Created:** [April 15, 2019, 7:35pm UTC](https://www.epiusers.help/t/quoteqty-calculated-fields/54638 "2019-04-15T19:35:10Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![michaelpalecek](https://www.epiusers.help/letter_avatar_proxy/v4/letter/m/eb9ed0/32.png) [@michaelpalecek](https://www.epiusers.help/u/michaelpalecek)\
**Post date:** [April 15, 2019, 7:35pm UTC](https://www.epiusers.help/t/quoteqty-calculated-fields/54638/1 "2019-04-15T19:35:10Z")

</div>

I have code on the Quote/Opportunity Entry form that uses an epiDataView to populate user defined fields with costs from the QuoteQty view/table.

However, I need to move that functionality to a Data Directive, the code that is used is attached to an “Approved” checkbox on the QuoteDtl row (user defined field again) and doesn’t always fire. The cost fields I am using for the calculations are not available in the Db object.

How can I look them up?

TotalCost  
TotalLbrCost  
TotalBurCost  
TotalMtlCost  
TotalMtlBurCost  
TotalSubCost  
TotalProdLbrHrs  
TotalSetupLbrHrs

---

<div class="post-metadata">

**Author:** ![VJeter](https://www.epiusers.help/user_avatar/www.epiusers.help/vjeter/32/16259_2.png) [@VJeter](https://www.epiusers.help/u/VJeter)\
**Post date:** [April 16, 2019, 3:19pm UTC](https://www.epiusers.help/t/quoteqty-calculated-fields/54638/2 "2019-04-16T15:19:11Z")

</div>

Those are temporary , work fields that only exist during the calculations done in the Quote/Opportunity Entry Screens. You can capture those fields with a customization in Quote/Opportunity Entry to new UD fields in QuoteQty. Or you can write custom code to calculate them in your data directive. I’ve tried that and I can come within pennies of the amounts displayed on the worksheet tab but I’ve never been able to capture it exactly. The MatlBurden cost always seems to be off. If you figure out the best place to put it I’d love to know. Good Luck

---

<div class="post-metadata">

**Author:** ![Hari\_Dutt](https://www.epiusers.help/user_avatar/www.epiusers.help/hari_dutt/32/17476_2.png) [@Hari\_Dutt](https://www.epiusers.help/u/Hari_Dutt)\
**Post date:** [April 21, 2019, 8:44am UTC](https://www.epiusers.help/t/quoteqty-calculated-fields/54638/3 "2019-04-21T08:44:04Z")

</div>

Dear Michaelpalecek,

I have done same customization in Summary tab refer to below screen

 ![Quote](https://epiusers.help/uploads/default/original/3X/6/a/6ab1122378f32c076b4d533f81898548e8e38ce8.png)

Are you want same like this?

---

<div class="post-metadata">

**Author:** ![VJeter](https://www.epiusers.help/user_avatar/www.epiusers.help/vjeter/32/16259_2.png) [@VJeter](https://www.epiusers.help/u/VJeter)\
**Post date:** [May 17, 2019, 6:43pm UTC](https://www.epiusers.help/t/quoteqty-calculated-fields/54638/4 "2019-05-17T18:43:38Z")

</div>

Thanks Michael, That looks good but I’m trying to capture the Unit Cost and Unit Price from the quote Entry screen and Print it in a custom Quote WorkSheet form. There have been multiple problems with this.

1. The Epicor Version of the form doesn’t have values that match the screen.
2. The SSRS temporary tables only capture the costs to 2 decimal places instead of 5 so rounding up changes the cost from that on the screen.
3. I’ve created 2 new \_UD fields in the QuoteQty table then customized the QT entry screen to fill these field and the values show in the Table when displayed in a baq but do not show in the temporary tables used by the SSRS. Really I could go on but… who has the time. If you figure out how to make this change please let me know. Thanks, Vicki

---

<div class="post-metadata">

**Author:** ![chemuelmardie](https://www.epiusers.help/letter_avatar_proxy/v4/letter/c/85e7bf/32.png) [@chemuelmardie](https://www.epiusers.help/u/chemuelmardie)\
**Post date:** [February 14, 2023, 9:53pm UTC](https://www.epiusers.help/t/quoteqty-calculated-fields/54638/5 "2023-02-14T21:53:21Z")

</div>

Hello @VJeter , what function within customization menu we can use to capture those fields?
