I wish to do a oTrans.Update() in my Serial Number Assignment customization and I am getting the following error. I thought I needed to add a reference but nothing I have done to this point has helped me. Does anyone have any ideas?
Error: CS1061 - line 94 (223) - ‘Erp.UI.App.SerialNumberAssignmentEntry.Transaction’ does not contain a definition for ‘Update’ and no extension method ‘Update’ accepting a first argument of type ‘Erp.UI.App.SerialNumberAssignmentEntry.Transaction’ could be found (are you missing a using directive or an assembly reference?)
This takes me to the SelectSerialNumbers screen and when I get done with that, I want to save it to the job and have read that to accomplish the save, do an oTrans.Update().
If you are using a dashboard and an updateable BAQ to do the update, oTrans does not exist. You CAN make a customization on the dashboard (go into it in Developer mode), oTrans will exist there.