Primavera P6 API addSpreadPeriod
I try to call ResourceAssignmentSpreadPeriod method addSpreadPeriod(Date date). But I got a BusinessRuleException:
You can only enter future period bucket values during an assignment's valid work-time(start=4/30/15 11:00 PM, finish=5/1/15 12:00 AM). Please check the calendar for the assignment's work-time.
I have no idea what will be the solution. Do anyone has a clue?