CatProcureCatalogTable::insertCatalog Method
Inserts the specified CatProcureCatalogTable record into the database, depending on the copyProcureHierarchy field.
Syntax
client server public static void insertCatalog(CatProcureCatalogTable _catalog, boolean _copyProcureHierarchy)
Run On
Called
Parameters
- _catalog
Type: CatProcureCatalogTable Table
The CatProcureCatalogTable record to insert, with all fields correctly set.
- _copyProcureHierarchy
Type: boolean
A Boolean value that indicates whether the catalog should have the navigation category hierarchy copied from the procurement category hierarchy.
Remarks
If the _copyProcureHierarchy parameter is false, only a root navigation category node will be created from the catalog.
Otherwise, a full navigation category tree will be created by copying the procurement category hierarchy.