|
Compiere 3.1 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.compiere.model.ScheduleUtil
public class ScheduleUtil
Scheduling Utilities.
| Field Summary | |
|---|---|
static Timestamp |
EARLIEST
Begin Timestamp 1/1/1970 |
static Timestamp |
LATEST
End Timestamp 12/31/2070 |
| Constructor Summary | |
|---|---|
ScheduleUtil(Ctx ctx)
Constructor |
|
| Method Summary | |
|---|---|
MAssignmentSlot[] |
getAssignmentSlots(int S_Resource_ID,
Timestamp start_Date,
Timestamp end_Date,
BigDecimal qty,
boolean getAll,
String trxName)
Get Assignments for timeframe. |
MAssignmentSlot[] |
getDayTimeSlots()
Get Day Time Slots for Date |
Timestamp |
getEndDate()
Return End Date. |
int |
getS_Resource_ID()
Get Resource ID. |
Timestamp |
getStartDate()
Return Start Date. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final Timestamp EARLIEST
public static final Timestamp LATEST
| Constructor Detail |
|---|
public ScheduleUtil(Ctx ctx)
ctx - context| Method Detail |
|---|
public MAssignmentSlot[] getAssignmentSlots(int S_Resource_ID,
Timestamp start_Date,
Timestamp end_Date,
BigDecimal qty,
boolean getAll,
String trxName)
- Resource is Active and Available
- Resource UnAvailability
- NonBusinessDay
- ResourceType Available
S_Resource_ID - resourcestart_Date - start dateend_Date - optional end date, need to provide qty to calculate itqty - optional qty in ResourceType UOM - ignored, if end date is not nullgetAll - if true return all errorstrxName - transaction
public MAssignmentSlot[] getDayTimeSlots()
public int getS_Resource_ID()
public Timestamp getStartDate()
public Timestamp getEndDate()
|
Compiere 3.1 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||