Class MBPRelation

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

public class MBPRelation extends X_C_BP_Relation
Persistence model for BP Relation
Author:
Carlos Ruiz - globalqss - bxservice
See Also:
  • Constructor Details

    • MBPRelation

      public MBPRelation(Properties ctx, int C_BP_Relation_ID, String trxName)
      ID based Constructor
      Parameters:
      ctx - Context
      C_BP_Relation_ID - ID key
      trxName - Transaction
    • MBPRelation

      public MBPRelation(Properties ctx, String C_BP_Relation_UU, String trxName)
      UUID based Constructor
      Parameters:
      ctx - Context
      C_BP_Relation_UU - UUID key
      trxName - Transaction
    • MBPRelation

      public MBPRelation(Properties ctx, ResultSet rs, String trxName)
      Load Constructor
      Parameters:
      ctx - context
      rs - result set
      trxName - transaction
  • Method Details

    • canPay

      public static boolean canPay(Properties ctx, int bpProxyId, int bpDocId, String trxName)
      Validates if the BP Relation can be used to pay a document
      Parameters:
      ctx -
      bpProxyId -
      bpDocId -
      trxName -
      Returns: