on 07-26-2019 9:26 PM
I need to create button on the Goods Receipt screen.
When clicking on this button I need to feed the Attachment Matrix with 3 attachments.
But I could not perform the process, I believe there is some other procedure to perform the loading of attachments. If it is not possible to perform the load, it would be possible to feed the AtcEntry field before writing the record so that you can then realign the load to table ATC1.
case SAPbouiCOM.BoEventTypes.et_CLICK:
// Specifies Mouse Up on editable item.
if ( pVal.ItemUID == "999") {
oForm = SBO_Application.Forms.Item(FormUID); oMatrix = (SAPbouiCOM.Matrix)oForm.Items.Item("1320000081").Specific;
((SAPbouiCOM.EditText)oMatrix.Columns.Item("1320000003").Cells.Item(1).Specific).Value = "C:\temp\teste";
((SAPbouiCOM.EditText)oMatrix.Columns.Item("1320000004").Cells.Item(1).Specific).Value = "teste.jpg";
((SAPbouiCOM.EditText)oMatrix.Columns.Item("1320000007").Cells.Item(1).Specific).Value = "01/01/2019";
((SAPbouiCOM.EditText)oMatrix.Columns.Item("256000011").Cells.Item(1).Specific).Value = "imagem camera 01";
The directory configuration of the files is configured, what I want is to create a button on the goods receipt screen to add various images that are in a certain location, according to the order number, and add them as an attached attachment. on the screen.
Via DI API I was able to do it without problems but not in the same Input operation, then I have a process that goes out and reads the orders and fetching the images and adds it according to the code above.
What I need is to place a Button on the goods receipt screen and when the user clicks on this Button, the system will add the images in the attached tab. I don't know if it is possible to integrate in the screen, A UI and DI, to get the same connection and check the current order (OIGN) and add the attachments vi UI API or DI, in the same operation, like image telacaptura.png
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Instead of this development you can create 3 udf type link and use them to save path of attachments
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Marcio Reis,
SAP Business One needs to know details of your attachments folder at first, and then it allows attachments within Goods Receipt and other documents (PO, etc.). It is recommended to try this inbuilt feature prior to considering adding a new button.
How to define attachments folder in SAP Business One:
If your question is addressed, kindly mark appropriate response as `answer`.
Best Wishes & Regards,
Sam
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
97 | |
9 | |
6 | |
6 | |
3 | |
3 | |
3 | |
3 | |
2 | |
2 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.