/// <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="sFSettleCurrID">结算币别</param>
 /// <param name="sFSettleOrgID">结算组织</param>
 public SAL_OUTSTOCK__SubHeadEntity(string sFSettleCurrID, string sFSettleOrgID)
 {
     FSettleCurrID         = new SAL_OUTSTOCK_BD_Currency();
     FSettleCurrID.FNumber = sFSettleCurrID;
     FSettleOrgID          = new SAL_OUTSTOCK_ORG_Organizations();
     FSettleOrgID.FNumber  = sFSettleOrgID;
     FSettleTypeID         = new SAL_OUTSTOCK_BD_SETTLETYPE();
     FReceiptConditionID   = new SAL_OUTSTOCK_BD_RecCondition();
     FPriceListId          = new SAL_OUTSTOCK_BD_SAL_PriceList();
     FDiscountListId       = new SAL_OUTSTOCK_BD_SAL_DiscountList();
     FLocalCurrID          = new SAL_OUTSTOCK_BD_Currency();
     FExchangeTypeID       = new SAL_OUTSTOCK_BD_RateType();
 }