Add Loss Event By Categories Mashup
* 
This mashup is designed to be easily replaced with a customized mashup so long as the customized mashup has the same inputs and outputs. For more information, see Replacing Modular Mashups.
The add loss event by categories mashup (PTC.ProductionDashboard.AddLossEventByCategories_MU) allows you to select a loss category from the Loss Event Entry pane and launch the Add Loss Event window to enter a loss event for the current building block.
The Production Dashboard main page with a red rectangle indicating the add loss event by categories mashup.
Widgets
The PTC.ProductionDashboard.AddLossEventByCategories_MU mashup uses the following widgets:
A Collection widget which calls the PTC.ProductionDashboard.ReasonCell_MU mashup multiple times to display the buttons for the reason categories.
A Button widget for the question mark icon.
A Label widget for the text string.
Inputs
The input parameters for the PTC.ProductionDashboard.AddLossEventByCategories_MU mashup are:
timeZone—The time zone for the site to which the selected work center belongs.
productionBlock—An infotable containing information on the current production block.
manager—The manager from which the dynamic services on this mashup are run.
workCenterThingName—The Thing name of the selected work center.
Outputs
There are no output parameters for the PTC.ProductionDashboard.AddLossEventByCategories_MU mashup.
Services
The mashup uses the following dynamic service from the PTC.ReasonCode.ModelLogic_TS Thing Shape:
GetPTCReasonTreeGrid—Retrieves the data for the reason categories from the reason tree that is assigned to the selected work center.
Dynamic services allow you to select the entity to execute a service at runtime. In this case, the service can be executed from any entity that implements the PTC.ReasonCode.ModelLogic_TS Thing Shape. For more information, see Dynamic Services in the Mashup Builder section of the ThingWorx Help Center.
Was this helpful?