Production Accounting 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 production accounting mashup (PTC.ProductionDashboard.ProductionAccounting_MU) provides a visual display of production for each completed production block in the current shift or in the past 24 hours.
The Production Dashboard main page with a red rectangle indicating the production accounting mashup.
You can change the chart view to display information for the current shift or for the past 24 hours. The actual OEE value is also displayed.
Widgets
The PTC.ProductionDashboard.ProductionAccounting_MU mashup uses the following widgets:
Multiple Label widgets for text strings.
A DropDown widget for switching between the Shift View and 24 Hour View.
A Date Time Picker widget for selecting the date to view.
An invisible Numeric Entry widget used for internal logic.
Multiple Button widgets, for the left and right navigation buttons and the button used to reset the display.
An invisible Checkbox widget used for internal logic.
A Schedule Chart widget used for the production accounting chart.
Multiple Text Field widgets used for the tooltips that are displayed when hovering over production blocks in the production accounting chart.
Inputs
The input parameters for the PTC.ProductionDashboard.ProductionAccounting_MU are:
selectedEvent—An infotable used to pass information for a selected event from the Time Loss Accounting window, through the production accounting mashup, to the Split Automated Event window.
selectedProductionBlock—An infotable with information for the production block that is selected in the chart.
workCenterThingName—The Thing name of the selected work center.
lastProductionBlockEndTimestamp—The timestamp of the most recent, completed production block.
timeZone—The time zone for the site to which the selected work center belongs.
lastEventUpdateTimestamp—The timestamp for the most recent loss event, availability event, or production event that is entered for the pacemaker of the selected work center.
manager—The manager from which the dynamic services on this mashup are run.
thingName—The Thing name of the pacemaker that is defined for the selected work center.
Outputs
The output parameters for the PTC.ProductionDashboard.ProductionAccounting_MU are:
selectedEvent—An infotable used to pass information for a selected event from the Time Loss Accounting window, through the production accounting mashup, to the Split Automated Event window.
selectedProductionBlock—An infotable with information for the production block that is selected in the chart.
curentProductionBlock—An infotable containing information about the current production block.
Services
The mashup uses the following dynamic services from the PTC.ProductionDashboard.Management_TS Thing Shape:
GetCurrentShiftInstance—Retrieves the shift instance for a given time.
GetEditableHistoricalDays—Retrieves the number of past days that are editable and can be viewed in the chart.
GetProductionAccountingDetail—Retrieves the information for display in the production accounting chart.
GetProductionAccountingOEEInfo—Retrieves the OEE data to display above the production accounting chart.
GetProductionAccountingViewOptions—Retrieves the view options for the production accounting chart.
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.ProductionDashboard.Management_TS Thing Shape. For more information, see Dynamic Services in the Mashup Builder section of the ThingWorx Platform Help Center.
Was this helpful?