ebs.changeBusinessStatusByNameAsync
(FintechOS Platform 24.1.1.1 and later)
Asynchronously changes an entity record's business status based on the specified business status name. The result of the operation is returned in a promise object.
Syntax
Copy
ebs.changeBusinessStatusByName(entityName: string, recordId: string, businessStatusName: string): Promise<void>
| Parameter | Type | Description |
|---|---|---|
entityName
|
string | The name of the entity for which you change the business status. |
recordId
|
string |
ID of the record for which you wish to change the business status. |
businessStatusName
|
string | The name of the new business status. |
Response
Returns a void promise object, allowing you to associate handlers in case of success of failure.