Method SetCategory
SetCategory(DocumentId, MaterialCategoryType)
Sets the material category of a material document.
Declaration
[OperationContract]
[AvailableSinceVersion(7, 16, 0, 0)]
void SetCategory(DocumentId inDocumentId, MaterialCategoryType inMaterialCategoryType)
Parameters
| Type | Name | Description |
|---|---|---|
| DocumentId | inDocumentId | Identifier of the document to modify. |
| MaterialCategoryType | inMaterialCategoryType | The material category. |
Remarks
StartModification(string, bool) and EnsureIsDirty(ref DocumentId) must be called before calling this method.
This method is available since v7.16.