question: public String order ( Properties ctx , int WindowNo , GridTab mTab , GridField mField , Object value ) { Integer C_Order_ID = ( Integer ) value ; if ( C_Order_ID == null || C_Order_ID . intValue ( ) == 0 ) return "" ; if ( isCalloutActive ( ) ) return "" ; MOrder order = new MOrder ( ctx , C_Order_ID . intValue ( ) , null ) ; if ( order . get_ID ( ) != 0 ) { mTab . setValue ( "DateOrdered" , order . getDateOrdered ( ) ) ; mTab . setValue ( "POReference" , order . getPOReference ( ) ) ; mTab . setValue ( "AD_Org_ID" , new Integer ( order . getAD_Org_ID ( ) ) ) ; mTab . setValue ( "AD_OrgTrx_ID" , new Integer ( order . getAD_OrgTrx_ID ( ) ) ) ; mTab . setValue ( "C_Activity_ID" , new Integer ( order . getC_Activity_ID ( ) ) ) ; mTab . setValue ( "C_Campaign_ID" , new Integer ( order . getC_Campaign_ID ( ) ) ) ; mTab . setValue ( "C_Project_ID" , new Integer ( order . getC_Project_ID ( ) ) ) ; mTab . setValue ( "User1_ID" , new Integer ( order . getUser1_ID ( ) ) ) ; mTab . setValue ( "User2_ID" , new Integer ( order . getUser2_ID ( ) ) ) ; mTab . setValue ( "M_Warehouse_ID" , new Integer ( order . getM_Warehouse_ID ( ) ) ) ; mTab . setValue ( "DeliveryRule" , order . getDeliveryRule ( ) ) ; mTab . setValue ( "DeliveryViaRule" , order . getDeliveryViaRule ( ) ) ; mTab . setValue ( "M_Shipper_ID" , new Integer ( order . getM_Shipper_ID ( ) ) ) ; mTab . setValue ( "FreightCostRule" , order . getFreightCostRule ( ) ) ; mTab . setValue ( "FreightAmt" , order . getFreightAmt ( ) ) ; mTab . setValue ( "C_BPartner_ID" , new Integer ( order . getC_BPartner_ID ( ) ) ) ; mTab . setValue ( "C_BPartner_Location_ID" , new Integer ( order . getC_BPartner_Location_ID ( ) ) ) ; if ( order . getAD_User_ID ( ) > 0 ) mTab . setValue ( "AD_User_ID" , new Integer ( order . getAD_User_ID ( ) ) ) ; else mTab . setValue ( "AD_User_ID" , null ) ; } return "" ; }
target:  C_Order - Order Defaults.