Service Management - Service Order Query

riki7
Member Posts: 29
hi guys,
One of our customers is issueing Service Orders where the Service Invoice Lines are marked as non Chargable. What they are asking is when they post this Service Orders if there is way for the program not to create any Sales Invoice (Service) document. The reason for requesting this is because they don't want to appear on the Customer Ledger Entries any lines with zero amounts.
Is there a way to do that :-k ?
One of our customers is issueing Service Orders where the Service Invoice Lines are marked as non Chargable. What they are asking is when they post this Service Orders if there is way for the program not to create any Sales Invoice (Service) document. The reason for requesting this is because they don't want to appear on the Customer Ledger Entries any lines with zero amounts.
Is there a way to do that :-k ?
0
Comments
-
Hello Riki,
1) In the service management setup, under the Defaults, there is a field that is called "Default Invoice Document". If you choose the value Unposted Sales Invoice, it will create the invoices but not post them...
2) But if you want to prevent it from even creating the invoices then you could do the following:
Design the cu 5908.
Find the CreateSalesHeader and the CreateSalesLine functions and place an EXIT; and the beginning.
And comment the://IF NOT SalesPost.RUN(SalesHeader) THEN //ERROR(Text004,SalesHeader.TABLECAPTION,SalesHeader."No.");
that is at the end of the OnRun trigger.
That way it will not even create any invoices. I haven't tried it but I think it will work...0 -
Hi Arhonti,
Thank you for all your help. I'll try it and let you know what the results are.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