我将变量设置为将Inventory record
(库存表)移到我的Production layout
(生产表),然后将该变量插入其ID
字段。那个有效。
我的问题是Item, Color, Weight, Basis, Size
我需要从字段中提取信息inventory table
以使用该ID
编号将其放入生产版式。(我知道门户网站,但是我需要多个门户网站,因为我将从库存记录和客户记录中“导入”其他信息)。
编辑我想我可能已经回答了我自己的问题。我为要带入“生产”布局的所有字段设置了变量,然后使用脚本通过“计算”设置这些字段。看来这是最好的方法吗?
一段感情会更好。
Set $productionId = Production::id
Go To Layout "Inventory"
New Record
Set Field Inventory::productionId = $productionId
// now the relationship is valid between inventory and production
// you can copy fields over from the Production table,
// or just reference them using the relationship
本文收集自互联网,转载请注明来源。
如有侵权,请联系 [email protected] 删除。
我来说两句