Click or drag to resize

ProductsRepositoryDuplicateObject Method

Duplicates the object.

Namespace:  Aloe.EnterpriseOne.Model.General.Products
Assembly:  Aloe.EnterpriseOne.Model (in Aloe.EnterpriseOne.Model.dll) Version: 20.1.3.5
Syntax
public override EntityObject DuplicateObject(
	EntityObject obj,
	ObjectTransaction transaction = null
)

Parameters

obj
Type: Aloe.SystemFrameworks.DomainEntityObject
The object.
transaction (Optional)
Type: Aloe.SystemFrameworks.DomainObjectTransaction
Transaction to use for the duplicate

Return Value

Type: EntityObject
Remarks
This method clears the PartNumber of the duplicated object.
See Also