Package org.brerp.tms.ui.apps.form
Class PackingListNote
java.lang.Object
org.compiere.process.SvrProcess
org.brerp.tms.ui.apps.form.PackingListNote
- All Implemented Interfaces:
ProcessCall
PackingListNote
- Version:
- $Id: PackingListNote.java, 13/05/2015 17:24:35 lucasb
- Author:
- Lucas Buglio (lucas.buglio@devcoffee.com.br, http://www.devcoffee.com.br)
-
Field Summary
FieldsFields inherited from class org.compiere.process.SvrProcess
MSG_InvalidArguments, MSG_SaveErrorRowNotFound, PROCESS_INFO_CTX_KEY, PROCESS_UI_CTX_KEY, processUI -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected StringdoIt()Process implementation class will override this method to execution process actions.voidendPacking(int COF_PackingList_ID, Timestamp shipDate, String trxName) Ends Packing-List if Delivery Occurrence is Ends PackingintvoidloadPackingLineTable(IMiniTable miniTable, int AD_Org_ID, int COF_PackingList_ID) Query and create TableInfovoidloadPackingTable(IMiniTable miniTable, int AD_Org_ID, String packingType, int COF_Driver_ID, int COF_Equipments_ID, int COF_PackingList_ID) onConfirm(String tipoApontamento, IMiniTable pllMiniTable, IMiniTable plMiniTable, Timestamp shipDate, int COF_DeliveryOccurrence_ID, int userSearchId, int kmEquipment, int apontPeso) Update Packing-ListonConfirmHeader(String tipoApontamento, IMiniTable pllMiniTable, IMiniTable plMiniTable, Timestamp shipDate, int COF_DeliveryOccurrence_ID, int userSearchId, int kmEquipment, int apontPeso) Update Packing-Listprotected voidprepare()Prepare process - e.g., get Parameters.voidpreparePackingLineTable(IMiniTable miniTable) Prepare TablevoidpreparePackingTable(IMiniTable miniTable) Prepare TablevoidupdatePacking(String tipoApontamento, IMiniTable plMiniTable, int userSearchId, int kmEquipment, int apontPeso, String trxName) Update Packing-ListvoidupdatePackingLine(IMiniTable pllMiniTable, IMiniTable plMiniTable, Timestamp shipDate, int COF_DeliveryOccurrence_ID, String trxName) Update Packing-List LineMethods 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
-
log
Logger -
m_WindowNo
public int m_WindowNoWindow No -
packingStatus
Packing Type - Closed
-
-
Constructor Details
-
PackingListNote
public PackingListNote()
-
-
Method Details
-
preparePackingTable
Prepare Table- Parameters:
miniTable-
-
preparePackingLineTable
Prepare Table- Parameters:
miniTable-
-
loadPackingLineTable
Query and create TableInfo- Parameters:
miniTable-AD_Org_ID-M_InOut_ID-packingType-M_Shipper_ID-
-
loadPackingTable
public void loadPackingTable(IMiniTable miniTable, int AD_Org_ID, String packingType, int COF_Driver_ID, int COF_Equipments_ID, int COF_PackingList_ID) -
onConfirm
public String onConfirm(String tipoApontamento, IMiniTable pllMiniTable, IMiniTable plMiniTable, Timestamp shipDate, int COF_DeliveryOccurrence_ID, int userSearchId, int kmEquipment, int apontPeso) Update Packing-List- Parameters:
packingType-- Returns:
-
onConfirmHeader
public String onConfirmHeader(String tipoApontamento, IMiniTable pllMiniTable, IMiniTable plMiniTable, Timestamp shipDate, int COF_DeliveryOccurrence_ID, int userSearchId, int kmEquipment, int apontPeso) Update Packing-List- Parameters:
packingType-- Returns:
-
updatePacking
public void updatePacking(String tipoApontamento, IMiniTable plMiniTable, int userSearchId, int kmEquipment, int apontPeso, String trxName) Update Packing-List- Parameters:
packingType-
-
updatePackingLine
public void updatePackingLine(IMiniTable pllMiniTable, IMiniTable plMiniTable, Timestamp shipDate, int COF_DeliveryOccurrence_ID, String trxName) Update Packing-List Line- Parameters:
packingType-
-
endPacking
Ends Packing-List if Delivery Occurrence is Ends Packing- Parameters:
COF_PackingList_ID-
-
prepare
protected void prepare()Description copied from class:SvrProcessPrepare process - e.g., get Parameters.ProcessInfoParameter[] para = getParameter(); for (int i = 0; i < para.length; i++) { String name = para[i].getParameterName(); if (para[i].getParameter() == null) ; else if (name.equals("A_Asset_Group_ID")) p_A_Asset_Group_ID = para[i].getParameterAsInt(); else if (name.equals("GuaranteeDate")) p_GuaranteeDate = (Timestamp)para[i].getParameter(); else if (name.equals("AttachAsset")) p_AttachAsset = "Y".equals(para[i].getParameter()); else log.log(Level.SEVERE, "Unknown Parameter: " + name); }- Specified by:
preparein classSvrProcess- See Also:
-
doIt
Description copied from class:SvrProcessProcess implementation class will override this method to execution process actions.- Specified by:
doItin classSvrProcess- Returns:
- Message (variables are parsed)
- Throws:
Exception- if not successful e.g. throw new AdempiereUserError ("@FillMandatory@ @C_BankAccount_ID@");
-
getCOF_PackingList_Table_ID
public int getCOF_PackingList_Table_ID()
-