what actually runs behind when click the post button
bintu
Member Posts: 3
Hi All
Please help me out ! i want to take one field in purchase order header like field name : PON
when PON field empty receive is acceptable not invoice if PON Field is not empty then receive and invoice can be process successful
how can i write c\al code for above senario.
help me out!!
Please help me out ! i want to take one field in purchase order header like field name : PON
when PON field empty receive is acceptable not invoice if PON Field is not empty then receive and invoice can be process successful
how can i write c\al code for above senario.
help me out!!
0
Answers
-
codeunit 90 is Purchase - post0
-
Post of what, Sale, Purchase, Production.............
There's many post button in NAV and everyone has there own posting routine.:)Thanks
Blog - rockwithnav.wordpress.com/
Twitter - https://twitter.com/RockwithNav
Facebook - https://facebook.com/rockwithnav/1 -
purchase order post....0
-
Bintu, if i understood correctly your need you should work at codeunit 90 Purch.-Post,study the local function LOCAL CheckMandatoryHeaderFields(PurchHeader : Record "Purchase Header") or add your line of code there.
I don't know your experience,but if you are not familiar with NAV posting routines - procedures, i would suggest to study them and understand them through the stack trace of the debugger,before even you do some small amendment to check a field
0 -
Use EventSub Handler to write code above it. Trigger point set at codeunit 90-"Purchase post". After that slowly pick a event to test your code.0
-
[Topic moved from 'NAV Tips & Tricks' forum to 'NAV Three Tier' forum]
Regards,Alain Krikilion
No PM,please use the forum. || May the <SOLVED>-attribute be in your title!0
Categories
- All Categories
- 75 General
- 75 Announcements
- 66.7K Microsoft Dynamics NAV
- 18.8K 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
- 610 NAV Courses, Exams & Certification
- 1.9K Microsoft Dynamics-Other
- 1.5K Dynamics AX
- 251 Dynamics CRM
- 103 Dynamics GP
- 6 Dynamics SL
- 1.5K Other
- 991 SQL General
- 383 SQL Performance
- 34 SQL Tips & Tricks
- 28 Design Patterns (General & Best Practices)
- Architectural Patterns
- 9 Design Patterns
- 4 Implementation Patterns
- 53 3rd Party Products, Services & Events
- 1.6K General
- 1K General Chat
- 1.6K Website
- 77 Testing
- 1.2K Download section
- 23 How Tos section
- 249 Feedback
- 12 NAV TechDays 2013 Sessions
- 13 NAV TechDays 2012 Sessions

