private static ProposalsLine GenerateProposal(CrmBELinhaPropostaOPV proposalLineInfo)
 {
     return(new ProposalsLine()
     {
         idOportunidade = proposalLineInfo.get_IdOportunidade(),
         ProposalNumber = proposalLineInfo.get_NumProposta(),
         Line = proposalLineInfo.get_Linha(),
         Article = proposalLineInfo.get_Artigo(),
         Description = proposalLineInfo.get_Descricao(),
         Quantity = proposalLineInfo.get_Quantidade(),
         Unit = proposalLineInfo.get_Unidade(),
         FactorConv = proposalLineInfo.get_FactorConv(),
         CostPrice = proposalLineInfo.get_PrecoCusto(),
         SellsPrice = proposalLineInfo.get_PrecoVenda(),
         Discount1 = proposalLineInfo.get_Desconto1(),
         Discount2 = proposalLineInfo.get_Desconto2(),
         Discount3 = proposalLineInfo.get_Desconto3(),
         Discount = proposalLineInfo.get_Desconto(),
         DiscountValue = proposalLineInfo.get_ValorDesconto(),
         Rentability = proposalLineInfo.get_Rentabilidade(),
         Margin = proposalLineInfo.get_Margem(),
         Observations = proposalLineInfo.get_Observacoes(),
     });
 }