Error getting by changing the company

pushpraj1008
Member Posts: 33
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.
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
Pushpraj
0
Comments
-
:-k if u doesn't need the customer card (21) why do u use it in the Menu Suite and in the customer List (and the other places where it is linked)
Why not use your add. form instead of :?:Do you make it right, it works too!0 -
I think it's because of you run your additional Customer Card modal. Try
lFrmCustAdd.RUN;
"Money is likewise the greatest chance and the greatest scourge of mankind."0
Categories
- All Categories
- 73 General
- 73 Announcements
- 66.6K Microsoft Dynamics NAV
- 18.7K NAV Three Tier
- 38.4K NAV/Navision Classic Client
- 3.6K Navision Attain
- 2.4K Navision Financials
- 116 Navision DOS
- 851 Navision e-Commerce
- 1K NAV Tips & Tricks
- 772 NAV Dutch speaking only
- 617 NAV Courses, Exams & Certification
- 2K Microsoft Dynamics-Other
- 1.5K Dynamics AX
- 320 Dynamics CRM
- 111 Dynamics GP
- 10 Dynamics SL
- 1.5K Other
- 990 SQL General
- 383 SQL Performance
- 34 SQL Tips & Tricks
- 35 Design Patterns (General & Best Practices)
- 1 Architectural Patterns
- 10 Design Patterns
- 5 Implementation Patterns
- 53 3rd Party Products, Services & Events
- 1.6K General
- 1.1K General Chat
- 1.6K Website
- 83 Testing
- 1.2K Download section
- 23 How Tos section
- 252 Feedback
- 12 NAV TechDays 2013 Sessions
- 13 NAV TechDays 2012 Sessions