Adding new row in matrix
Emanuele Croci
Dear all,
I press right-click on Journal Entry and select "Cancel" function.
SAP B1 creates a new journal entry with inverted rows registration.
Now, I added a new button in this form.
When I press the button, I need to add a new empty row in the matrix.
I use this funtion:
oJEMatrix.AddRow()
I also used this command:
oJEMatrix.AddRow(1, 1)
but what I obtain is a new row with the same values of the first row (it seems a duplication of the first row).
The new row-index (first left column) in the matrix has the value "1" as the first original row.
How can I add a new empty row in this matrix?
Best regards
Emanuele
Emanuele Croci
I found the error:
I was trying to set Credit > 0 and Debit > 0 on the same row.
But now I have a nother issue with matrix.
See image below...
After populating the matrix, the rows index are incorrect. How can refresh the matrix to recalculate the correct row number in the first column?
Best regards
Emanuele
Please sign in to leave a comment.
Comments
0 comments