Fuente original: https://en.sagedev.it/sagex3/master-detail-pattern-management/ BY SAGEDEV · PUBLISHED JANUARY 23, 2018 · UPDATED SEPTEMBER 20, 2018 Sage X3 allow to create the management of a new object practically with only parameterization. But if tou need to achieve an object with master/detail pattern you must follow a very precise procedure that requires some changes in the specific script. Suppose we have: header table: YHEAD [YHE] YHEAD table keys (that will be the binding with detail table too): YHEKEY1 alphanumeric YHEKEY2 numeric detail table: YDETAIL [YDE] YDETAIL detail table fields for binding with header table: YDEKEY1 alphanumeric YDEKEY2 numeric object linked to YHEAD table: YHD header screen: YHE1 detail lines screen: YDE1 Let’s proceed like this: Object Open the YTD object (GESAOB function) link to YHEAD header table. In the Environment tab insert YDETAIL detail table. YDETAIL detail table In the detail tabl...
Recopilación de trucos e información para el desarrollo de aplicaciones en Sage X3 que pertenecen a otros autores y algunos propios