Automation of InternetExplorer for SMS Issue !!

pskannaa
Member Posts: 138
Hi,
I'm devloping SMS applicaiton in NAV4.0, using the concept of 'Automation->InternetControl->InternetExplore.
Every thing is fine when i'm using seperate form and run. But now i m testing when the Invoice is posted want to send the message to customer. NAV code is for Posting->Invoice is calling predefined CODEUNIT for posting the invoice, i gone there and define automation variable and
Automation.navigate(url), but not sending the sms. the beauty is when i debug my code it was sending...I really don't know y it's not sending without debugging,, is my code wrong ??
or else provide me solution for doing my code in sales 'invoice' form itselft. so that i can't go to codeuint and do the coding...is my abservation is right / wrong ????
suggest me...
Regards
Psk
I'm devloping SMS applicaiton in NAV4.0, using the concept of 'Automation->InternetControl->InternetExplore.
Every thing is fine when i'm using seperate form and run. But now i m testing when the Invoice is posted want to send the message to customer. NAV code is for Posting->Invoice is calling predefined CODEUNIT for posting the invoice, i gone there and define automation variable and
Automation.navigate(url), but not sending the sms. the beauty is when i debug my code it was sending...I really don't know y it's not sending without debugging,, is my code wrong ??
or else provide me solution for doing my code in sales 'invoice' form itselft. so that i can't go to codeuint and do the coding...is my abservation is right / wrong ????
suggest me...
Regards
Psk
0
Comments
-
It is not necessary to add the code in codeunit 80, you could add the code or call your function on the button Posting on the form of invoice, after the point where it calls the CU 80 or 81, I don't know that by heart. But I would still consider addding the code in cu 80 since, it is called from multiple forms (sales order, sales invoice, sales credit memo,...), and taking this approach would mean less work. Why the SMS isn't sent, you should turn on debuger before posting the invoice and go step by step through the code you wrote, to figure out what the problem is. Good luck.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