on 11-04-2015 3:45 PM
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
Hi Mark,
Usually you would first get the ContractID, and then open the activity window, and prefill it.
As generally speaking the B1 client window is the parent of all forms, you would have to create the activity with some prefilled field, or user defined property or something anyway to know which form called it.
Regards,
Johan
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
99 | |
11 | |
11 | |
6 | |
6 | |
4 | |
4 | |
3 | |
3 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.