PRIMAVERA | Developers

    Show / Hide Table of Contents

    Class InvBEArtigoLotes

    Classe que identifica uma coleção de lotes de artigo.

    Inheritance
    System.Object
    InvBaseBE
    InvBEArtigoLotes
    Implements
    System.Collections.Generic.IEnumerable<InvBEArtigoLote>
    System.Collections.IEnumerable
    Inherited Members
    InvBaseBE.AbvtApl
    Namespace: InvBE100
    Assembly: InvBE100.dll
    Syntax
    public class InvBEArtigoLotes : InvBaseBE, IEnumerable<InvBEArtigoLote>, IEnumerable

    Constructors

    InvBEArtigoLotes()

    Construtor da classe.

    Declaration
    public InvBEArtigoLotes()

    InvBEArtigoLotes(IEnumerable<InvBEArtigoLote>)

    Construtor da classe.

    Declaration
    public InvBEArtigoLotes(IEnumerable<InvBEArtigoLote> items)
    Parameters
    Type Name Description
    System.Collections.Generic.IEnumerable<InvBEArtigoLote> items

    Coleção com os lotes dos artigos.

    Properties

    ModoAlteracao

    Modo de alteração do registo.

    Declaration
    public BasBETiposGcp.enuModosAlteracaoObjectos ModoAlteracao { get; set; }
    Property Value
    Type Description
    BasBETiposGcp.enuModosAlteracaoObjectos

    md_NaoAlterado - Sem alteração; md_Inserido - Novo registo; md_Modificado - Registo alterado; md_Apagado - Registo removido

    NumItens

    Total de lotes na coleção.

    Declaration
    public int NumItens { get; }
    Property Value
    Type Description
    System.Int32

    Methods

    Add(Object)

    Insere um lote na coleção.

    Declaration
    public void Add(object objCampo)
    Parameters
    Type Name Description
    System.Object objCampo

    Objeto que identifica o lote do artigo (InvBEArtigoLote).

    Finalize()

    Destrutor da classe.

    Declaration
    protected override void Finalize()

    GetEdita(Object)

    Edita um lote do artigo a partir da coleção.

    Declaration
    public InvBEArtigoLote GetEdita(dynamic Index)
    Parameters
    Type Name Description
    System.Object Index

    Indice do lote do artigo.

    Returns
    Type Description
    InvBEArtigoLote

    Objeto que representa o lote do artigo.

    Insere(InvBEArtigoLote)

    Insere um lote na coleção.

    Declaration
    public dynamic Insere(InvBEArtigoLote objInvBEArtigoLote)
    Parameters
    Type Name Description
    InvBEArtigoLote objInvBEArtigoLote

    Objeto que identifica o lote do artigo.

    Returns
    Type Description
    System.Object

    Null

    Remove(Object)

    Remove um lote do artigo da coleção.

    Declaration
    public void Remove(dynamic Index)
    Parameters
    Type Name Description
    System.Object Index

    indice do lote do artigo.

    RemoveTodos()

    Remove todos os lotes da coleção.

    Declaration
    public void RemoveTodos()

    Implements

    System.Collections.Generic.IEnumerable<T>
    System.Collections.IEnumerable