I’m using the same DATA fetch and CRUD components as when fetching data and updating a table portlet but get the error
when running in the Gantt Portlet
This is resolved. The input differs between the table portlet and the gantt portlet. You cannot share a CRUD component between a Table Portlet and GANTT Portlet.
TABLE
{
Input: ({
OBJID: text?,
OBJVERSION: text?,
PROJECT_ID: text?,
GET_PROJECT_NAME: text?,
SUB_PROJECT_ID: text?,
ACTIVITY_NO: text?,
ACTIVITY_SEQ: text?,
COMPANY: text?,
EMPLOYEE_ID: text?,
GET_NAME: text?,
ALLOCATION_DESCRIPTION: text?,
ALLOCATION_TYPE: text?,
PERCENTAGE_ALLOCATED: number?,
HOURS_ALLOCATED: number?,
QTY_PLANNED: number?,
ACTUAL_HOURS: number?,
DATE_FROM: datetime?,
DATE_TO: datetime?,
RESOURCE_ID: text?,
RESOURCE_SEQ: text?,
FIXED_ALLOCATION: text?,
PLANNING_OBJID: text?,
PLANNING_OBJVERSION: text?,
EARLY_START: datetime,
EARLY_FINISH: datetime,
NOTE: text,
Type: text
}\*)?,
}
GANTT
{
Input: ({
Row: {
OBJID: text?,
OBJVERSION: text?,
PROJECT_ID: text?,
NAME: text?,
EMPLOYEE_ID: text?,
EMP_NAME: text?,
COMPANY: text?,
SUB_PROJECT_ID: text?,
ACTIVITY_NO: text?,
ACTIVITY_SEQ: text?,
STATE: text?,
ACTIVITY_DESCRIPTION: text?,
ALLOCATION_DESCRIPTION: text?,
RESOURCE_ID: text?,
RESOURCE_SEQ: text?,
FIXED_ALLOCATION: text?,
DATE_FROM: text?,
DATE_TO: text?,
QTY_PLANNED: text?,
HOURS_ALLOCATED: text?,
PERCENTAGE_ALLOCATED: text?,
QTY_CONSUMED: text?,
ALLOCATION_TYPE_DB: text?,
ALLOCATION_TYPE: text?
},
OperationType: text,
TaskId: text | number,
ParentId: text | number,
StartDate: datetime,
EndDate: datetime,
PercentComplete: number?,
Resources: ({
ResourceId: text?,
Description: text?,
ResourceSeq: number?
}\*)?,
Dependencies: ({
From: text | number,
To: text | number,
Type: text,
Action: text?
}\*)?,
PortletType: text
}\*)?
}