|
C
|
cgphp 7/6/2012 |
|
Set a session var when the current customer_id is selected: "customer_id=".$_SESSION["customer_id"] |
|
|
L
|
lmb_hs_sp author 7/6/2012 |
|
Hi Cristian and thanks for the quick reply. |
|
|
L
|
lmb_hs_sp author 7/6/2012 |
|
Another question: |
|
|
C
|
cgphp 7/6/2012 |
|
Can you post some screenshots of your app? |
|
|
L
|
lmb_hs_sp author 7/6/2012 |
|
Hi Cristian, |
|
|
C
|
cgphp 7/9/2012 |
|
Limit the "Lookup wizard" by the masterkey: "contract_id=".$_GET["masterkey1"] |
|
|
L
|
lmb_hs_sp author 7/9/2012 |
|
Hi Cristian, |
|
|
C
|
cgphp 7/9/2012 |
|
I was assuming you were using inline mode and not popup mode for master-details relationship. Does it work if the inline mode for master-details relationship is enabled? |
|
|
L
|
lmb_hs_sp author 7/9/2012 |
|
YES! |
|
|
C
|
cgphp 7/9/2012 |
|
Here it is a solution for the popup mode. In the "After application initialized" event, enter the following code: $current_page = basename($_SERVER['SCRIPT_NAME']);
"contract_id=".$_SESSION['contract_id']
|
|
|
L
|
lmb_hs_sp author 7/9/2012 |
|
Great! this sounds good. |
|
|
C
|
cgphp 7/9/2012 |
|
The code above is executed each time a new request is made. |
|
|
L
|
lmb_hs_sp author 7/9/2012 |
|
Legen... |
|