Domanda

I added a new method to the CustVendPaym class called sendersBankCompanyStatementName of type BankCompanyStatementName.

This is the code of said method:

public BankCompanyStatementName sendersBankCompanyStatementName(BankCompanyStatementName _sendersBankCompanyStatementName = sendersBankCompanyStatementName)
{
    sendersBankCompanyStatementName = _sendersBankCompanyStatementName;
    return sendersBankCompanyStatementName;
}

I added the definition in the classDeclaration method:

BankCompanyStatementName        sendersBankCompanyStatementName;

Then in the method vendPaym in the VendOutPaym class, a new instance of VendPaym (which extends CustVendPaym) is created:

vendPaym = new VendPaym();
//A bunch of properties are set then one I created:
vendPaym.sendersBankCompanyStatementName     (bankAccountTable.BankCompanyStatementName);

If I break there, I see the assignment with the value I'm expecting working correctly, but then the debugger (watch) never actually shows the new property I added with the value that's supposed to be in it.

Then if I just continue code execution, the AOS server in which I'm developing just crashes :|

Any ideas, am I doing something obviously wrong ?

Thanks.

EDIT: If I rollback my changes (that is deleting the newly added method and removing any references to it) everything works as it was before.

È stato utile?

Soluzione

Have you compiled forward the CustVendPaym class?

Autorizzato sotto: CC-BY-SA insieme a attribuzione
Non affiliato a StackOverflow
scroll top