Accounting rules options in General ledger .

Hi ,

In the Genral ledger setup - > Accounting rules - > Values used for summary account field has two options .

a) Source document

b) accounting distributions

Could any one explain what is the difference between these two options and generally which option need to select ?

Thanks in advance.