Hi folks,
I am a bit confused as to what static reference to use in a SalesOrder for the setDepartment and setLocation RecordTypes. The RecordType object doesnt have a specific department or location type.
In the DTD the departmentRef and locationRef are defined by;
[INDENT]<!ELEMENT departmentRef (%HierarchicalNameType;)>
<!ELEMENT locationRef (%HierarchicalNameType;)>[/INDENT]
does this mean I should set the RecordType for the department and location as;
[INDENT]so.setDepartment(new RecordRef("1",RecordType.salesOrder));
so.setLocation(new RecordRef("2",RecordType.salesOrder));[/INDENT]
where so is the reference to a SalesOrder object.
Cameron Riley