Skip to main content
Version: 1.x

Interface: GoodsMovementData

Input data for creating a goods movement (WM-GR / MIGO).

Sap Module​

WM

Business Context​

Warehouse goods movement (receipt, issue, transfer posting).

Example​

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

const gm: GoodsMovementData = {
movementType: '101',
plant: '1000',
material: 'RAW-0001',
quantity: 100,
};

Properties​

material​

readonly material: string

Material number.


movementType​

readonly movementType: string

SAP movement type code (e.g. '101' GR, '201' GI, '301' transfer).


plant​

readonly plant: string

Plant code for the movement.


quantity​

readonly quantity: number

Movement quantity in base unit of measure.


storageLocation?​

readonly optional storageLocation?: string

Storage location (optional).