cancel
Showing results for 
Search instead for 
Did you mean: 

Auto select all batch?

Former Member
0 Kudos

In Batch Selection Number, I found that Auto Select Button only select single batch. Can I add a button to allow user select all batch on standards form?

Accepted Solutions (0)

Answers (1)

Answers (1)

AdKerremans
Active Contributor
0 Kudos

Hi Kok,

The auto select button, selects batches starting from the first one until there are enough items.

So if you want 10 items and the first batch only has 8 it selects 8 items from the first and the remainder from the second.

A button to allow a user to select all batches is not neccesary I think, because the user can select every batch the user wants and he can never select more items than in the itemline.

Regards

Ad

Former Member
0 Kudos

I mean in Receipt Line for auto selection. It that apply same rule?

AdKerremans
Active Contributor
0 Kudos

Hi,

I don't understand your question, can you be more precise or explain in detail what you want?.

Ad

Former Member
0 Kudos

Can I send attachment to here or to you email address? It is picture file.

AdKerremans
Active Contributor
0 Kudos

You can send it to ad.kerremans@serac.nl

AdKerremans
Active Contributor
0 Kudos

Hi Kok,

I Think that what you want is possible.

the button should do the following:

for each line in the top matrix

- select the line (oform.items.item("3").specific.selectrow(row, true,false)

- press the autoselect button (oform.items.item("16").specific.click)

- press the update/ok button (item "1") (oform.items.item("1").click

I hope this helps you.

Regards

Ad

Former Member
0 Kudos

I try following code:

If pVal.Before_Action = False And pVal.EventType = SAPbouiCOM.BoEventTypes.et_ITEM_PRESSED Then

If pVal.ItemUID = "AutoSelect" Then

'SBO_Application.MessageBox("You click on new added button")

Dim oMatrix As SAPbouiCOM.Matrix

oMatrix = SBO_Application.Forms.Item(FormUID).Items.Item("38").Specific

'SBO_Application.Forms.Item(FormUID).Items.Item(38).Specific.Selectrow(1, True, False)

oMatrix.SelectRow(1, True, False)

End If

End If

but I can not manage to get the row being highlighted and selected?

AdKerremans
Active Contributor
0 Kudos

Hi Kok,

You could try to click on column "0" of the matrix to select the line.

Regards

Ad

Former Member
0 Kudos

Hi,

I make a button on form and just want to select a row in matrix without doing anything first, that possible?

Thank