New Schema from scratch on BN Manager

johnny_martins00
Member Posts: 39
Hi all,
After a good journey in order to get BN to work i now want to play a litlle with it and learn somethings..
I was thinking in creating a notification every time an Invoice goes to approval, do one from scratch...
My Problem it's that i didn't figured out completly how can this be done. For what i've read i need to create a XMLPort and a XMLEvent, is that correct?
How can after this import my schema to business manager?
What are the basic steps that are needed?
Can anyone help me on this?
Thanks in advance
Best Regards
JM
After a good journey in order to get BN to work i now want to play a litlle with it and learn somethings..
I was thinking in creating a notification every time an Invoice goes to approval, do one from scratch...
My Problem it's that i didn't figured out completly how can this be done. For what i've read i need to create a XMLPort and a XMLEvent, is that correct?
How can after this import my schema to business manager?
What are the basic steps that are needed?
Can anyone help me on this?
Thanks in advance
Best Regards
JM
0
Answers
-
hi,
I was able to create a new xmlport in Nav and sucessfully create a scheme in BN manager. The notification mail it´s going to the subscribed user but with no information at all... :S
IMy scheme was based on the "Prod Bom Version" and the event it's triggered but i still can undertand somethings, that i would like to someone explain me...
First of all i've add a atribut , MBS_Navision_url, to my XmlPort, just because was in the ProBomVersion to, but i dont understand what this attribute does??
I've added code to codeunit 8000, BN Mgt, in order to create a string url and send it to the BN. My string it's being created on the OnBeforePassVariable event, but i still didnt understand why it's not being populated with the required fields values...
Can anyone give a help on this subject?
Thanks in advance
Regards
JM0 -
Hi,
Solved myself
MBS_NAVISION_URL wasnt needed for my XMLPORT... So i structured my xmlport with my required fields and call the event from a code unit.IF NOT ISSERVICETIER THEN BEGIN NotificationSetup.GET; IF NOT NotificationSetup."Send Notifications" THEN EXIT; GlEntry.SETRECFILTER; PaymentXML.SETTABLEVIEW(GlEntry); //Set the filter PaymentXML.PaymentDone(); //Event END;
CU 8000 helps if anyone needs to understand it
Hope it helps someone
Best Regards
JM0
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