Extension of document printout
Temporarily available documents (e.g. sales quote, sales order) require additional code for the respective action when printing out in order to archive the document in Therefore.
The additional parameter Identification ID is an additional indicator (e.g. barcode) for future extensions, or for the Late document linking function via the queue. This parameter is currently not in use; documents are collected through direct linking without using the queue.
Copy
//-TF
cTFPostFunctions.AddDocumentToQueue(
cTFPostFunctions.GetTableID( TABLENAME() ), // Tablename
"No.", // Document No.
"Posting Date", // Posting Date
0, // Entry No.
"Document Type", // Document Type
'' ); // Identification ID
//+TF