Approval of sales order
Requisition:
If so's status is 'Approval',the so can not be changed,But it can delivery or billing.
If so's status is 'NotApproval', the so can not be delivery and it can be changed.
I try to use 'User status',but it seems that can't control the change of sales order.
So....... Without user-exits, what's the solution about this situation??
Hi,
Please use the T.Code BS02.
Choose your status Profile for Sales Order if available or you can create new
Then double Click on the Profile & create user status (ex: Approved, Not Approved)
Double Clicking on each you can put the restictions (by clicking on the Object Type button you can put status at Header Level or Item level at your choice)
You can define which should be the intial status for the Sales Order.
Then use the T.Code VOV8. Double Click on the sales Doc type & there in Transaction flow >> Status Profile put the status Profile
Hope this will help you.
Reply back if any queries.
Thanks
Bidhu
Similar Messages
-
Hi All,
Is it possible for me to set an approval procedure on sales order in case the user forgets to fill in the remarks column??? please help with the query.
Thanks in advance,
JosephHai!
If, your requirement is block users to add SO without remarks, then u do with Strored Procedure.
if @transaction_type = 'A' and @object_type = '17'
begin
if exists(select T.docentry from ORDR T where T.docentry = @list_of_cols_val_tab_del and
(T.comments is null or T.Comments=''))
begin
SET @error = 17
SET @error_message = N'Enter the Remarks'
end
end
Add this code in SP_TransNotification of your company DB.
Please test it in a test system and put in Live
Regards,
Thanga Raj.K -
How to activate Approval in Sales Order for the UDF with condition
Dear Expert,
I have created the UDF field Rebate(type amount) in Sales Order.I want to activate the approval procedure for this UDF with condition where Rebate is greater then Zero.I had applied the query and Activate it in approval procedure.--
SELECT (Case When IsNull(count(T0.[DocEntry]),0) <>0 Then 'True' Else 'False' End) AS TF
FROM Ordr T0 where DocType='I' AND t0.U_rebate >0 and convert(Varchar(20),T0.[CreateDate],103) =(select convert(Varchar(20),Getdate(),103))
But I found that the approval procedure activate every time inspite the Rebate field is Zero.
Plaese suggest some soloution for it.
regards,
PankajKHi Pankaj......
Try this.......
Select Distinct 'True' From ORDR T0 Where T0.U_Rebate>0 and T0.DocType='I' And T0.DocNum=$[ORDR.DocNum.0]
Hope this will help you.......
Regards,
Rahul -
Dear OM Gurus,
How to setup approval for a sale order?. I believe that the standard functionality is only for negotiation flow and return....
Thanks & Regards
Merlin RajeshNote:363517.1
Regards
Prashant Pathak -
Approval of Sales Order vs Sales Quotation
Hi experts, How can I fire an approval when total of Sales Order is different from total of quotation base? I retrieved the total from quotation on a sales order user field , but I can't fire the approval.
Thanks,Hi Rolando Arzamendia.
Try this User Query for Sales Order vs Sales Quotation Approval.
SELECT Distinct 'True' FROM
ORDR T0 INNER JOIN RDR1 T1 ON T0.DocEntry = T1.DocEntry INNER JOIN oqut T2 ON T1.BaseDocNum = T2.DocNum
WHERE T2.DocTotal = $[ORDR.DocTotal]
Thanks,
Madhan. -
Hello Experts - how do I create an approvel process for every order created in the system?
Like:
Approved by: Purchasing
Approved by: Order Specialist
Etc..
Kind Regards Bob VermeulenHi,
Hope following will help you
Activate approval procedure option must be set in Administration System Initialization General Settings BP.
1. Design a query in Query Generator by clicking Tools Queries Query Generator
2. Save The Query in some Category.
3. Set up an approval procedure by clicking Administration Approval Procedure Approval Templates.
4. Enter Name, Description and set Active option.
5. Select the user who will punch the Sale Order in the system.
6. Click on Documents tab and select Sale Order.
7. Click on the stages tab and select the New stage added in the first step.
8. Click on the terms tab and set when the following applies option.
9. Dbl click on the row header of the Query Name pane to select the newly added query.
10. Click to close the dialogue box.
11. Go To Administration - Approval - Approval Stage.
12. Navigate to locate the newly created template.
13. In the authorizer part, select the user who is going to approve the order and close the dialogue box.
14. Go To Administration - system Initialisation - General Settings - Services - Select Display Inbox When New Message check Box .
Thanks
Malhaar -
Block the production order creation till approval of sales order
Dear
We are using MTO process. Client is asking to avoid the creation of production order still the sales order is approved. In sales order one user status is defined as approved. By default when sales order is created the status will be in not approved and once the accounts clears, they manually change the status to approved. Is it possible to put system check to avoid the production order creation till sales order status is changed to approved?? Any idea??.
Thanks in advance.Dear Usmani,
I'm facing the same problem as you. Do you already have the solution for this?
As of now, the only solution to stop the transfer of requirement to MRP is to set the delivery block at the header level and also flag on the "Fixed Date & Qty" in each schedule line item. The problem is now to deflag the "Fixed Date & Qty" in each schedule line item when the Sales Order is confirmed.
Please share should you have any other solutions.
Thank you.
Regards,
Jieyi -
If price change required approval in sales order
Hi All,
one of our client wants that in sales order the unit price will come automatically according to BP price list. but if any one changes that price manually that should required approval.
The problem is that i have made one query that only block when first row is change. but if i change from 2nd row where first row item price is remain same as price list, in that case no approval is firing.
i'm giving the query below. can anybody solve my problem.
select 'True'
from ocrd a, ait1 b
where a.ListNum=b.PriceList and b.loginstanc =(
select Max(A.loginstanc) loginstanc
from Ait1 a
where a.Itemcode=b.itemcode and a.pricelist=b.pricelist) and a.cardcode=$[$4.0.0] and b.itemcode = $[$38.1.0] and b.price<> $[$38.14.Number]Hi,
I think you could use validation store procedure (SP_TN) for the row level validation, UDF approval that its value is Y or N (yes or no) in the header and use this query approval :
select 'true' from ordr t0 where $[ordr.U_approval] = 'Y'
. How it work , for example, you create condition in the SP_TN that if the price change manually, then there is an error mesage or system message (means that validation SP_TN works) explains the UDF must be Y meanwhile set the default value N.
If the UDF is Y, then approval work. After it is approved, the user could add it.
if you still want to use row level approval, you could set a SOP that tells there is only one item per sales order can be created.
Rgds, -
Work Flow Approval in Sales Order at 4 levels
Hi Gurus !!!
Sales Employee creates a sales order which should go for the approval of SM & GM and if it is sales of specific item then it should also go to the 3rd approval of another Manager
Now if there is Discount in the Order then as per the % of discount offer it should go to the concerned approval authority
Pls suggest !!!Hi,
Thanks for your comments !!
Actually Up to 3 level the workflow should trigger after creation of sales orders
My main concerns are 2 -
1. It should go to 4th level only if is is the sales of product of one specific division product (this will be 3rd level approval)
2. if there is Discount in the Order then as per the % of discount offer it should go to the concerned approval authority (This will be 4th level approval)
If in order these both conditions are not there then only first 3 levels of regular approvals are required
Regards,
Kumar -
How to approve/verify a sales order
Hi All
Could you help me out the below scenario.
Business Process
Sales Order---Delivery-Billing
Sales Order raises the Mktg Executive that has to be approved/verified by Manager-Mktg then only Delivery has to do. Manager has to approve every sales order.
For this where we have to configure.
Note:1. We dont have the Credit Management
2. No.of Sales order in a year is less than 200.
Thanks in advance
RegardsYou can maintain the same by Z Program after creating a Sales Order.Mention the Plant , Sales Document Number , Date as your Input Parameters & Execute.This Z Program Authorization should be with your Manger only.
Then maintain in the Delivery Program User Exit if Z Program has been Executed only then allow the Delivery.
Best Regards,
Ankur -
Can you update Approval Status in Sales order using DI API using SDK
Hi experts,
Can we actually update the Approval Status(WddStatus) in Sales order From approved to pending using DI API.
Thanks,
JohnHi John,
When the sales order is originally created, and at that point pending approval, it is stored as a draft. Once approved, a sales order is created based on the draft.
In other words, the pending document and the approved document are two entirely separate objects in the database (they use different tables), and in the SDK.
That means that you can certainly realize your requirement, but you will have to look at it from another perspective. In quasi code:
Intercept the update event
Check if any changes were made that warrant another approval round
If so, duplicate the (adjusted) order, and submit the new order to trigger the new approval round.
Close or cancel the original order.
Admittedly this seems a bit silly, but unfortunately the approval process in B1 is still not perfect. As such I recommend that you (also) log on to the SAP Business One Idea Place, (it is free, like the SCN) and vote for any ideas that pertain to your requirement, and/or create an idea of your own.
Another approach all together could be to instruct users not to make changes to orders, and to use the stored procedure to prevent updates. And allowing users to only submit a new order altogether (they can use the duplicate functionality).
Regards,
Johan -
Hi,
I am new to workflow. I have to implement sales order approval process in sap.
Below are my queries:
1) Can anyone tell me that is there any standard method for "approval" available in BOR.
2) Organization level should be derived from the custom table in sap depending on the input coming to workflow.
So how i can implement this process?
3) Is there any possibility to approve the sales order through e-mail. If yes then how to do that.
Can anyone suggest any example for this.
Thanks in Advance.
SumitHi Sumit,
There are standard Objects available in BOR for sales order you can extend that object type and use a
new method for Approval process check object BUS2032.
You can forward your workitem through email maintain settings in SCOT and SOST.
Thanks & Regards
Hari Sankar M -
Sales Order process using approval flow
Dear All,
I need to make a sort of workflow approval in Sales Order (SO) document. This flow aims to guard the SO document to be released/processed to Accounting only after all data is completed and verified and approved by authorized superior.
How could it possible to do that in SAP system?
Thanks n regards,
RenathaHi,
Based on ur So number to write report program and get details for worklow approvel.
Regads:
Prabu -
Sales Order Line Approval Workflow
Hi All,
I have 2 scenarios which I need to implement.
1. When New Sales Order created with couple of Sales Order Lines. When User Book the Order at that time System should Book the Order but Line status should not be change to "Awaiting Shipping". Based on some logic, a Notification should go the Approver to approve the Sales Order Lines. When he approves then Line status should change to 'Awaiting Shipping'.
2. If the Line is Approved and in 'Awaiting Shipping' status and the user updated the Quantity or any other field then again System should send a notification to the approver to approve the modified Line (almost same logic like PO).
And how can I restrict a particular user to book the order?
Any idea how can I implement the above scenarios.
Regards,
ArsalanHi,
It is possible in header of sales order while booked form enter stage it's go in approve process.
Regards
Haresh -
Need Sales Order Approval Workflow upto two level
Hi All,
I am new user of sdn and also in workflow.I want to create a workflow to approve a sales order upto two level of approval.
Is there any standard workflow available for this?or any standard task to approve sales order.Please help.Hi Abhijit,
Thanks for your assistance.
Actually what I need is to build a workflow which will be triggered whenever a Sales Order is created by some user.First the workflow will check if the sales order value is greater than Rs.10,000 or not.If yes it will go for the first level of approval to authority1 if not it simply complete the workflow.If authority1 approve the workflow it will go to authority2 for second level of approval.If authority1 reject that it will go back to the sales order creater to change it or he simply complete the workflow.If he choose change then it will again go for the first level of approval to authority1.If authority1 approve the sales order then it will go to the authority2 for second level of approval.If authority 2 approves it the sales order will be finally approved else it will return back to the creater to change or withdraw.
I think you have understood what I want.Waiting for your reply.
Maybe you are looking for
-
Using currentTarget.label as variable in path?
I have the following code: <s:FormItem label="First" click="onItemFocus(event)"> <s:TextInput id="First" enabled="false" text="some text here..."/> </s:FormItem> Which when you click the FormItem it fires this function: protected function onIte
-
Sending PO as PDF to multiple recipients
Hi, I have to out put the PO as pdf and send it to mulitple recipients. I am taking the standard program and copied to z program and i did some modifications in it. i am able to send the PDF as attachment in a mail and its working fine. Now requireme
-
Why does my ipod screen make a cracking sound but there are no cracks?
i need help!!!!
-
Multiple AUC in a Internal Order
Hello CO Experts, Business Scenario : There is small project coming up for the client. This project will be commissioned later. This is one project & has one Internal Order. there will be many Fixed Assets & Sub-Assets, collective costs, during the c
-
I have gotten a mySQL test dB set up in the ColdFusion MX 6 Admin panel. And I have followed this technote: http://dev.mysql.com/doc/world-setup/en/world-setup.html to attempt to install and access the "world" dB, with no luck. I type the commands at