Skip to Content
0
Former Member
Nov 04, 2015 at 03:45 PM

Childwindow: Get the parent window

20 Views

Hello Forum,

there is a service call window in B1. For example I can add to this service call an activity.

Now I want to extend the activity window in a way that the ContractID of the ServiceContract is displayed. This number is displayed in the ServiceCall window. How can I access the parent window "ServiceCall" from within the Activity window?

Get the ContractID from the DataSources:

I have looked through the datasources: OCRD, OCLG (Activity), OCPR (Contact Person), OATC+ACT1 (Attachment) is opened. But this doesnt help, because the connection between OCLG and OSCL (ServiceCall) is made through SCL5.

Get through the opend windows:

If several ServiceCalls are opened, how can I determine the right ServiceCall Window from which this activity window is opened?

Thanks

Mark