Pages

Banner 468 x 60px

 

Wednesday, January 14, 2015

void clicked()

0 comments
void clicked()
{

    SrsReportRunController                  reportRunController;
    Map                                     queryContracts;
    MapEnumerator                           mapEnum;
    Query                                   query;
    QueryBuildRange                         range;

    SrsReportDataContract                   contract;
    TECSOContract                           rdpContract;
    //JournalNameId                           ScraptReworkJournalNameId;

    reportRunController = new SrsReportRunController();
    reportRunController.parmReportName(ssrsReportStr(TECJTCEDDSls04packingSlipSo ,Report));
    reportRunController.parmLoadFromSysLastValue(false);

    // Set printer settings (print to file, format, filename, etc).
    contract    = reportRunController.parmReportContract();
    rdpContract = contract.parmRdpContract() as TECSOContract;

    queryContracts = contract.parmQueryContracts();
    mapEnum = queryContracts.getEnumerator();

    while(mapEnum.moveNext())
    {
        query = mapEnum.currentValue();
        SysQuery::findOrCreateRange(query.dataSourceTable(tableNum(CustPackingSlipJour)),fieldNum(CustPackingSlipJour, recId)).value(queryValue(CustPackingSlipJour.RecId));
        reportRunController.runReport();
    }
    //super();

    super();
}

0 comments:

A financial dimension value is based on the record and has been used on a transaction. You cannot delete the record

  SOLUTION delete in table DimensionAttributeLevelValue base on Bank Account  :  and Delete the Bank Account FINISH