2018 Mar 16 11:40 AM - edited 2024 Feb 04 3:28 AM
Hello all.
I have scenario where I need to create about 10 checkbox columns at Sales Order and Invoice Row Level.
At Sales Order, I was able to create these Checkboxes using the code below where U_ChkDis1....U_ChkDis2 upto 10 are the UDFs behind these columns.
But the fundamental problem is that a Matrix cannot accept a new column as long as there are rows in the Matrix. So when you try to do the same on Invoice(where the Copy-To functionality is essential) this code obviously fails as you have to clear the copied rows in Invoice which were copied over from Sales Order.
Is there a workaround of this ? Is there any other way to achieve checkbox columns on Matrix with Copy-To functionality intact?
oMatrix.Clear();
oMatrix.Columns.Add("ChkDis1", SAPbouiCOM.BoFormItemTypes.it_CHECK_BOX);
oMatrix.Columns.Item("ChkDis1").TitleObject.Caption = "Allow";
oMatrix.Columns.Item("ChkDis1").DataBind.SetBound(true, "RDR1", "U_ChkDis1");<br>
Help others by sharing your knowledge.
AnswerRequest clarification before answering.
| User | Count |
|---|---|
| 29 | |
| 14 | |
| 14 | |
| 6 | |
| 5 | |
| 5 | |
| 4 | |
| 4 | |
| 4 | |
| 3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.