generalInvoiceResponse  -  the module for fetching
and analyzing electronic XML responses of a general invoice
generalInvoiceResponse
    API DocBrowser   ·  Revision history
    Download area
    FAQ
 
home
system
integrators
search the
site
 

validator
modules
invoice
modules
credit
modules
miscellaneous
modules
tools

  Design by TMR AG
  © by sumex1.net
 
 
How to adjust the position of the ESR coding line

The report generator included in the module allows to shift the position of any text fields and paragraphs. The delta X and Y values are stored in a INI file of the same name as the print template but with an extension .vpd (whereas the print template has an extension .vps). E.g. the shift of the ESR coding line of the standard annulment response template (Response410_Annulment_dt.vpd in the install directory) might have an entry in the INI section [ObjectAdjustment] of the form:
[ObjectAdjustment]
ESR_CODINGLINE1=250,-140
where ESR_CODINGLINE1 is the object name followed by the delta X and Y, respectively. Both values are given in TWIPS with the origin in the upper left corner of the document. The conversion factor between TWIPS and mm is: 1 mm = 56.69291 TWIPS.

The main interface generalInvoiceResponse includes the method IGeneralInvoiceResponseManager::PrintAdjust that shows the dialog shown to the right. One can select an object and adjust this object's location.

Note that there is a further possibility to adjust the position of the whole document by using the 2 input fields at the bottom. Eventually an appropriate entry in the [ObjectAdjustment] section is written for this shift.