I created some new fields on the Price/Cost tab of the Stock Item screen:UsrWhlPriceUsrWhlPriceChangeDateUsrPrevWhlPriceUsrPrevWhlPriceChangeDate The intention is that the first will store the wholesale price for an item and the second records any time the wholesale price is changed.The UsrPrev… fields will be updated when the wholesale price changes. I added them and all appeared to be fine. I tested and they recorded the information I needed and I used them in an import scenario to import the wholesale prices.I am using the code below to monitor for a change to the price and update the fields. protected void InventoryItemCurySettings_UsrWHLPrice_FieldVerifying(PXCache cache, PXFieldVerifyingEventArgs e, PXFieldVerifying InvokeBaseHandler) { if(InvokeBaseHandler != null) InvokeBaseHandler(cache, e); var row = (InventoryItemCurySettings)e.Row; if (row== null) return; try { InventoryItemCurySettingsExt inventoryItemCurySettingsExt = PX
Already have an account? Login
Enter your username or e-mail address. We'll send you an e-mail with instructions to reset your password.
Sorry, we're still checking this file's contents to make sure it's safe to download. Please try again in a few minutes.
Sorry, our virus scanner detected that this file isn't safe to download.