# Synopsis

PDX_MSGT s041_CreatePrdct(long option, MDA_PTR mchcnt_ptr, MDA_PTR *prdct_ptr)

# Purpose

Check and create the PRODUCT entity.

# Description

Creates the PRODUCT entity. The fields within this entity will be set from existing entities in the CFG model (if used) or set to appropriate default values.

# Input

## option

Options (not used)

## mchcnt_ptr

MDA pointer to mechanical_context entity.

# Output

## prdct_ptr

The database pointer of the resulting product entity.

# Return

S041 error code