possible to change SO status to 'Released' after click 'Make Order' in SQ automatically?

PanJ
Member Posts: 34
Is it possible if we would like Sales Order status automatically change to 'Released' of 'Open' in Sales Order after user clicks on 'Make Order' button in Sales Quote Page?
Because the manager doesn't want users to change any thing after Sales Quote turns to Sales Order. if users want to change anything such as price or quantity it should only in Sales Quote.
Thank you for your help
Because the manager doesn't want users to change any thing after Sales Quote turns to Sales Order. if users want to change anything such as price or quantity it should only in Sales Quote.
Thank you for your help

0
Best Answers
-
you need to write code at the end of creation of Sales order as
SalesOrderHeader.Status := SalesOrderHeader.Status::Released;
SalesOrderHeader.MODIFY(TRUE);6 -
you need to write code at the end of creation of Sales order
SalesOrderHeader.Status := SalesOrderHeader.Status::Released;
SalesOrderHeader.MODIFY(TRUE);Best Regards
Zohaib Ahmed
Dynamics NAV ERP Technical Consultant.
please like / agree / verify my answer, if it was helpful for you. thanks.5
Answers
-
you need to make a change in Codeunit 860
-
To Mohano_cse06
I already checked on codeunit86 but l have no clue where can l make a change on it. Could you guide or share me more details please?0 -
you need to write code at the end of creation of Sales order as
SalesOrderHeader.Status := SalesOrderHeader.Status::Released;
SalesOrderHeader.MODIFY(TRUE);6 -
no, where did you write code?
it seems code is trying to modify fields after status is set to Released.1 -
I wrote the code here.
0 -
you have to write still below.. there is one more SalesOrderHeader.MODIFY; try there.1
-
I would recommend calling CU 414 "Release Sales Document" instead of directly setting the Status to "Released"2
-
thank you all for your help0
-
you need to write code at the end of creation of Sales order
SalesOrderHeader.Status := SalesOrderHeader.Status::Released;
SalesOrderHeader.MODIFY(TRUE);Best Regards
Zohaib Ahmed
Dynamics NAV ERP Technical Consultant.
please like / agree / verify my answer, if it was helpful for you. thanks.5 -
SalesOrderHeader.Status := SalesOrderHeader.Status::Released;
SalesOrderHeader.MODIFY(TRUE);
it works!!
thank you for your help guys!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