public void accountOperationAndLinkExtractItem(Account account, String categoryId, GDDate date, String description, float value, TypeOfPayment paymentType, String idExtractItem) {
try {
Operation operation = (Operation) system.executeAndQuery(new AddAndReturnOperation(account, categoryId, date, description, value, paymentType, idExtractItem));
if(operation.isCredit()) {
system.execute(new AccountAmountControl(account, new Money(value), new Money("0")));
} else {
system.execute(new AccountAmountControl(account, new Money(0), new Money(value)));
system.execute(new AddLinkedOperation(operation));
}
} catch (TransactionDateException e) {
MessageBox box = new MessageBox(GDWindowControl.getInstance().getMainScreen().getShell(), IMessageProvider.INFORMATION);
box.setText("Data Inv�lida");