Warning: The method GetBalance will no longer be supported in future.The functions in this method are transferred to the object type BUS1028General Ledger. If you have already applied this method, convert to the new method withobject type BUS1028. If you are using the method for the first time, use the method withobject type BUS1028.Functionality This method returns the final balance for a G/L account for a specifiedfiscal year. The user can choose whether the balance is returned in the transactioncurrency or the company code currency except for those G/L accounts keptin different transaction currencies where the balance can be given inthe company code currency only. The currency and the balance as determined by the system are returned,with any problems arising being reported in the form of a return codemessage. Notes The same authorization checks are carried out as take place whendisplaying information within a transaction. No conversion takes place for the input parameter COMPANYCODE, meaningthat leading blank characters within this parameter are not cleared.Likewise, no conversion is carried out for the parameter GLACCT. G/Laccount numbers must therefore be entered with the leading zeros (e.g.0000113100). Messages are returned within the RETURN parameter, the parameterdocumentation for which contains the return codes and their meaning. Description The return code for the method is supplied in a structure containingfive fields. You will find information on the significance of theindividual fields in the relevant data element documentation. Layout of the structure> TYPE Message type> CODE Message code> MESSAGE Message text> LOG_NO Application log: Log number LOG_MSG_NO Application log: Sequence number of messageDescription You will find information about the significance of the company code inthe relevant data element documentation: Company code>Description You will find information on the significance of the currency type inthe relevant data element documentation: Currency type>Value range 00 = Balance in transaction currency 10 = Balance in local currency Description You will find information on the significance of the fiscal year in therelevant data element documentation: Fiscal year>Description You will find information on the significance of the G/L account numberin the relevant data element documentation: G/L account number> |