As a global it says that is already declared...
Name DataType Subtype Length
GLSetup Record General Ledger Setup
ShipmentMethod Record Shipment Method
PaymentTerms Record Payment Terms
PrepmtPaymentTerms Record Payment Terms
SalesPurchPerson Record Salesperson/Purchaser
CompanyInfo Record Company Information
CompanyInfo1 Record Company Information
CompanyInfo2 Record Company Information
CompanyInfo3 Record Company Information
SalesSetup Record Sales & Receivables Setup
VATAmountLine Record VAT Amount Line
PrepmtVATAmountLine Record VAT Amount Line
PrepmtVATAmountLineDeduct Record VAT Amount Line
SalesLine Record Sales Line
DimSetEntry1 Record Dimension Set Entry
DimSetEntry2 Record Dimension Set Entry
TempPrepmtDimSetEntry Record Dimension Set Entry
PrepmtInvBuf Record Prepayment Inv. Line Buffer
RespCenter Record Responsibility Center
Language Record Language
CurrExchRate Record Currency Exchange Rate
AsmHeader Record Assembly Header
AsmLine Record Assembly Line
SalesCountPrinted Codeunit Sales-Printed
FormatAddr Codeunit Format Address
SegManagement Codeunit SegManagement
ArchiveManagement Codeunit ArchiveManagement
SalesPostPrepmt Codeunit Sales-Post Prepayments
DimMgt Codeunit DimensionManagement
CustAddr Text 50
ShipToAddr Text 50
CompanyAddr Text 50
SalesPersonText Text 30
VATNoText Text 80
TotalText Text 50
TotalExclVATText Text 50
TotalInclVATText Text 50
MoreLines Boolean
NoOfCopies Integer
NoOfLoops Integer
CopyText Text 30
ShowShippingAddr Boolean
i Integer
DimText Text 120
OldDimText Text 75
ShowInternalInfo Boolean
Continue Boolean
ArchiveDocument Boolean
LogInteraction Boolean
VATAmount Decimal
VATBaseAmount Decimal
VATDiscountAmount Decimal
TotalAmountInclVAT Decimal
VALVATBaseLCY Decimal
VALVATAmountLCY Decimal
VALSpecLCYHeader Text 80
VALExchRate Text 50
PrepmtVATAmount Decimal
PrepmtVATBaseAmount Decimal
PrepmtTotalAmountInclVAT Decimal
PrepmtLineAmount Decimal
OutputNo Integer
NNCTotalLCY Decimal
NNCTotalExclVAT Decimal
NNCVATAmt Decimal
NNCTotalInclVAT Decimal
NNCPmtDiscOnVAT Decimal
NNCTotalInclVAT2 Decimal
NNCVATAmt2 Decimal
NNCTotalExclVAT2 Decimal
NNCSalesLineLineAmt Decimal
NNCSalesLineInvDiscAmt Decimal
Print Boolean
ArchiveDocumentEnable Boolean
LogInteractionEnable Boolean
DisplayAssemblyInformation Boolean
AsmInfoExistsForLine Boolean
//--soft-global--// Integer
PaymentMethod Record Payment Method
proforma Boolean
ReportTitle Text 250