Description
With the SimpleSwatCustomFieldsEntity
you can easily add additional data to any datasource object in your application. These information will be saved in a B1 database with the SelfHdl of the selected record as foreign key. So you can add this Entity to your screen, connect it via Data-Link to the already existing DSO and add any form to it to display the data.
How to use it
Here we describe how you can create your own screen using this functionality
- Create a new screen
YourTestScreen
, TemplateWindow (Simple)
choose any 2* Layout - Create a new form
CustomDataForm
add there as much fields as you like, at least one e.g.CustomField1
- In your screen do the following:
- Add your primary DSO to the screen, e.g.
custd2
(we take here as example an Offer DSO - Add the Grid for the primary DSO to the first panel of your screen, in our example
customer1b
- Add the
SimpleSwatCustomFieldsEntity
to your screen - Add your
CustomDataForm
to the second panel of the screen - Now wen have to connect the objects correctly
- Connect the root with
custd2
using linkPrimarySDO
- Connect
custd2
withcustomer1b
using linkData
- Connect
custd2
withSimpleSwatCustomFieldsEntity
using linkData
- Connect
SimpleSwatCustomFieldsEntity
withCustomDataForm
using linkDisplay
- To also enable the saving in your form, use the following attributes in
CustomDataForm
BorderTitle
= Choose a titlepanelMenu
= Use the following menu function:formPanelSave#NoDropDown
Linked pages
See here also an example how to import the needed Excel file Import B1 Objects via Excel
Back to Documentation
Back to Home Page