Quantcast
Channel: Microsoft Dynamics AX Forum - Recent Threads
Viewing all articles
Browse latest Browse all 73760

AX 2012 Project contract funding limits & committed cost calculation from PO

$
0
0

I am trying to track down where AX 2012 does the calculation to update the funding limit tables for contracts & committed costs.  Specifically projFundingLimit and ProjFundingLimitTracking.  

The issue I'm trying to work around is created by:

1. Creating a project

2.Creating and setting a contract with a funding limit.  Set an on hold type to the legal entity.  Set the funding limit to the specified amount

3. Create a purchase order, then create a line and set that unit price to a value.  Here is where the issue comes up.  There is an existing customization that sets the project sales price based on the sales price group whenever the category is set.  This is based on the pricing multiplier from the sales price group / trade agreement.  When this gets set and the PO line gets saved after this it then commits that sales price on the contract.

This breaks everything as when a person goes to receive an item it does not release the committed price, so part of the amount goes on hold and part of it goes to spent.  You can't invoice the order or go beyond there.  So my plan was to track down where it does that process to put it on hold, and see what I can change to fix it.

Whatever code that runs to do that process can't be debugged.  I can't debug the changes at any table level.  It doesn't hit insert / update / write / delete on either table.  Though if I put in dumb code on the update method to set a hard coded value to the spent field it goes through so I know it's hitting the update method on ProjFundingLimit.  It just wont' hit my breakpoints.  Either with a normal breakpoint, or hardcoded "breakpoint". 

Breakpoints are turned on for the server.  Digging through the class for receiving feels like I'll just be guessing.  Any other way to get my breakpoints to be triggered?


Viewing all articles
Browse latest Browse all 73760

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>