Open the debug console and check the below call it has the relevant information for Lu_name_key_ref and service
For ex:
This is the parameters when I we get in the customer Order window
In here Lu_name = CustomerOrder
Key_ref = ORDER_NO=*4325^
Service_name = DocReferenceObject (this is the service name for documents)
Method 2:
Attach a document to a relevant window and go to document object connections window and search the relevant record via doc_no. You can easily get the Keyref and Luname(But I notice for some LU’s this can be different)
I can see there is method(app10) exists only accept 2 parameters (luname and keyref) which will return the documents attached
result for the above example
Hope this is helpful.
Regards,
Sahan
This has been helpful, Sahan, so thank you but I’m just not quite there.
This is what the debug shows when I query in Customer Invoice view
Do you have any suggestion as to what should be entered as the ‘KEY_REF’ parameter at all?
Any thoughts much appreciated.
Thanks
Linda
@PRODQ
You should use the highlighted value in this case
Also you can use this 2 parameters call instead of 4 parameters call would be easy
Hi Sahan
Thanks for continuing to stick with me.
Your suggestion is OK for that particular invoice but I want to use this function to add a custom field to the customer invoices view that counts the attachments against each invoice.