Updateable BAQ Part Cost Adjustment Transaction

I have a dashboard showing all purchased parts with an updateable Std Cost field. When a part cost is adjusted via Cost Adjustment, ADJ-COST records are created in the PartTran table. If they are updated via the dashboard, nothing is created. For other reports we display the last date the cost was updated which we take the max (date) of the ADJ-CST transaction for that part. Any recommendation on how I should log the cost adjustment via the dashboard?

It sounds like you need a method directive to add the part tran records when making changes in the dashboard. You can use a trace to determine which methods fire when changing a price normally. Then reproduce those methods in your method directive.

I did do a trace and found it called Erp.Proxy.BO.CostAdjustmentImpl.PreSetCostAdjustment and Erp.Proxy.BO.CostAdjustmentImpl.SetCostAdjustment. I don’t want to change the cost again since we already did that when the BAQ updated.

Cost changes you made in the dashboard were not captured in the part tran, so you have already lost that history. Going forward, when you run your BAQ Update action, that needs to include those preset, and setcost methods. I understand you don’t want to change the cost again, but if you want a record in part tran, then that might be your only solution.

Makes sense, Thanks