cancel
Showing results for 
Search instead for 
Did you mean: 

How to read from the incoming payments form table

Former Member
0 Kudos

Hi, Im writing an addon that will sum the selected documents for payment by document type (Invoice, Credit Memos, Payment on Account). using UI how can I get and read from the table ? I can see that it is item 20. But dont know how to get to the data on secreen.

Thank you!

Jose.

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

SAPbouiCOM.Matrix oMatrix = (SAPbouiCOM.Matrix)moPaymentForm.Items.Item("20").Specific;

SAPbouiCOM.Column _oCheckColumn = _oMatrix.Columns.Item("10000127");

SAPbouiCOM.Column _oAmountColumn = _oMatrix.Columns.Item("24");

SAPbouiCOM.Column _oDocTypeColumn = _oMatrix.Columns.Item("45");

bool bChecked = ((SAPbouiCOM.CheckBox)oCheckColumn.Cells.Item(1).Specific).Checked;