gettransaction cannot get address where it send from Hi i have test few time with gettransaction method, it seem only show full detail about transaction when send inside node.

But if i send from another address outside my node, gettransaction only show transaction detail of receive address.

How i can get full detail for both ways even that address not come from my node
What you're looking at is a byproduct of the now-deprecated account system. The send/receive labels are applied according to the addresses that are part of your wallet.

If you want the sender/recipient details as a whole, pass the raw tx hex to decoderawtransaction. This will give you the inputs and outputs as they appear in the transaction, without the accounting filters on it.