Package org.brerp.base.process
Class ProcReprocessarPedido
java.lang.Object
org.compiere.process.SvrProcess
org.brerp.base.process.ProcReprocessarPedido
- All Implemented Interfaces:
ProcessCall
-
Field Summary
Fields inherited from class org.compiere.process.SvrProcess
MSG_InvalidArguments, MSG_SaveErrorRowNotFound, PROCESS_INFO_CTX_KEY, PROCESS_UI_CTX_KEY, processUI
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected String
doIt()
Perform process.protected void
prepare()
Prepare - e.g., get Parameters.static void
processOrder
(MOrder order, MOrderLine single, boolean p_ReCalculateTax, boolean p_ReDefineTax, boolean p_COF_OnlyMissingTaxes, boolean p_ReDefineCFOP, boolean p_EnforcePrice, int p_M_PriceList_ID, boolean p_UnReserveStock, boolean p_RedefinirTaxa) Process OrderMethods 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
-
ProcReprocessarPedido
public ProcReprocessarPedido()
-
-
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@");
-
processOrder
public static void processOrder(MOrder order, MOrderLine single, boolean p_ReCalculateTax, boolean p_ReDefineTax, boolean p_COF_OnlyMissingTaxes, boolean p_ReDefineCFOP, boolean p_EnforcePrice, int p_M_PriceList_ID, boolean p_UnReserveStock, boolean p_RedefinirTaxa) Process Order- Parameters:
order
- - Order to be processed, mandatorysingle
- - Order Line, if null all lines from Order will be processedp_ReCalculateTax
- - Indicates if the Taxes should be recalculatedp_ReDefineTax
- - Indicates if the Taxes should be redefined from configurationp_ReDefineCFOP
- - Indicates if CFOP should be redefined from configurationp_EnforcePrice
- - Enforce Price Listp_UnReserveStock
- - Unreserve Stock
-