public static WorkOrderIssueDetail CreateWorkOrderIssueDetail(int ID, int workOrderIssueDetail_WorkOrder, int workOrderIssue_Product, int workOrderIssue_Location, string issueLot, double issueQuantity, decimal issueUnitCost, byte[] rowVersion)
 {
     WorkOrderIssueDetail workOrderIssueDetail = new WorkOrderIssueDetail();
     workOrderIssueDetail.Id = ID;
     workOrderIssueDetail.WorkOrderIssueDetail_WorkOrder = workOrderIssueDetail_WorkOrder;
     workOrderIssueDetail.WorkOrderIssue_Product = workOrderIssue_Product;
     workOrderIssueDetail.WorkOrderIssue_Location = workOrderIssue_Location;
     workOrderIssueDetail.IssueLot = issueLot;
     workOrderIssueDetail.IssueQuantity = issueQuantity;
     workOrderIssueDetail.IssueUnitCost = issueUnitCost;
     workOrderIssueDetail.RowVersion = rowVersion;
     return workOrderIssueDetail;
 }
 public void AddToWorkOrderIssueDetails(WorkOrderIssueDetail workOrderIssueDetail)
 {
     base.AddObject("WorkOrderIssueDetails", workOrderIssueDetail);
 }