DuplicateItemsFromItemClass
Duplicate Items From Item Class.
Overview
Duplicates all the items from an Item class to another Item class.
Url | api/public/FluentisErp/WM/Common/DuplicateItemsFromItemClass |
HTTP Method | POST |
Method Type | Operation |
Fluentis Object | Fluentis.FluentisErp.Core.WM.FSItem |
Request parameters
Parameter | Type | Is Required | Default Value | Description |
---|---|---|---|---|
FromItemClassId | short | No | Identify the original ItemClass using Id. | |
FromItemClassCode | string | No | Identify the original ItemClass using Code. | |
FromItemClassExternalId | string | No | Reference to External Id for Item identification | |
FromItemClassExternalSystem | string | No | Reference to External System for Item identification | |
ToCompanyId | short | No | Identify destination company using Id. | |
ToCompanyCode | string | No | Identify destination company using Code. | |
ToDepartmentId | short | No | Identify destination department using Id. | |
ToDepartmentCode | string | No | Identify destination department using Code. | |
ToItemClassId | short | No | Identify destination ItemClass using Id. | |
ToItemClassCode | string | No | Identify destination ItemClass using Code. | |
ToItemClassExternalId | string | No | Reference to External Id for Item identification | |
ToItemClassExternalSystem | string | No | Reference to External System for Item identification |
Original ItemClass Identification
Is enough to specify FromItemClassId or FromItemClassCode parameter. If both are specified they need to correspond to the same item class.
Destination Company Identification
Is enough to specify ToCompanyId or ToCompanyCode parameter. If both are specified they need to correspond to the same company.
Destination Department Identification
Is enough to specify ToDepartmentId or ToDepartmentCode parameter. If both are specified they need to correspond to the same department.
Destination ItemClass Identification
Is enough to specify ToItemClassId or ToItemClassCode parameter. If both are specified they need to correspond to the same item class.