Dear Krishna,
Please follow complete below configuration.
- Define condition type
- Define condition type group
- Assign condition type to condition type groups
- Define product type
- Assignment repayment type to product type
- Define company code settings for product type
- Define General Classifications for securities
- Define security account categories
- Define flow type
- Assign flow type to transaction type
- Define update type and assign usage
- Assign flow type to update type
- Assign general valuation class
- Assign update to security account management
Create securities class:T.code FWZZ
Then create deal(T.code FTR_CREATE- With Transaction type 100) say for example: 100 Shares @ 500
create deal(FTR_CREATE-With Transaction type 100) say for example: 200 Shares @ 510
Settle deal(T.code -FTR_EDIT)
Posting :T.code TBB1
Payment: T.code- F111
Highest price share sold first
Create deal with FTR_CREATE-With Transaction type 200(Sale) say for example
200 share at 510.
Settle deal(T.code -FTR_EDIT)
Posting :T.code TBB1
Payment: T.code- F111
This process will be followed for all the deals you created.
Regards,
Jain