50: ItemType := substr( Document_ID , 1 , instr(Document_ID , ':') - 1 );
51: ItemKey := substr( Document_ID , instr(Document_ID , ':') + 1
52: , length(Document_ID) - 2);
53:
54: L_K_Header_ID := WF_ENGINE.GetItemAttrNumber(ItemType , ItemKey , 'CONTRACT_ID');
55: L_K_Number := WF_ENGINE.GetItemAttrText(ItemType , ItemKey , 'K_NUMBER');
56:
57: IF ( Display_Type = 'text/plain' ) THEN
58:
51: ItemKey := substr( Document_ID , instr(Document_ID , ':') + 1
52: , length(Document_ID) - 2);
53:
54: L_K_Header_ID := WF_ENGINE.GetItemAttrNumber(ItemType , ItemKey , 'CONTRACT_ID');
55: L_K_Number := WF_ENGINE.GetItemAttrText(ItemType , ItemKey , 'K_NUMBER');
56:
57: IF ( Display_Type = 'text/plain' ) THEN
58:
59: Document := 'L_K_Number';
143: ItemType := substr( Document_ID , 1 , instr(Document_ID , ':') - 1 );
144: ItemKey := substr( Document_ID , instr(Document_ID , ':') + 1
145: , length(Document_ID) - 2);
146:
147: L_K_Header_ID := WF_ENGINE.GetItemAttrNumber(ItemType , ItemKey , 'CONTRACT_ID');
148:
149: IF ( Display_Type = 'text/plain' ) THEN
150:
151: Document := '';