/// <summary> /// 表体3信息 /// </summary> /// <param name="sFQuotaType">配额方式</param> /// <param name="sFPurchasePriceUnitId">采购计价单位</param> /// <param name="sFPurchaseUnitId">采购单位</param> public BD_MATERIAL__SubHeadEntity3(string sFQuotaType, BD_MATERIAL_BD_UNIT sFPurchasePriceUnitId, BD_MATERIAL_BD_UNIT sFPurchaseUnitId) { FQuotaType = sFQuotaType; FPurchaseUnitId = sFPurchaseUnitId; FPurchasePriceUnitId = sFPurchasePriceUnitId; FPurchaseOrgId = new BD_MATERIAL_ORG_Organizations(); FPurchaseGroupId = new BD_MATERIAL_BD_OperatorGroup(); FPurchaserId = new BD_MATERIAL_BD_BUYER(); FDefaultVendor = new BD_MATERIAL_BD_Supplier(); FChargeID = new BD_MATERIAL_BD_Expense(); FDefBarCodeRuleId = new BD_MATERIAL_BD_BarCodeRule(); }
/// <summary> /// 物料信息 /// </summary> /// <param name="sFName">物料名称</param> /// <param name="sFNumber">物料代码</param> /// <param name="sFUseOrgId">使用组织</param> /// <param name="sFCreateOrgId">创建组织</param> /// <param name="sSubHeadEntity">表体</param> /// <param name="sSubHeadEntity1">表体1</param> /// <param name="sSubHeadEntity2">表体2</param> /// <param name="sSubHeadEntity3">表体3</param> /// <param name="sSubHeadEntity4">表体4</param> /// <param name="sSubHeadEntity5">表体5</param> /// <param name="sFEntityInvPty"></param> public Material(string sFName, string sFNumber, BD_MATERIAL_ORG_Organizations sFUseOrgId, BD_MATERIAL_ORG_Organizations sFCreateOrgId, BD_MATERIAL__SubHeadEntity sSubHeadEntity, BD_MATERIAL__SubHeadEntity1 sSubHeadEntity1, BD_MATERIAL__SubHeadEntity2 sSubHeadEntity2, BD_MATERIAL__SubHeadEntity3 sSubHeadEntity3, BD_MATERIAL__SubHeadEntity4 sSubHeadEntity4, BD_MATERIAL__SubHeadEntity5 sSubHeadEntity5, BD_MATERIAL__FEntityInvPty[] sFEntityInvPty) { FName = sFName; FNumber = sFNumber; FCreateOrgId = sFCreateOrgId; FUseOrgId = sFUseOrgId; FMaterialGroup = new BD_MATERIAL_BOS_FORMGROUP(); SubHeadEntity = sSubHeadEntity; SubHeadEntity1 = sSubHeadEntity1; SubHeadEntity2 = sSubHeadEntity2; SubHeadEntity3 = sSubHeadEntity3; SubHeadEntity4 = sSubHeadEntity4; SubHeadEntity5 = sSubHeadEntity5; SubHeadEntity7 = new BD_MATERIAL__SubHeadEntity7(); SubHeadEntity6 = new BD_MATERIAL__SubHeadEntity6(); FEntityAuxPty = new BD_MATERIAL__FEntityAuxPty[] { new BD_MATERIAL__FEntityAuxPty() }; FEntityInvPty = sFEntityInvPty; }