The purpose of this module is to enable the simple definition of a report generator for a specific structure of business sectors or tables.
To implement a report generator the following steps should be taken:
# Initialize the Reportwriter RPTGEN.AddInitialize # Add the initial Contractgroup RPTGEN.AddGrp( "GID", 0, GIDGRP, 'Guarantee', "" ) # Add additional nodes RPTGEN.AddMod( "DIA", 0, "\\DIA", 'Diary Entries', "OBJTYP='GID', OBJINR=GID.INR" ) RPTGEN.AddMod( "TRN", 0, "\\TRN", 'Transactions', "OBJTYP='GID', OBJINR=GID.INR" ) RPTGEN.AddMod( "TRNSMH", 1, "\\SMH", 'Messages of Transaction', "TRNTYP='TRN', TRNINR=TRN.INR" ) RPTGEN.AddMod( "SMH", 0, "\\SMH", 'Messages', "OBJTYP='GID', OBJINR=GID.INR" ) RPTGEN.AddMod( "FEP", 0, "\\FEP", 'Feepool Entries', "OBJTYP='GID', OBJINR=GID.INR" ) # Subcontract RPTGEN.AddMod( "", 0, "", 'Claim under a Guarantee', "" ) RPTGEN.AddGrp( "GIDGCD", 1, GCDGRP, 'Claim', "PNTTYP='GID', PNTINR=GID.INR" ) RPTGEN.RptGenSetSelFld( "GID" ) RPTGEN.RptGenAddFld( "GID", "OWNREF", "" )