I create a new action "CREATEDOC" in Web Part Request Template and Defined as System. Then added this to my group. In codeunit "EP XML Document Receive" I added :
'CREATEDOC :
ModifyData.InsertDoc(XMLDocIn,XMLDocOut);
I added whatever code I needed in this new function. I also linked the header table to this action (Added a new option for Type "Create Doc" to table "EP WP Request Table Action" and linked to 'CREATEDOC' in table code :
Type::"Create Doc":
BEGIN
"Type ID" := 0;
VALIDATE(Code,'CREATEBRIEF');
END;
I am not sure what the type id should be and where it is used, but when I press the button "Create Doc" on the web, it does nothing.
Can anybody help?
0