Bank Type problem (Bank modules)

Background :

We have report, called ‘Setoran Harian’, always produce empty report. There is nothing we can see on the report. In fact, all data is available in table.

Root problem :

In table BankAccountTable, there is column, name : AGR_Cash (customize field). Misconfigure in this column, will effect all reporting result.

Solution :

Configure properly in BankAccountTable.AGR_Cash. It will solve reporting.

Check in code :

In report AGR_Setoran_Harian > methods > fetch :

if(BankAccountTable::find(varbankAcountId).AGR_Cash == AGR_BankType::KasPenjualan)
            {

that line will go to outer scope of if statement. That will walk you in wrong way, reports will produce nothing.

 


About this entry