Skip to content

Instantly share code, notes, and snippets.

@gsherman
Created January 28, 2014 16:04
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save gsherman/8670495 to your computer and use it in GitHub Desktop.
Save gsherman/8670495 to your computer and use it in GitHub Desktop.
Example DAT file for adding a custom property (Subcase Type) to an existing task definition
OBJECT TYPE="cls_prop", NAME="subcaseTypePropertyForTaskSet"
FIELDS
destn_path="sub_type";
source_type=0;
source_path="sub_type";
source_value="General";
userdef_ind=1;
mand_ind=0;
display_name="Subcase Type"
db_data_type=516;
db_data_dsply="character";
src_typ_dsply="value";
END_FIELDS
RELATIONS
TO_NAME="ClassReference" REL="cls_prop2cls_ref";
END_RELATIONS
END_OBJECT NAME="subcaseTypePropertyForTaskSet"
REFERENCE TYPE="cls_ref", NAME="ClassReference"
UNIQUE_FIELD=from_type,to_type,path
UNIQUE_RELATION=cls_ref2cls_factory
FIELDS
from_type=24;
to_type=24;
path="";
END_FIELDS
RELATIONS
TO_NAME="ClassFactory" REL="cls_ref2cls_factory";
END_RELATIONS
END_REFERENCE NAME="ClassReference"
REFERENCE TYPE="cls_factory", NAME="ClassFactory"
UNIQUE_FIELD=focus_type,title
FIELDS
focus_type=24;
title=6;
END_FIELDS
END_REFERENCE NAME="ClassFactory"
REFERENCE TYPE="stage_task", NAME="StageTask"
UNIQUE_FIELD=appl_id,task_id
FIELDS
task_id=6;
appl_id="";
END_FIELDS
END_REFERENCE NAME="StageTask"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment