Deletes an existing profit center.
The profit center is specified by its key (PrcCode), which is contained in the ProfitCenterParams object passed to the method.
Deletes an existing profit center.
The profit center is specified by its key (PrcCode), which is contained in the ProfitCenterParams object passed to the method.
| Visual Basic |
|---|
Public Sub DeleteProfitCenter( _ ByVal pIProfitCenterParams As ProfitCenterParams _ ) |
If the profit center is system defined or is linked to a distribution rule, the profit center cannot be deleted.
A profit center is system defined if the Locked field in the OPRC table is set to Y.
| Deleting a profit center (Visual Basic) | ||
|---|---|---|
| ||