SAGE DATA OBJECTS > C#


sage line 50 sage line 100 sage line 50 training 50 line pos sage sage line 50 financial controller 100 line sage software 50 line sage software training 50 accounting line sage software sage line 50 software sage line sage line 50 training course 50 controller financial line sage v12 sage line 50 note 100 50 line sage 50 cheap discount line sage Searches done in April 2006 Count Search Term sage software sage accounting software sage payroll software sage software inc 100 line sage software 50 line sage software training act sage software sage payroll software training sage software training 50 accounting line sage software sage software mas 90 sage line 50 software accounting sage sales software sage payroll software course sage account software discount sage software sage accounting software uk sage book keeping software form sage software sage line50 software C# .NET Visual Basic .NET VB.NET Component OCX DLL Return to Sage Data Objects for .NET homepage CreateObject Method

CreateObject Method

Creates an object of a specified type. This is the primary method used to create objects that represent the Sage Line 50 data files and allow access to the data files.

Syntax

object.CreateObject(name)

The CreateObject method syntax has these parts;

Part Description
object An expression that evaluates to an object below.
name A string expression containing the name of the object you wish to create. See settings for a list of valid objects.

Settings

The name property can have the following settings.

Setting Description Derived From
AssetRecord Used to access Fixed Asset records SDORecord
SalesRecord Used to access Customer records SDORecordLinked
PurchaseRecord Used to access Supplier records SDORecordLinked
NominalRecord Used to access Nominal records SDORecordLinked
BankRecord Used to access Bank records SDORecordLinked
StockRecord Used to access Stock records SDORecordLinked
InvoiceRecord Used to access Invoice records SDORecordLinked
SOPRecord Used to access Sales Order records SDORecordLinked
POPRecord Used to access Purchase Order records SDORecordLinked
TransactionPost Used to create audit trail transactions SDOPosting
StockPost Used to create Stock transactions SDOPosting
InvoicePost Used to create Stock / Service Invoices SDOIspPost
POPPost Used to create Purchase Orders SDOIspPost
SOPPost Used to create Sales Orders SDOIspPost
AccrualData Used to directly access the accruals data file ACCRUAL.DTA SDOFile
AssetCategory Used to directly access the fixed asset categories file ASTCAT.DTA SDOFile
AssetData Used to directly access the fixed assets data file ASSETS.DTA SDOFile
BankData Used to directly access the bank data file BANK.DTA SDOFile
ControlData Used to directly access the control data file ACCOUNT.DTA SDOFile
CurrencyData Used to directly access the currency data file ACCRUAL.DTA SDOFile
DepartmentData Used to directly access the department data file DEPARTM.DTA SDOFile
InvoiceData Used to directly access the invoice headers data file INVOICE.DTA SDOFile
NominalData Used to directly access the nominal data file NOMINAL.DTA SDOFile
POPData Used to directly access the purchase order headers data file PUORDER.DTA SDOFile
PrepaymentData Used to directly access the prepayments data file PREPAY.DTA SDOFile
PurchaseData Used to directly access the suppliers data file PURCHASE.DTA SDOFile
RecurringData Used to directly access the recurring entries data file RECUR.DTA SDOFile
SalesData Used to directly access the customers data file SALES.DTA SDOFile
SetupData Used to directly access the setup data file SETUP.DTA SDOFile
SOPData Used to directly access the sales order headers data file SAORDER.DTA SDOFile
StockCategory Used to directly access the stock category data file STKCAT.DTA SDOFile
StockData Used to directly access the stock data file STOCK.DTA SDOFile
InvItem Used to directly access the invoice line items file INVITEM.DTA SDOLinkedFile
POPItem Used to directly access the purchase order line items file PUOITEM.DTA SDOLinkedFile
SOPItem Used to directly access the sales order line items file SAOITEM.DTA SDOLinkedFile
StockTran Used to directly access the stock transactions file STKTRANS.DTA SDOLinkedFile
HeaderData Used to directly access the transaction headers file HEADERS.DTA SDOLinkedSubFile
SplitData Used to directly access the transaction splits file SPLITS.DTA SDOLinkedSubFile
UsageData Used to directly access the transaction usage's file USAGE.DTA SDOLinkedFile
AssetIndex Used to directly access the fixed assets index file ASTINDEX.DTA SDOIndexFile
BankIndex Used to directly access the fixed assets index file BNKINDEX.DTA SDOIndexFile
NominalIndex Used to directly access the nominal record index file NOMINDEX.DTA SDOIndexFile
POPIndex Used to directly access the purchase order index file PUOINDEX.DTA SDOIndexFile
PurchaseIndex Used to directly access the supplier record index file PURINDEX.DTA SDOIndexFile
SalesIndex Used to directly access the customer record index file SALINDEX.DTA SDOIndexFile
SOPIndex Used to directly access the sales order index file SAOINDEX.DTA SDOIndexFile
StockIndex Used to directly access the stock record index file STKINDEX.DTA SDOIndexFile

Note

In the above table, the 'Derived From' column indicates the base object that is used to create the object named in the 'Setting' column. See the relevant 'Derived Object' to find out what Methods and Properties the object created will have.