private boolean verifyPaymentAllocateVsHeader(MPaymentAllocate[] pAllocs){
  if (pAllocs.length > 0) {
    if (getC_Charge_ID() > 0 || getC_Invoice_ID() > 0 || getC_Order_ID() > 0)     return false;
  }
  return true;
}

private boolean verifyPaymentAllocateVsHeader ( MPaymentAllocate [ ] pAllocs ) { if ( pAllocs . length > 0 ) { if ( getC_Charge_ID ( ) > 0 || getC_Invoice_ID ( ) > 0 || getC_Order_ID ( ) > 0 ) return false ; } return true ; }
verify payment allocate is ignored ( must not exists ) if the payment header has charge / invoice / order
