Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Loading…

Issue #20806:remove Job Costed item check #122

Merged
merged 1 commit into from

2 participants

@garyhgohoos
Collaborator

No description provided.

@gpazo gpazo merged commit d43e77a into from
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Commits on Feb 10, 2014
  1. @garyhgohoos
This page is out of date. Refresh to see the latest.
Showing with 13 additions and 8 deletions.
  1. +13 −8 dbscripts/functions/closewo.sql
View
21 dbscripts/functions/closewo.sql
@@ -25,15 +25,20 @@ DECLARE
BEGIN
+ --Comment this out
+ --In addition to IssueToShipping driving PostProduction,
+ --not PostProduction can drive IssueToShipping.
+ --Must allow closing of Job items
+
--If this is item type Job then we cannot close here
- SELECT itemsite_costmethod INTO _check
- FROM wo,itemsite
- WHERE ((wo_id=pWoid)
- AND (wo_itemsite_id=itemsite_id)
- AND (itemsite_costmethod = 'J'));
- IF (FOUND) THEN
- RAISE EXCEPTION 'Work orders for Job items are closed when all quantities are shipped';
- END IF;
+ --SELECT itemsite_costmethod INTO _check
+ --FROM wo,itemsite
+ --WHERE ((wo_id=pWoid)
+ --AND (wo_itemsite_id=itemsite_id)
+ --AND (itemsite_costmethod = 'J'));
+ --IF (FOUND) THEN
+ -- RAISE EXCEPTION 'Work orders for Job items are closed when all quantities are shipped';
+ --END IF;
SELECT formatWoNumber(pWoid) INTO _woNumber;
Something went wrong with that request. Please try again.