I'm calling another Customer Additional Card,. while opening the Customer Card from Sales & Marketing--> Sales --> customer card.
I created another form Customer Additional Setup, it is based on table 18 Customer and it's header part is same like of customer card. I want to call form Customer Additional Setup, instead of calling customer card.
I did coding on form 21 Customer Card, on trigger "Customer-OnOpenForm"
{
CurrForm.VISIBLE(FALSE);
lFrmCustAdd.SETTABLEVIEW(Rec);
lFrmCustAdd.RUNMODAL;
CurrForm.CLOSE;
}
lFrmCustAdd is a form variable of form 50016 Customer Additional Setup.
Whenever i call customer card, the customer additional Setup is opening, but when change the company from A to B, it throws the error and it doesnot allow to change the company. The error shot is attached.
The error descriptions is here:
"Customer Card' cannot be closed, because it is locked by 'Customer Card'.
Please finish 'Customer Card' before closing.
Would you please any body help in this regard.
Thanks for your help in advance.
Regards
Pushpraj
0
Comments
Why not use your add. form instead of :?: