WO: Make asset XY trump service address XY -- if asset's geometry type is point - maximo

Maximo 7.6.1.1:
I have custom fields in ASSET:
ASSET.GEOMETRYTYPE
Values: POINT, LINE, POLYGON
Source: JSON mapping
ASSET.X and ASSET.Y
The values are the centerpoints of GIS assets.
Source: points = ST_X & ST_Y, line = ArcPy scheduled task, polygon = ST_PointOnSurface
In a WO, if the asset's GEOMETRYTYPE = POINT, then I want the asset's XY to trump the service asset's XY (when auto-locating in the map).
This would apply to the current record's blue map pin as well as with auto-create spatial.
More information about the OOB logic here: Automatic location search order process for work orders
This scenario would not apply to other geometry types like lines or polygons. Those assets are large and the service address' XY would be more precise/meaningful than the center point of a line or polygon (unlike points).
For example, if a tree pruning WO is created from an SR, then the WO will likely have a service address specified.
At some point in the workflow, a forestry supervisor will specify the tree asset in the WO. The tree's XY will be more meaningful and precise than the service address's XY. So we want the tree asset's XY to trump the service address's XY.
Is there a way to make a WO asset's XY trump the service address' XY -- if the asset's geometry type is a point?

This can be achieved with a simple automation script (with an attribute launch point):
Object: WORKORDER
Attribute: ASSETNUM
Events: Run action
if mbo.getString("ASSET.GEOMETRYTYPE") == "POINT":
mbo.setValue("SERVICEADDRESS.LONGITUDEX", None)
mbo.setValue("SERVICEADDRESS.LATITUDEY", None)
If the asset's geometry type is a point, then it nulls out the service address' XY.
Note:
It sounds like IBM plans to implement something like this in OOB Maximo:
"Configurable auto-locate order and flexible hierarchy"
Source: Roadmap: IBM Maximo Location Based Services (excerpt here).
But rumour has it that IBM has been talking about this for several years, but has not yet implemented it.

Related

Follow Solver - To follow on Z Axis Only

I am working on a project which shows navigation from one point to another in Hololens. I am trying to create this application via MRTK2.
I have created a navigator Arrow and I want it to follow the user Head only on Z- Axis. It should Restrict any movement on the X and Y axis.
For this, I have attached Follow Solver to Object and have Added tracked Target type to Head.
Also, I have attached Move Axis COnstraint Script to restrict movement on the X and Y axis.
But When I play scenes, Object position and rotation values are changed. Something like below.
It works from the script when I calculate the camera position and Update the arrow position.
straightarrow.transform.position = new Vector3(straightarrowpos.x, straightarrowpos.y, camposition.z + 2.623f);
Is there any way this can be handled via Solvers instead of updating the position via script?
Mayank Pande
The constraints and Constraint manager provided by MRTK are currently only applicable to Bounds control and Object manipulator, please refer to Constraint manager - MRTK 2 | Microsoft Learn. Existing solvers cannot meet your needs, but you can create a new solver, please refer to Solver overview - MRTK 2 | Microsoft Learn.

Is there a way to have a x-axis "independent" from x-values for a hboxplot in Zingchart?

I have a selection of weathersensors from which I want to display temperature boxplots. All sensors(weatherstations) are located at various altitudes.
Is there a way to have the x-axis display steps of say 100, and place the boxplots where they "belong" based on the altitude of the sensor/station?
I have created a demo here: https://app.zingsoft.com/demos/create/1N2M7WLE
As demonstrated, the altitudes on the x-axis gets a bit odd when just using the altitudes from the stations as values.
Regards,
Sven-Erik
This is a feature already implemented in the dev stage, the new public release (due end of October) will contain this feature. See below how the output will look:

Generic Inquiry as Primary List/Entry Point

As I build custom entry screens for our business requirements, an objective is to utilize generic inquiries as the entry point for a consistent user experience with the rest of the system. I have 3 user entry screens, each of which is on the Site Map in the same place. Two of the GI's allow me to select the Site Map node for these user screens and assign the Entry Point to display the GI instead of the user entry screen. One does not. All of them appear to have very similar DAC structure as well as Graph structure including naming the primary graph in the DAC.
What causes the site map node to be available (or not) for assignment of the GI as an entry point. (For instance, is there an orphaned record I might seek out in SQL from deleting a previous attempt?)
I am on Acumatica ERP 2018R1 (Build 18.113.0018).
There were a couple of issues that prevented the Generic Inquiry from allowing it to be set as an Entry Point. If you have this same issue, review the related DAC's carefully for errors that may not be compile time issues. Also, double check all of the definition tabs in the generic inquiry for fields that you renamed or dropped but failed to adjust in the GI. In my case, the last issue resolved that allowed the GI to be turned into an entry screen was a poorly defined parameter.
To troubleshoot, try making the GI very simple. If you cannot reach the screen to select as the entry point and the GI is very basic, odds are that you have a problem somewhere in the DAC. In some of the DAC's for screens that I could not setup as an entry point, I had reference to a setup DAC that was not using Currrent when it should. This small error in the DAC was the problem on 2 of my 3 screens.
In my case, the primary view name in the graph was not 100% the same as the datamember on the screen. One was camelcase and the other pascal case. Make sure the view name on both the screen and the graph is exactly the same.

How do you return a data object from a subactivity in a UML activity diagram?

I'm trying to create a subactivity that outputs a data object.
Currently, I have a subactivity, Prepare Pack, that adds a Joker card to the Card Pack data object, removes all twos, threes and fours from Card Pack and returns Card Pack.
To model an output I connected the subactivity to Card Pack data object with an arrow. Is this a valid way of illustrating that the subactivity returns Card Pack?
So here is how I would model it. Given you have the sub-activity modeled with containing actions like this
the card deck is fed in via an object node and leaving via a second one. Another view shows that without the inner structure:
(Note that the lying 8 is a decoration from Enterprise Architect to show the the element is clickable and contains a diagram showing its inner structure.)
Now this activity can be used as invocation like this:

SSRS and maps of route from data

I have data that has the longitude and latitude values for a point of origin, stops and the return point of origin.
I'd like to be able to create a matrix that uses this information from an Excel spreadsheet and then have a map displayed with a line from the beginning to the end.
I can figure out how to create the matrix and group so that each route would be separated but how do I create the map with the route line?
As you haven't specified which version of SQL Server you use I've provided a link to an articles that date back to SQL 2008R2.
https://www.mssqltips.com/sqlservertip/2552/creating-an-ssrs-map-report-with-data-pinpoints/
https://dba.stackexchange.com/questions/24954/convert-spatial-points-data-to-line-data-for-use-in-line-layer-in-sql-server-rep
The first deals with just getting stuff plotted on maps and the second looks more at how to draw lines between to points.
If you use an older version of SQL Server you may have to look to 3rd party options.

Resources