# Cost Application on Item Application Entry

**URL:** <https://www.dynamicsuser.net/t/cost-application-on-item-application-entry/10542>\
**Category:** Developers Forum\
**Created:** [February 2, 2006, 4:39am UTC](https://www.dynamicsuser.net/t/cost-application-on-item-application-entry/10542 "2006-02-02T04:39:21Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![Anna\_Perotti](https://avatars.discourse-cdn.com/v4/letter/a/e9bcb4/32.png) [@Anna\_Perotti](https://www.dynamicsuser.net/u/Anna_Perotti)\
**Post date:** [February 2, 2006, 4:39am UTC](https://www.dynamicsuser.net/t/cost-application-on-item-application-entry/10542/1 "2006-02-02T04:39:21Z")

</div>

Hi, Anybody knows when and where the “Cost Application” field in table 339 (Item Application Entry) is updated? I have a 3.70b database showing an unusually poor amount of applied Item ledger entries and I can’t understand why. Report “Adjust Cost - Item Entries” has been run yesterday. Anna

---

<div class="post-metadata">

**Author:** ![thomasbrodkorb](https://avatars.discourse-cdn.com/v4/letter/t/2acd7d/32.png) [@thomasbrodkorb](https://www.dynamicsuser.net/u/thomasbrodkorb)\
**Post date:** [February 2, 2006, 4:42am UTC](https://www.dynamicsuser.net/t/cost-application-on-item-application-entry/10542/2 "2006-02-02T04:42:36Z")

</div>

Check the Navision Devepoment Toolkit, there you should run “Where used” on this field.

---

<div class="post-metadata">

**Author:** ![Anna\_Perotti](https://avatars.discourse-cdn.com/v4/letter/a/e9bcb4/32.png) [@Anna\_Perotti](https://www.dynamicsuser.net/u/Anna_Perotti)\
**Post date:** [February 2, 2006, 5:30am UTC](https://www.dynamicsuser.net/t/cost-application-on-item-application-entry/10542/3 "2006-02-02T05:30:06Z")

</div>

> **quote:**
> 
> | Check the Navision Devepoment Toolkit, there you should run “Where used” on this field.  
> _Originally posted by tb@softsys.at - 2006 Feb 02 : 05:42:36_  
> |
> | --- |

Indeed. To do so I have to install the tool, build the database and fill it (on a not so efficent remote line). I’ll do that, of course, but, right now, I was hoping for a less time consuming hint. [xx(] Anna

---

<div class="post-metadata">

**Author:** ![anfinnur](https://avatars.discourse-cdn.com/v4/letter/a/258eb7/32.png) [@anfinnur](https://www.dynamicsuser.net/u/anfinnur)\
**Post date:** [February 3, 2006, 8:38am UTC](https://www.dynamicsuser.net/t/cost-application-on-item-application-entry/10542/4 "2006-02-03T08:38:58Z")

</div>

In Codeunit 22, function InsertApplEntry: ` IF AverageTransfer THEN BEGIN IF Quantity > 0 THEN ItemApplnEntry."Cost Application" := TRUE; //* END ELSE CASE TRUE OF Item."Costing Method" <> Item."Costing Method"::Average: ItemApplnEntry."Cost Application" := TRUE; //* ItemJnlLine.Correction: BEGIN ApplItemLedgEntry.GET(ItemApplnEntry."Item Ledger Entry No."); ItemApplnEntry."Cost Application" := //* (ApplItemLedgEntry.Quantity > 0) OR (ApplItemLedgEntry."Applies-to Entry" <> 0); END; ELSE IF (ItemJnlLine."Applies-to Entry" <> 0) OR (CostToApply AND ItemJnlLine.IsInbound) THEN ItemApplnEntry."Cost Application" := TRUE; //* END;` Don’t know at the moment if it is set anywhere else [:(]

---

<div class="post-metadata">

**Author:** ![ara3n](https://avatars.discourse-cdn.com/v4/letter/a/c77e96/32.png) [@ara3n](https://www.dynamicsuser.net/u/ara3n)\
**Post date:** [February 3, 2006, 11:04pm UTC](https://www.dynamicsuser.net/t/cost-application-on-item-application-entry/10542/5 "2006-02-03T23:04:26Z")

</div>

That is the only place it is set Anfinnur. I ran it in Devepoment Toolkit.
