Skip to main content

Interface: MaterialMasterData

Defined in: src/intents/types.ts:287

Input data for creating a material master record (MM-MM / LO-MD).

Sap Module​

MD

Business Context​

Material master data creation.

Example​

import type { MaterialMasterData } from '#intents/types.js';

const mat: MaterialMasterData = {
materialNumber: 'RAW-0001',
description: 'Raw material A',
materialType: 'ROH',
baseUnit: 'KG',
};

Properties​

baseUnit?​

readonly optional baseUnit: string

Defined in: src/intents/types.ts:295

Base unit of measure (e.g. 'EA', 'KG', 'L').


description​

readonly description: string

Defined in: src/intents/types.ts:291

Short description of the material.


materialNumber​

readonly materialNumber: string

Defined in: src/intents/types.ts:289

SAP material number.


materialType?​

readonly optional materialType: string

Defined in: src/intents/types.ts:293

SAP material type (e.g. 'FERT', 'ROH', 'HALB').