# Synopsis

PDX_MSGT s242_GDXComponentsToBOMXML(long option, int gdxModel, S242_BOMXML_INFO *bomxmlInfo)

# Purpose

Map GDX components to AP242 BOM XML

# Description

The specified gdxModel will be processed and the GDX component structure will be mapped to AP242 BOM XML. A unique external file name will be generated and associated to each GDX component entity. Populating the external file is the responsibility of the calling program.

# Input

## option

Options (not used)

## bomxmlInfo

### bomxmlFileName

Name of BOM XML file to create (S242_STRING)

### externalFileExtension

Extension to use for external files (S242_STRING)

### organizationName

Organization name to put into XML file (S242_STRING)

### preprocessorVersion

Preprocessor version to put into XML file (S242_STRING)

### originatingSystem

Originating system to put into XML file (S242_STRING)

### externalFileName

Application data pointer used to store generated external file names (MDA_APP_DATA)

# Return

S242_NOERR or error