Object for generate a relationship map into SAP
Important: To execute this functionality B1Up must be installaed and running into current computer
object name: ue_relationshipmap
declare=map=ue_relationshipmap
Addnode=<properties_addnode>  | 
Function to add a node  | 
Addrelation=<properties_addrelation>  | 
|
Load<properties>  | 
|
Show  | 
Show created map into SAP. Note: B1Up must be installed and running  | 
id  | 
Id of the node. This value must be unique. If field is empty system set a autonumeric ID  | 
caption  | 
message for node caption  | 
Body, Body1  | 
Message for Line 1 of the node. If you add string "\u000a" system generates an automatic line break and continue with next line  | 
Body2  | 
Message for Line 2 of the node  | 
Body3  | 
Message for Line 3 of the node  | 
Body4  | 
Message for Line 4 of the node  | 
Body5  | 
Message for Line 5 of the node  | 
Body6  | 
Message for Line 6 of the node  | 
Selected  | 
true/false  | 
Script  | 
A beas script that will be executed when a double-click is performed into current node  | 
SourceId, FromId  | 
Source node Id from relation  | 
TargetId, ToId  | 
Destination of relation  | 
color  | 
Color of relation line between arrow. Available values are these  | 
Type  | 
Type of information we can load. Available types are: WorkOrder WorkOrderPos  | 
belnr_id, DocEntry  | 
Id  | 
belpos_id, LineNumber  | 
//Example to add 3 node and 2 relations
declare=map=ue_api_relationshipmap
map=addnode=id=1<tab>body=body line1<tab>body2=Line 2<tab>body3=Line 3<tab>body4=Line 4<tab>body5=Line 5<tab>body6=Line 6<tab>caption=title<tab>script=openwindow=artikel_edit.psr|1
map=addnode=id=2<tab>body=body info2<tab>caption=title2
map=addnode=id=3<tab>body=body info2<tab>caption=title3
map=addrelation=fromid=1<tab>toid=2
map=addrelation=fromid=1<tab>toid=3
map=show
destroy=map

//Example to Load a WorkOrder definition
declare=map=ue_api_relationshipmap
map=load=type=workorder<tab>belnr_id=20170099
map=show
destroy=map