Post of codeunit 90

marcusc
Member Posts: 17
Hi,
We're expending the purchase order to web portal. We're trying to use the standard codeunit 90, but unable to find any function to trigger the post. How to we allow to post? Do we need to customize the codeunit? Please advise.
Thanks
We're expending the purchase order to web portal. We're trying to use the standard codeunit 90, but unable to find any function to trigger the post. How to we allow to post? Do we need to customize the codeunit? Please advise.
Thanks
0
Best Answer
-
You should create function in page with local variable of Codeunit 90 (e.g. PostCU) and simple command PostCU.RUN(Rec);5
Answers
-
1. Standard Post function in codeunit 90 is Run trigger.
2. You have to send a record of table 38 into this function.
3. Better way is to expose simple page based on table 38 and with simple function to call codeunit 90 with actual record.0 -
You cant use Codeunit 90 as a web-service because it has Record variables as parameters.Thanks
Blog - rockwithnav.wordpress.com/
Twitter - https://twitter.com/RockwithNav
Facebook - https://facebook.com/rockwithnav/0 -
Do we need to customize CU90? Understand we cannot direct call the CU90, but how if we passing the parameters to purchase order ? If can, what action need to perform? Thanks0
-
3. Better way is to expose simple page based on table 38 and with simple function to call codeunit 90 with actual record.0
-
You should create function in page with local variable of Codeunit 90 (e.g. PostCU) and simple command PostCU.RUN(Rec);5
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