Mass Issuing Materials to Jobs

I’m trying to build a form that allows a user to issue all of the materials for a job at once. I currently have a BAQ dataview that displays on an ultragrid but I’m unsure of how to actually loop through the grid and code the process for issuing the materials.

I used a trace and believe that these methods are required:

Erp.Proxy.BO.IssueReturnImpl
OnChangingToJobSeq
OnChangeToJobSeq
GetRowsKeepIdleTime
OnChangeTranQty
PrePerformMaterialMovement
MasterInventoryBinTests
PerformMaterialMovement

Any help would be appreciated.

What doesn’t the built-in “Mass Issue Materials” program do, that you need it to?

One option… create one operation at the beginning called “Issue All Materials”. Associate all the materials to this operation. Mark all the materials as Backflushed in the Part/Site tab of the part.
Now, the operator would clock in/clock out of the Issue Materials, and it would then automatically backflush all the materials.

How would partial issuing a material work in this solution?

I believe the company tried this a few years back and ran into issues due to SN parts

And that program isn’t very intuitive. Originally we were doing multiple issues, because after a mass issue completed it would look like you didn’t do anything, so the user would do it again.