Save Method for excel document and word document extended data types

Official Content
This documentation is valid for:

Saves the document on the disk for extended data type or save data into the table for BC.

Syntax

&DataType.Save()

Type Returned (for Extended data Types only): Numeric

Note:
This method returns an error code, so it is possible to call it as a function (&Err = &DataType.Save(…..)).

Scope

Extended data types ExcelDocument data type, WordDocument Data Type
Business Component data type Business Component
Languages .NET, Java, Ruby, Visual FoxPro
   

See also

SaveAs method
ExcelDocument data type
WordDocument Data Type
Business Component