cancel
Showing results for 
Search instead for 
Did you mean: 

Duplicate SBO FORMS??? in 6.5

Former Member
0 Kudos

Hi All:

Can I duplicate, for example, the form number "320" Sales Opportunities IN SBO 6.5, so I can Modify

the new form and add my own methods, hide fields and so on?.

Thank's

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

Hi,

using the SDK, you can:

1. Modify the original form (GUI & functionality)

2. Copy the original form and modify the copy (GUI & functionality)

3. Create a brand new user form with your own business logic.

This is the purpose of the UI API in the SAP Business One SDK.

Please refer to the SAP Business One SDK UI & DI HELP for more information on how to implement this.

Best regards,

Yaniv Gamliel

SDK Consultant

SAP Manage Israel

Former Member
0 Kudos

Hi Yaniv,

Can you please give us some instructions how to copy an original form and modify the copy, or direct us to the documentation. Can't find it.

Thanks

LuanBoo

Former Member
0 Kudos

Hi again,

1. <u>Modifying a System form:</u>

Recommended when most of the system logic is usable and only specific parts should be changed / blocked / added.

Use UI & DI API in order to change / remove / add functionality from system forms.

2. <u>Copying a System form:</u>

Recommended when most of the system logic is <b>NOT</b> usable. you can copy the system form GUI and some of the system functionality (extended in version 6.7).

Use UI saveXML() functionality to export a system form to XML format

Use UI LoadBatchActions(xmlStr As String) to load the XML back as a user form.

add your business logic to the form.

3. <u>Creating User form:</u>

Last but not least - create a user form using the UI API and add business logic using both APIs.

All API documentation available for partners in the 'SAP Business One SDK' folder (version 6.5) OR in the start menu under SAP Business One entry -> DI Help / UI Help.

Regards,

Yaniv G.