Hi all
Running AX 2012 R3 CU9.
My situation is this:
I've created two simple tables for record-keeping purposes (Let's call them Table1 and Table2). They're linked logically, one-to-many by a primary key field. I would like to create a simple form that has text input:
FieldA
FieldB
FieldC
FieldD
I would then like to hit OK and have the form populate a record in [Table1.FieldA, Table1.FieldB, and Table1.FieldC], but populate a record in TableB, TableB.FieldD .
My question is, what is the easiest way to do this? Does the form need to have both tables as data sources? Does it need neither but just have x++ code writing insert() on the button?
Any help would be much appreciated. Thanks very much in advance
Luke
*This post is locked for comments