/// <summary>
 ///
 /// </summary>
 /// <param name="sFBillTypeID">单据类型代码</param>
 /// <param name="sFSaleOrgId">销售组织代码</param>
 /// <param name="sFDate">日期</param>
 /// <param name="sFStockOrgId">发货组织代码</param>
 /// <param name="sFStoreomerID">客户代码</param>
 /// <param name="SubHeadEntitys">表头信息</param>
 /// <param name="FEntitys">表体信息</param>
 /// <param name="FOutStockTraces">出货信息</param>
 public SAL_OUTSTOCK(string sFBillTypeID, string sFSaleOrgId, string sFDate, string sFStockOrgId, string sFStoreomerID, SAL_OUTSTOCK__SubHeadEntity SubHeadEntitys, SAL_OUTSTOCK__FEntity[] FEntitys, SAL_OUTSTOCK__FOutStockTrace[] FOutStockTraces)
 {
     FDate               = sFDate;
     FBillTypeID         = new SAL_OUTSTOCK_BOS_BillType();
     FBillTypeID.FNumber = sFBillTypeID;
     FSaleOrgId          = new SAL_OUTSTOCK_ORG_Organizations();
     FSaleOrgId.FNumber  = sFSaleOrgId;
     FSaleDeptID         = new SAL_OUTSTOCK_BD_Department();
     FCustomerID         = new SAL_OUTSTOCK_BD_Customer();
     FCustomerID.FNumber = sFStoreomerID;
     FHeadLocationId     = new SAL_OUTSTOCK_BD_CUSTCONTACTION();
     FCarrierID          = new SAL_OUTSTOCK_BD_Supplier();
     FCorrespondOrgId    = new SAL_OUTSTOCK_ORG_Organizations();
     FSalesGroupID       = new SAL_OUTSTOCK_BD_OperatorGroup();
     FSalesManID         = new SAL_OUTSTOCK_BD_Saler();
     FStockOrgId         = new SAL_OUTSTOCK_ORG_Organizations();
     FStockOrgId.FNumber = sFStockOrgId;
     FDeliveryDeptID     = new SAL_OUTSTOCK_BD_Department();
     FStockerGroupID     = new SAL_OUTSTOCK_BD_OperatorGroup();
     FStockerID          = new SAL_OUTSTOCK_BD_WAREHOUSEWORKERS();
     FReceiverID         = new SAL_OUTSTOCK_BD_Customer();
     FSettleID           = new SAL_OUTSTOCK_BD_Customer();
     FReceiverContactID  = new SAL_OUTSTOCK_BD_StoreContact();
     FPayerID            = new SAL_OUTSTOCK_BD_Customer();
     FOwnerIdHead        = new SAL_OUTSTOCK_BOS_ItemClass();
     SubHeadEntity       = SubHeadEntitys;
     FEntity             = FEntitys;
     FOutStockTrace      = FOutStockTraces;
 }
 /// <summary>
 /// 出库明细
 /// </summary>
 /// <param name="sFOwnerID">货主:FOwnerID  (必填项)</param>
 /// <param name="sFUnitID">库存单位:FUnitID  (必填项)</param>
 public SAL_OUTSTOCK__FEntity(string sFOwnerID, string sFUnitID, SAL_OUTSTOCK_BD_MATERIAL sFMaterialID)
 {
     FCustMatID = new SAL_OUTSTOCK_Sal_StoreMatMappingView();
     //FAuxPropId = new BD_FLEXSITEMDETAILV_FAuxPropId();
     FUnitID         = new SAL_OUTSTOCK_BD_UNIT();
     FUnitID.FNumber = sFUnitID;
     //FBomID = new SAL_OUTSTOCK_ENG_BOM();
     FOwnerID         = new SAL_OUTSTOCK_BOS_ItemClass();
     FOwnerID.FNumber = sFOwnerID;
     FMaterialID      = sFMaterialID;
     //FLot = new SAL_OUTSTOCK_BD_BatchMainFile();
     //FTaxCombination = new SAL_OUTSTOCK_BD_TAXMIX();
     //FExtAuxUnitId = new SAL_OUTSTOCK_BD_UNIT();
     FStockID         = new SAL_OUTSTOCK_BD_STOCK();
     FStockID.FNumber = "CK001";
     //FStockLocID = new BD_FLEXVALUESDETAIL_FStockLocID();
     //FStockStatusID = new SAL_OUTSTOCK_BD_StockStatus();
     //FSalUnitID = new SAL_OUTSTOCK_BD_UNIT();
     //FEOwnerSupplierId = new SAL_OUTSTOCK_BD_Supplier();
     //FESettleStoreomerId = new SAL_OUTSTOCK_BD_Storeomer();
     //FPriceListEntry = new SAL_OUTSTOCK_BD_SAL_PriceList();
     //FTaxDetailSubEntity = new SAL_OUTSTOCK__FTaxDetailSubEntity[] { new SAL_OUTSTOCK__FTaxDetailSubEntity() };
     //FSerialSubEntity = new SAL_OUTSTOCK__FSerialSubEntity[] { new SAL_OUTSTOCK__FSerialSubEntity() };
 }