📚 SAP Business One SDK Help

UserDefaultGroups Object Members
See Also  Overview 

Public Methods

Public Method Addmethod Add
Public Method GetAsXMLReturns the object from XML data, which is stored as string in a buffer.
Public Method GetByKeyRetrieves and sets the values of the object's properties by the object's absolute key from the Company database.
Public Method RemoveDeletes the current record.
Public Method SaveToFileSave the object to a file as XML data.
Public Method SaveXMLSaves the object data to XML formatted data.
Public Method UpdateUpdates the object data in the company database.

Public Properties

Public Property AdditionalIdNumberSets or returns the default additional ID number of the company.

Field name: FreeZoneNo.

Length: 32 characters.

Public Property AddressSets or returns the default company address.

Field name: Address.

Length: 254 characters.

Public Property AddressinForeignLanguageSets or returns the default company address in foreign language.

Field name: FrgnAddr.

Length: 254 characters.

Public Property AssetInDocproperty AssetInDoc
Public Property BPforInvoicePaymentSets or returns the default customer for A/R invoices and payments. This is a foreign key to CardCode (BusinessPartners.

Field name: ICTCard.

Length: 15 characters.

This is a foreign key to the BusinessPartners object.

Public Property BPLIDproperty BPLID
Public Property BrowserReturns the DataBrowser object.
Public Property CashAccountSets or returns the default G/L account for cash receipt.

Field name: CashAcct.

Length: 15 characters.

Public Property CheckingAcctSets or returns the default G/L account for incoming checks.

Field name: CheckAcct.

Length: 15 characters.

Public Property CodeSets or returns the code (primary key) of the user defaults group.

Mandatory property.

Field name: Code.

Length: 8 characters.

Public Property CountrySets or returns the default country code.

Field name: Country.

Length: 3 characters.

This is a foreign key to the Countries table (OCRY - not exposed through the DI API).

Public Property DefaultCreditCardsReturns the DefaultCreditCards child object.
Public Property DefaultDocumentsReturns the DefaultDocuments child object.
Public Property DefaultPTICodeproperty DefaultPTICode
Public Property DefaultPTICodesproperty DefaultPTICodes
Public Property DefaultTaxCodeSets or returns the default sales tax code. This is a foreign key to Code of the SalesTaxCodes object.

Field name: DflTaxCode.

Length: 8 charcters.

This is a foreign key to the SalesTaxCodes object.

Public Property eMailSets or returns the default e-mail address.

Field name: E_Mail.

Length: 100 characters.

Public Property FaxNumberSets or returns the default fax number.

Field name: Fax.

Length: 50 characters.

Public Property FaxNumberForeignLangSets or returns the default fax number in foreign language.

Field name: FrgnFax.

Length: 50 characters.

Public Property LanguageCodeproperty LanguageCode
Public Property NameSets or returns the name of the user defaults group.

Field name: Name.

Length: 20 characters.

Public Property PhoneNumber1Sets or returns the first default phone number.

Field name: Phone1.

Length: 50 characters.

Public Property PhoneNumber1ForeignLangSets or returns the first default phone number in foreign language.

Field name: FrgnPhone1.

Length: 50 characters.

Public Property PhoneNumber2Sets or returns the second default phone number.

Field name: Phone2.

Length: 50 characters.

Public Property PhoneNumber2ForeignLangSets or returns the second default phone number in foreign language.

Field name: FrgnPhone2.

Length: 50 characters.

Public Property PrintingHeaderSets or returns the default header to print in all documents (for example, the company name).

Field name: PrintHeadr.

Length: 100 characters.

Public Property PrintingHeaderInForeignLanguSets or returns the default header in foreign language to print in all documents.

Field name: FrnPrntHdr.

Length: 100 characters.

Public Property PrintInvoiceandPaymentinSDetermines the default for whether or not to print invoices and payments in succession.

Field name: ShortRcpt.

Public Property PrintReceiptSets or returns a valid value of BoPrintReceiptEnum that determines when to print payment with invoice.

Field name: PrintRcpt.

Public Property SalesEmployeeSets or returns the default sales employee code that will be applied in documents, sales opportunities, and so on.

Field name: SalePerson.

This is a foreign key to SalesEmployeeCode.

Public Property UserFieldsReturns the UserFields object.
Public Property UserSignatureSets or returns the key of the user who defines the UseDefaultGroups object.

Field name: UserSign.

This is a foreign key to Users object.

Public Property UseTaxDetermines the default whether or not to enable Use Tax calculations.

Country-specific for U.S.

Field name: UseTax.

Public Property UseWarehouseAddressinAPDSets or returns a valid value that determines wether or not to use the warehouse address in purchase documents.

Field name: AdrsFromWh.

Public Property WarehouseSets or returns the default warehouse code that will be applied in documents.

Length 8 characters.

Field name: Warehouse.

This is a foreign key to the Warehouses object.

Public Property WindowsColorSets or returns the the default windows color.

Field name: Color.

See Also