Package org.brerp.base.process
Class ProcProrateDiscount
java.lang.Object
org.compiere.process.SvrProcess
org.brerp.base.process.ProcProrateDiscount
- All Implemented Interfaces:
ProcessCall
Prorate Discount among Order Lines
- Version:
- $Id: ProcProrateDiscount.java, 25/06/2015 10:26:04 lucasb
- Author:
- Lucas Buglio (lucas.buglio@devcoffee.com.br, http://www.devcoffee.com.br)
-
Field Summary
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
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
-
Constructor Details
-
ProcProrateDiscount
public ProcProrateDiscount()
-
-
Method Details
-
prepare
protected void prepare()Prepare - e.g., get Parameters.- Specified by:
prepare
in classSvrProcess
-
doIt
Description copied from class:SvrProcess
Perform process.- Specified by:
doIt
in classSvrProcess
- Returns:
- Message (variables are parsed)
- Throws:
Exception
- if not successful e.g. throw new AdempiereUserError ("@FillMandatory@ @C_BankAccount_ID@");- See Also:
-