- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic to the Top
- Bookmark
- Subscribe
- Printer Friendly Page
Daily Sales Register and Update hangs when Sales Order is being created from back order invoice.
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Email to a Friend
- Report Inappropriate Content
01-13-2012 09:46 PM
We have counter sales where we enter the sale directly into S/O invoice data entry. At times there is not enough inventory on hand, and a line is placed on back order. When the batch is posted at the end of the day, a sales order is created for the back order quantity. The issue arises that we have business object scripts that display message boxes to ensure to validate the data when orders are entered manually. These same scripts run when the system creates a sales order from a back order invoice and hangs which then hangs the posting process.
I am looking to disable the scripts OR place a condition within the script that will prevent the message boxes from hanging the system.
Thank you,
Justin Roberts
Solved! Go to Solution.
Re: Daily Sales Register and Update hangs when Sales Order is being created from back order invoice.
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Email to a Friend
- Report Inappropriate Content
01-14-2012 01:07 AM
You should be able to change your scripts to test whether it was created by the invoice posting. The Last Invoice Number field would be filled in that case.
Re: Daily Sales Register and Update hangs when Sales Order is being created from back order invoice.
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Email to a Friend
- Report Inappropriate Content
01-16-2012 06:05 AM
There is a property you can check in your script to help you with this.
oSession.Updating
If this property has a non-zero value then the object is being executed as part of the update process.
If oSession.Updating<>0 Then
' do script
End If
Hope that helps
Elliott
Re: Daily Sales Register and Update hangs when Sales Order is being created from back order invoice.
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Email to a Friend
- Report Inappropriate Content
01-16-2012 10:33 AM
Thank you, we will give that a try!


