I was not able to find new order button caption in opportunity pagev2
Hi Team
I want to trigger one business process once if we click new order button in opportunity section.but I was not able to find button name or caption in opportunity page v2 schema can any one pls help to find button caption on code.
Thanks & Regards
Praveen Kumar
Like
Dear Kumar,
The name for the button is CreateOrderFromOpportunityButton. The insert of the button is in OpportunityPageV2 in OrderInSales package.
The caption is binded on the getButtonCaption, which is located in the OpportunityOrderUtilities schema.
{
"operation": "insert",
"name": "CreateOrderFromOpportunityButton",
"parentName": "LeftContainer",
"propertyName": "items",
"index": 4,
"values": {
"itemType": Terrasoft.ViewItemType.BUTTON,
"style": Terrasoft.controls.ButtonEnums.style.GREEN,
"caption": {"bindTo": "getButtonCaption"},
"click": {"bindTo": "CreateOrderFromOpportunity"},
"enabled": {"bindTo": "canEntityBeOperated"},
"classes": {
"textClass": ["actions-button-margin-right"]
}
}
}
Regards,
Anastasia