If you need one more Create Line From button functionality through only configuration changes then you need follow following point
- Drop the AD_FIELD_COLUMN index of AD_Field table,
- Create one more record in Field tab of Window, Tab And field window.
Ex :- Field Name as Crate Lines From2
Column AS CrateFrom
And save the record.
Now and by using field sequence tab you can align second Crate Lines From2 button.
This thing you can do without changing the code.
If you are ready to change the code then modify AbstractADWindowPanel.java class
in actionButton method you can find the
else if (col.equals("CreateFrom")) code
just update this code as follows
else if (col.equals("CreateFrom") || col.equals("newFieldName"))
Now you can add above your desired column in following tables and column should be newFieldName (What ever you written in java code)
C_Invoice, M_InOut, M_Movement, C_BankStatement.
Steps to show field in a form :-
- Open Table And column Window And select above any table
- Crate a System element with newFieldName and save it
- Enter Database column Name and Name as same
- Select the length as 1
- Reference as button and save the record
- Now click on the synchronize column button
- Now open any respective Window, Tab Field and select the Tab tab
- Click on the Create Fields button, You will get newly created button
- You can align the field by using Field and Field sequence tabs
let me know why do you need 2 same fields in one tab,
is this related to security ? if it is then we can achieve very simple way