Search in sources :

Example 6 with RunOutOfTrx

use of de.metas.process.RunOutOfTrx in project metasfresh-webui-api by metasfresh.

the class WEBUI_CreateRequest method doIt.

@Override
@RunOutOfTrx
protected String doIt() throws Exception {
    final String tableName = getTableName();
    if (I_C_BPartner.Table_Name.equals(tableName)) {
        final I_C_BPartner bpartner = getRecord(I_C_BPartner.class);
        createRequestFromBPartner(bpartner);
    } else {
        throw new IllegalStateException("Not supported: " + tableName);
    }
    return MSG_OK;
}
Also used : I_C_BPartner(org.compiere.model.I_C_BPartner) RunOutOfTrx(de.metas.process.RunOutOfTrx)

Aggregations

RunOutOfTrx (de.metas.process.RunOutOfTrx)6 I_M_HU (de.metas.handlingunits.model.I_M_HU)2 I_M_HU_LUTU_Configuration (de.metas.handlingunits.model.I_M_HU_LUTU_Configuration)2 I_M_ReceiptSchedule (de.metas.handlingunits.model.I_M_ReceiptSchedule)2 TerminalException (de.metas.adempiere.form.terminal.TerminalException)1 ILUTUConfigurationFactory (de.metas.handlingunits.allocation.ILUTUConfigurationFactory)1 ILUTUProducerAllocationDestination (de.metas.handlingunits.allocation.ILUTUProducerAllocationDestination)1 ReceiptCorrectHUsProcessor (de.metas.handlingunits.inout.ReceiptCorrectHUsProcessor)1 IPPOrderReceiptHUProducer (de.metas.handlingunits.pporder.api.IPPOrderReceiptHUProducer)1 ReceiptScheduleHUGenerator (de.metas.handlingunits.receiptschedule.impl.ReceiptScheduleHUGenerator)1 HUReportService (de.metas.handlingunits.report.HUReportService)1 HUToReport (de.metas.handlingunits.report.HUToReport)1 Quantity (de.metas.quantity.Quantity)1 PPOrderLineRow (de.metas.ui.web.pporder.PPOrderLineRow)1 AdempiereException (org.adempiere.exceptions.AdempiereException)1 I_C_BPartner (org.compiere.model.I_C_BPartner)1 I_M_InOut (org.compiere.model.I_M_InOut)1 I_DD_OrderLine (org.eevolution.model.I_DD_OrderLine)1