| java.lang.Object org.ofbiz.manufacturing.techdata.TechDataServices
TechDataServices | public class TechDataServices (Code) | | TechDataServices - TechData related Services
author: Olivier Heintz version: $Revision: 1.4 $ since: 3.0 |
checkRoutingTaskAssoc | public static Map checkRoutingTaskAssoc(DispatchContext ctx, Map context)(Code) | | Used to check if there is not two routing task with the same SeqId valid at the same period
author: holivier Parameters: ctx - context: a map containing workEffortIdFrom (routing) and SeqId, fromDate thruDate result: a map containing sequenceNumNotOk which is equal to "Y" if it's not Ok |
lookupRoutingTask | public static Map lookupRoutingTask(DispatchContext ctx, Map context)(Code) | | Used to retreive some RoutingTasks (WorkEffort) selected by Name or MachineGroup ordered by Name
author: holivier Parameters: ctx - context: a map containing workEffortName (routingTaskName) and fixedAssetId (MachineGroup or ANY) result: a map containing lookupResult (list of RoutingTask <=> workEffortId with currentStatusId = "ROU_ACTIVE" and workEffortTypeId = "ROU_TASK" |
productBomIsValid | public static boolean productBomIsValid(GenericValue productBom, java.sql.Timestamp testDate)(Code) | | Used to check if the productBom is valid for the testDate, currently only tested on date but in futur, maybe there will be the option {valid until stock=0>}
author: holivier productBom: the productBom to test testDate: a date true if the productBom is valid |
routingTaskAssocIsValid | public static boolean routingTaskAssocIsValid(GenericValue routingTaskAssoc, java.sql.Timestamp testDate)(Code) | | Used to check if the routingtaskAssoc is valid for the testDate
author: holivier routingTaskAssoc: the routingTaskAssoc to test testDate: a date true if the routingTAskAssoc is valid |
|
|