2 field Data Type

[quote=“alejo.alvarado1, post:1, topic:350379, full:true”]
Hey Guys. I need some help here.
So. I have a Data type “Factura” with Fields Name( type text), Company(Type Company), Prod-Cant (Type Prod-Cant).

type “prod-cant” has 2 Fields : Product(type invetory) cantidad (type number)

when I create a new thing (Factura) everything goes as planned, except creating “prod-cant” because it has 2 fields. Coming from a JAVA background, creating this should go prod-cant(parameter1, parameter2).

how does this work in bubble?

should i go and create a new thing “prod-cant”, or is it possible to create directly from “Factura”

if Prod-Cant is a table, you need to do this 1) create Prod-Cant 2) Create Factura Prod-Cant=Result of step1 . This is called horizontal expanding the db and most efficient way due only unique id of Prod-Cant will be called if Facturas’ Prod-Cant doesnt get called