Share via


RetailCatalogProductStatus::findOrCreateByCatalogProduct Method

Finds or creates the record in the RetailCatalogProductStatus by a catalog product.

Syntax

client server public static RetailCatalogProductStatus findOrCreateByCatalogProduct(RefRecId _catalogProductRecId, [boolean _forUpdate])

Run On

Called

Parameters

  • _forUpdate
    Type: boolean
    A boolean value.

Return Value

Type: RetailCatalogProductStatus Table
A record in the RetailCatalogProductStatus if a catalog product can be found; otherwise, an empty record.

See Also

Reference

RetailCatalogProductStatus Table