Share via


EcoResProductCategory::insertEcoResProductCategory Method

Creates a record in the EcoResProductCategory table.

Syntax

client server public static EcoResProductCategory insertEcoResProductCategory(EcoResCategory _ecoResCategory, EcoResProduct _ecoResProduct)

Run On

Called

Parameters

  • _ecoResCategory
    Type: EcoResCategory Table
    A record buffer of the EcoResCategory table that is used to find an existing record in the EcoResProductCategory table for the selected category hierarchy.
  • _ecoResProduct
    Type: EcoResProduct Table
    A record buffer of the EcoResProduct table that is used to find the existing record in the EcoResProductCategory table for the selected product.

Return Value

Type: EcoResProductCategory Table
A record in the EcoResProductCategory table; otherwise, an empty record.

See Also

Reference

EcoResProductCategory Table