18: *
19: */
20: TYPE CmpParams IS RECORD
21: (
22: environment wma_common.environment,
23: transactionType NUMBER,
24: transactionHeaderID NUMBER,
25: transactionIntID NUMBER,
26: cmpTransactionID NUMBER,
46: );
47:
48: TYPE LpnCmpParams IS RECORD
49: (
50: environment wma_common.environment,
51: transactionTypeID NUMBER,
52: headerID NUMBER,
53: wipEntityID NUMBER,
54: wipEntityName VARCHAR2(241),
169: * If the structures passed to this procedure are not available, use the
170: * overloaded version.
171: */
172: FUNCTION checkQuantity (parameters IN CmpParams,
173: job IN wma_common.Job,
174: errMessage IN OUT NOCOPY VARCHAR2) return boolean;
175:
176:
177: /**
206: * given a Job, getLastOpSeq() gets the last operation sequence
207: * associated with the job if the job has a routing. If the job
208: * does not have a routing, -1 is returned.
209: */
210: FUNCTION getLastOpSeq (job IN wma_common.Job) return number;
211:
212:
213: /**
214: * given a wipEntityID and an orgID, getLastOpSeq() gets the last
224: * To Move step of the final operation if the job has a routing.
225: * If the job, does not have a routing, getAvailableQty() computes
226: * the available quantity to complete from the job quantities.
227: */
228: FUNCTION getAvailableQty (job IN wma_common.Job) return number;
229:
230: /**
231: * Collects backflush components for the job into the x_compInfo object
232: */