@kvbe So we find where was problem. Problems was prefix on the source columnt rows. I tried copied and delete prefix from the rows and then was everything ok.
@kvbe Hello, thanks for your tipe. Unfortunatelly it doesnt work. I tried to delete objversion and i got same message error.
Hello, we find the solution how get keys from the object connection. For example i want get PART_NO from the object connection key by get_key funcion. Client_SYS.Get_Key_Reference_Value(x.key_ref, 'PART_NO')and there is example of my select depanding on the type of the connected LU_NAME. select case when x.lu_name = 'InventoryPart' then Client_SYS.Get_Key_Reference_Value(x.key_ref, 'PART_NO') when x.lu_name = 'ReceiptInfo' then RECEIPT_INFO_API.Get_Source_Part_No(Client_SYS.Get_Key_Reference_Value(x.key_ref, 'RECEIPT_SEQUENCE')) when x.lu_name = 'ShopOrd' then SHOP_ORD_API.Get_part_no(Client_SYS.Get_Key_Reference_Value(x.key_ref, 'ORDER_NO'), Client_SYS.Get_Key_Reference_Value(x.key_ref,
There is detail of block of WORD_CHECKIN (im trying checking type of file WORD). You now if this macro block is correct please? or there may be something wrong?PUBLIC FUNCTION WORD_CHECKIN_MSOFFICE()ON ERROR RESUME NEXTO_APP.NORMALTEMPLATE.SAVED = TRUEO_APP.VISIBLE = FALSESET O_DOC = O_APP.DOCUMENTS.OPEN(IFS_CHECK_OUT_PATH & O_FILENAME) O_APP.APPLICATION.DISPLAYALERTS = 0O_APP.ACTIVEDOCUMENT.SAVEO_APP.ACTIVEWINDOW.ACTIVEPANE.VIEW.SEEKVIEW = 0PDF = O_APP.ACTIVEDOCUMENT.EXPORTASFIXEDFORMAT (O_DOC.PATH & "\" & LEFT(O_DOC.NAME,INSTR(O_DOC.NAME,".")-1) & ".PDF", 17, FALSE, 0, 0, 0)O_DOC.CLOSE 0O_APP.QUITSET O_DOC = NOTHINGSET O_APP = NOTHINGEND FUNCTION
hi @dockal_d The View part is easy - the answer is Yes. You can have a macro run upon viewing the word document and it will update fields with data from IFS. It is also possible to run macros on New, and Check-in (although Check-In is less clear to me). Make sure you have fully set up the IFS Page: Document Class Process Action, and/or Document Class Management/Macros tab. Try both, if one doesn’t work as expected. For testing, use MsgBox frequently. This is your way to know whether the code is running and reaching a certain point. e.g. … msgbox "The code is running here" ... Hi, thanks for answer. When i created a new document (with document class with macro definition - check in, check out, create) and attached to the object, was displayed dialog with macro runing “Check in” a press OK and then i got message box what i defined. But then when i open the file is empty… The data is filled only when i do edit document (check out) Document Class Process Action, and/or Document Clas
Already have an account? Login
No account yet? Create an account
Enter your username or e-mail address. We'll send you an e-mail with instructions to reset your password.
Sorry, we're still checking this file's contents to make sure it's safe to download. Please try again in a few minutes.
Sorry, our virus scanner detected that this file isn't safe to download.