Package org.brerp.base.process
Class ProcMassiveCommission
java.lang.Object
org.compiere.process.SvrProcess
org.compiere.process.CommissionCalc
org.brerp.base.process.ProcCOFCommissionCalc
org.brerp.base.process.ProcMassiveCommission
- All Implemented Interfaces:
ProcessCall
Massive Commission Calculation
- Author:
- Vinicius Henrique Moraes - ViniMoraes - BrERP Importação com Tratamento de Atributos.
-
Field Summary
Fields inherited from class org.brerp.base.process.ProcCOFCommissionCalc
COF_ISCALCAVALIACAO, DIGITADOR, isConsiderarPrecoMedio, isIncluirMeta, meta, META_POR_PESO, META_POR_VALOR, metaAlcancada, pesoTotal, qtdTotal, tipoDeMeta, valorTotal, VENDEDOR
Fields inherited from class org.compiere.process.CommissionCalc
m_com, m_EndDate, p_StartDate
Fields inherited from class org.compiere.process.SvrProcess
log, MSG_InvalidArguments, MSG_SaveErrorRowNotFound, PROCESS_INFO_CTX_KEY, PROCESS_UI_CTX_KEY, processUI
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected String
doIt()
Esse processo vai pegar a data como parâmetro e para todas as comissões ativas desse cliente e organização ele vai gerar um comissioncalc o processo é o mesmo da CommissionCalc, só foi herdado e adicionado um log no fim do processoprotected void
prepare()
Prepare - e.g., get Parameters.Methods inherited from class org.brerp.base.process.ProcCOFCommissionCalc
buscarMetaAtingida, createCommissionRun, createDetail, doIt, geraComissao, getCommissionLineWhereClause, getInvoiceCommissionSQL, getOrderCommissionSQL
Methods inherited from class org.compiere.process.CommissionCalc
checkParameters, getCommissionCalculationSQL, getCommissionRunDescription, getPaymentCommissionSQL, setStartEndDate
Methods inherited from class org.compiere.process.SvrProcess
addBufferLog, addLog, addLog, addLog, commit, commitEx, doIt, get_TrxName, getAD_Client_ID, getAD_PInstance_ID, getAD_User_ID, getCtx, getName, getParameter, getProcessInfo, getRecord_ID, getRecord_IDs, getRecord_UU, getRecord_UUs, getTable_ID, isLocked, lockObject, postProcess, rollback, saveProgress, saveStatus, setProcessUI, startProcess, statusUpdate, unlockObject, updateProgress
-
Field Details
-
AD_Org_ID
Prepare - e.g., get Parameters.
-
-
Constructor Details
-
ProcMassiveCommission
public ProcMassiveCommission()
-
-
Method Details
-
prepare
protected void prepare()Description copied from class:CommissionCalc
Prepare - e.g., get Parameters.- Overrides:
prepare
in classCommissionCalc
-
doIt
Esse processo vai pegar a data como parâmetro e para todas as comissões ativas desse cliente e organização ele vai gerar um comissioncalc o processo é o mesmo da CommissionCalc, só foi herdado e adicionado um log no fim do processo- Overrides:
doIt
in classCommissionCalc
- Returns:
- Message (text with variables)
- Throws:
Exception
- if not successful
-