Testing.BillOfMaterial.CreateBillOfMaterial C# (CSharp) Method

CreateBillOfMaterial() public static method

Create a new BillOfMaterial object.
public static CreateBillOfMaterial ( global billOfMaterialsID, global componentID, global startDate, global unitMeasureCode, global bOMLevel, global perAssemblyQty, global modifiedDate ) : BillOfMaterial
billOfMaterialsID global Initial value of the BillOfMaterialsID property.
componentID global Initial value of the ComponentID property.
startDate global Initial value of the StartDate property.
unitMeasureCode global Initial value of the UnitMeasureCode property.
bOMLevel global Initial value of the BOMLevel property.
perAssemblyQty global Initial value of the PerAssemblyQty property.
modifiedDate global Initial value of the ModifiedDate property.
return BillOfMaterial
        public static BillOfMaterial CreateBillOfMaterial(global::System.Int32 billOfMaterialsID, global::System.Int32 componentID, global::System.DateTime startDate, global::System.String unitMeasureCode, global::System.Int16 bOMLevel, global::System.Decimal perAssemblyQty, global::System.DateTime modifiedDate)
        {
            BillOfMaterial billOfMaterial = new BillOfMaterial();
            billOfMaterial.BillOfMaterialsID = billOfMaterialsID;
            billOfMaterial.ComponentID = componentID;
            billOfMaterial.StartDate = startDate;
            billOfMaterial.UnitMeasureCode = unitMeasureCode;
            billOfMaterial.BOMLevel = bOMLevel;
            billOfMaterial.PerAssemblyQty = perAssemblyQty;
            billOfMaterial.ModifiedDate = modifiedDate;
            return billOfMaterial;
        }