message

ameen
Member Posts: 217
I assigned Authorization for a purchase order. Now created a purchase order and sent for authorization. Now Authorized person is working on Navision .When the authorized person logins Navision then he will get a message
“ U have One task “. Then he will open and check that P.Order. then he will authorize that P.Order .This Navision process.
But what I want na. For example I created a P.Order Morning 11.30 Pm. And I sent for authorization, but at that time authorized person is working on Navision. Now authorized person did not get any message. But in the usertask form created a task.
But my query is while he working on Navision he should get message when some body sent for authorization.How this process run. I could not get any solution. Could anybody throw as many as solutions to solve this problem. Just throw some functionality to do coding.
If anybody throw some light I will check about code.
thanks
“ U have One task “. Then he will open and check that P.Order. then he will authorize that P.Order .This Navision process.
But what I want na. For example I created a P.Order Morning 11.30 Pm. And I sent for authorization, but at that time authorized person is working on Navision. Now authorized person did not get any message. But in the usertask form created a task.
But my query is while he working on Navision he should get message when some body sent for authorization.How this process run. I could not get any solution. Could anybody throw as many as solutions to solve this problem. Just throw some functionality to do coding.
If anybody throw some light I will check about code.
thanks
ameen
0
Comments
-
For getting messages you can use NAV Comm components.
For receiving messages on TCP port 43450:Name DataType Subtype Length CC2 Automation 'Navision Communication Component version 2'.CommunicationComponent SBA Automation 'Navision Socket Bus Adapter'.SocketBusAdapter InMsg Automation 'Navision Communication Component version 2'.InMessage InS InStream txt Text 30
Start as SingleInstance followingOnRun() IF ISCLEAR(CC2) THEN CREATE(CC2) ; IF ISCLEAR(SBA) THEN CREATE(SBA) ; CC2.AddBusAdapter(SBA,0) ; SBA.OpenSocket(43450,'') ; //43450 TCP port CC2::MessageReceived(VAR InMessage : Automation "''.IDISPATCH") MESSAGE(FORMAT(InMessage)) ;
For sending you must know the IP of the computer. I've posted an example how to get it last week.
Second option is to use timer component and check a "queue" table for any nev messages.0 -
You may send message by e-mail. It's simple. Your users can see more specific information about task (for example, copy "No." of the target order from e-mail ) and read it again if they need.Nav 4.0 sp30
-
Hi Boss,
Even u can send emails using Business Notification services.
Try this.
satyaSatya0
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