how to call proc and var between SDB or SDO

Are you talking about having 2 SDO's and 2 SDB's, or 1 SDO populating two SDB's?

I suspect that you will have to let the SDO's (data sources for the browsers) do the talking, rather than the SDB's themselves.

This may be as simple as having a data link between the two SDO's and checking that Rebuild on Reposition is set on the source SDO.

Or you might get away with subscribing to an event in the first SDO and using it to run a procedure in the second.
 
ok example !

i have 1 SDO with sale order header
1 SDO with sale order details (lines order)
smartlink between them with order num.

1 SDB with header and 1 SDB with lines details !

i want when i double click under a line of details in the second SDB to update 2 field in the header with the content of 2 field of the line detail.

simple, easy and fast way to do this ? (explicit the answer please)
 
One of the many ways to do it -

1) On the double click trigger of the SDB2 run a procedure procA in SDO2 which gets the desired colvalues().
2) Pass these values to a procedure procB in the SDO1 using the handle of SDO1.
3) in this procedure procB of sdo1 use updaterow() to update the current row and refreshRow . Do your calculations - if any before updaterow() call.
 
Back
Top