Report Quantity Function - Serial Numbers

Hi,

I am writing a function that needs to mimic the the ‘Report Quantity’ function in MES.

So far process is:

  • ReportQty.GetNewReportQty

  • ReportQty.ValidateBeforeSerialSelect

  • ReportQty.ReportQuantity

This issue is that I cannot populate the ‘SelectedSerialNumbers’ tableset.

I’ve done this before to mimic the end activity function and the Labor BO has
the GetNewLbrScrapSerialNumbers method that creates a record that I can update.

I can’t use the End Activity BO as in this case as we don’t was to end the activity.

Has anyone any suggestions how I can create a new record in the ‘ReportQuantity.SelectedSerialNumbers’ tableset?

Thanks,

Andrew.

OK - got working by using the ‘Fill Table By Query’ widget and just need to map the company, serial number, part number and rowmod = ‘A’

1 Like