Pass a read only interface from one CDT to an interface that uses another CDT

What is best practice for this?

I am trying to make an interface that schedules maintenance for a vehicle  using my maintenance CDT and displays the vehicle information from my vehicle CDT. I am wondering what the steps to do this are. The parent CDT I believe is maintenance as it uses vehicle ID as a foreign key. I already have the read only interface for vehicle information which is uses the following constant to pass information from the vehicles table into the interface. I have also made constants pointing to the data store for maintenance for the process model which I have not designed yet. PLEASE SEE ALL CONTEXT BELOW

I am trying to get the above information to display here:

As far as record types go I have created a new record type for Maintenance and added a related action to my Vehicles record type using:

  Discussion posts and replies are publicly visible

Parents
  • I am not 100% sure of your question, but are you simply trying to display the car information at the top of your Maintenance booking form? If so you can enter an expression something like this to pull in the car details display interface and pass the query result through using the id from your maintenance cdt:

    rule!SO_vehicleInformationInterface(vehicle: rule!SO_VM_GetVehicleById(givenId: ri!maintenance.vehicleId ) )

    (assumption on naming of your vehicle information interface) 

Reply
  • I am not 100% sure of your question, but are you simply trying to display the car information at the top of your Maintenance booking form? If so you can enter an expression something like this to pull in the car details display interface and pass the query result through using the id from your maintenance cdt:

    rule!SO_vehicleInformationInterface(vehicle: rule!SO_VM_GetVehicleById(givenId: ri!maintenance.vehicleId ) )

    (assumption on naming of your vehicle information interface) 

Children
No Data