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...
Fuente original: https://www.greytrix.com/blogs/sagex3/2018/07/22/how-to-popup-file-selection-window-in-sage-x3/ By Greytrix | July 22, 2018 0 Comment As you know, whenever we want to upload any file either in Sage X3 or in any programming, we get drop box from standard for file selection where we can select the file to be uploaded. As said, this pop up comes from standard. But, in Sage X3 we can pop up dropbox through our code, too. Sage X3 provides a special function to pop up dropbox for file selection. Below is the syntax: Syntax : Call COPSRV(FICCLI,FICSRV,ASTATUS) From ORDSYS where, FICSRV : Temporary path where the file will be stored ASTATUS : Returns an integer value 0 or 1. 0 : If file is selected ...