Class MCOFControleEstoqueEtiqueta

All Implemented Interfaces:
Serializable, Cloneable, Comparator<Object>, I_COF_ControleEstoqueEtiqueta, I_Persistent, DocAction, Evaluatee

public class MCOFControleEstoqueEtiqueta extends X_COF_ControleEstoqueEtiqueta implements DocAction
See Also:
  • Field Details

  • Constructor Details

    • MCOFControleEstoqueEtiqueta

      public MCOFControleEstoqueEtiqueta(Properties ctx, ResultSet rs, String trxName)
    • MCOFControleEstoqueEtiqueta

      public MCOFControleEstoqueEtiqueta(Properties ctx, int COF_ControleEstoqueEtiqueta_ID, String trxName)
    • MCOFControleEstoqueEtiqueta

      public MCOFControleEstoqueEtiqueta(Properties ctx, String COF_ControleEstoqueEtiqueta_UU, String trxName)
  • Method Details

    • getLines

      public MCOFControleEstoqueEtiquetaLine[] getLines()
      Get Lines of Controle de estoque por etiqueta.
      Returns:
      lines
    • getLines

      public MCOFControleEstoqueEtiquetaLine[] getLines(boolean requery)
      Get Lines of Controle de estoque por etiqueta.
      Parameters:
      requery - refresh from db
      Returns:
      lines
    • getConferencia

      public MCOFControleEstoqueEtiqueta getConferencia()
      Get Lines of Controle de estoque por etiqueta.
      Returns:
      lines
    • getConferencia

      public MCOFControleEstoqueEtiqueta getConferencia(boolean requery)
      Get Conferencia of Controle de estoque por etiqueta.
      Parameters:
      requery - refresh from db
      Returns:
      lines
    • beforeDelete

      protected boolean beforeDelete()
      Description copied from class: PO
      Execute before Delete operations.
      Default implementation is nop, to be implemented in sub-classes that needed it.
      Overrides:
      beforeDelete in class PO
      Returns:
      true if record can be deleted
    • afterDelete

      protected boolean afterDelete(boolean success)
      Description copied from class: PO
      Execute after Delete operations.
      Default implementation is nop, to be implemented in sub-classes that needed it.
      Overrides:
      afterDelete in class PO
      Parameters:
      success - true if record deleted
      Returns:
      true if delete is a success
    • getDocAction

      public String getDocAction()
      Description copied from class: X_COF_ControleEstoqueEtiqueta
      Get Document Action.
      Specified by:
      getDocAction in interface DocAction
      Specified by:
      getDocAction in interface I_COF_ControleEstoqueEtiqueta
      Overrides:
      getDocAction in class X_COF_ControleEstoqueEtiqueta
      Returns:
      The targeted status of the document
    • processIt

      public boolean processIt(String action) throws Exception
      Description copied from interface: DocAction
      Process document with document action
      Specified by:
      processIt in interface DocAction
      Parameters:
      action - document action
      Returns:
      true if performed
      Throws:
      Exception
    • getSummary

      public String getSummary()
      Description copied from interface: DocAction
      Get Summary
      Specified by:
      getSummary in interface DocAction
      Returns:
      Summary of Document
    • getDocumentNo

      public String getDocumentNo()
      Description copied from interface: DocAction
      Get Document No
      Specified by:
      getDocumentNo in interface DocAction
      Returns:
      Document No
    • getDocumentInfo

      public String getDocumentInfo()
      Description copied from interface: DocAction
      Get Document Info
      Specified by:
      getDocumentInfo in interface DocAction
      Returns:
      Type and Document No
    • createPDF

      public File createPDF()
      Description copied from interface: DocAction
      Create PDF
      Specified by:
      createPDF in interface DocAction
      Returns:
      file
    • getProcessMsg

      public String getProcessMsg()
      Description copied from interface: DocAction
      Get Process Message from last execution of a document action
      Specified by:
      getProcessMsg in interface DocAction
      Returns:
      clear text message
    • getDoc_User_ID

      public int getDoc_User_ID()
      Description copied from interface: DocAction
      Get Document Owner
      Specified by:
      getDoc_User_ID in interface DocAction
      Returns:
      AD_User_ID
    • getC_Currency_ID

      public int getC_Currency_ID()
      Description copied from interface: DocAction
      Get Document Currency
      Specified by:
      getC_Currency_ID in interface DocAction
      Returns:
      C_Currency_ID
    • getApprovalAmt

      public BigDecimal getApprovalAmt()
      Description copied from interface: DocAction
      Get Document Approval Amount
      Specified by:
      getApprovalAmt in interface DocAction
      Returns:
      amount
    • unlockIt

      public boolean unlockIt()
      Description copied from interface: DocAction
      Unlock Document.
      Specified by:
      unlockIt in interface DocAction
      Returns:
      true if success
    • invalidateIt

      public boolean invalidateIt()
      Description copied from interface: DocAction
      Invalidate Document
      Specified by:
      invalidateIt in interface DocAction
      Returns:
      true if success
    • approveIt

      public boolean approveIt()
      Description copied from interface: DocAction
      Approve Document
      Specified by:
      approveIt in interface DocAction
      Returns:
      true if success
    • rejectIt

      public boolean rejectIt()
      Description copied from interface: DocAction
      Reject Approval
      Specified by:
      rejectIt in interface DocAction
      Returns:
      true if success
    • voidIt

      public boolean voidIt()
      Description copied from interface: DocAction
      Void Document
      Specified by:
      voidIt in interface DocAction
      Returns:
      true if success
    • closeIt

      public boolean closeIt()
      Description copied from interface: DocAction
      Close Document
      Specified by:
      closeIt in interface DocAction
      Returns:
      true if success
    • reverseCorrectIt

      public boolean reverseCorrectIt()
      Description copied from interface: DocAction
      Reverse Correction
      Specified by:
      reverseCorrectIt in interface DocAction
      Returns:
      true if success
    • reverseAccrualIt

      public boolean reverseAccrualIt()
      Description copied from interface: DocAction
      Reverse Accrual
      Specified by:
      reverseAccrualIt in interface DocAction
      Returns:
      true if success
    • reActivateIt

      public boolean reActivateIt()
      Description copied from interface: DocAction
      Re-activate (typically from Complete to In Progress)
      Specified by:
      reActivateIt in interface DocAction
      Returns:
      true if success
    • prepareIt

      public String prepareIt()
      Description copied from interface: DocAction
      Prepare Document for a document action
      Specified by:
      prepareIt in interface DocAction
      Returns:
      new status (In Progress or Invalid)
    • completeIt

      public String completeIt()
      Description copied from interface: DocAction
      Complete Document
      Specified by:
      completeIt in interface DocAction
      Returns:
      new status (Complete, In Progress, Invalid, Waiting ..)
    • isInventario

      public boolean isInventario()
    • isMovimentacao

      public boolean isMovimentacao()
    • isMovimentacaoEntrada

      public boolean isMovimentacaoEntrada()
    • isMovimentacaoSaida

      public boolean isMovimentacaoSaida()
    • isEmprestimo

      public boolean isEmprestimo()
    • isConferencia

      public boolean isConferencia()