📚 SAP Business One SDK Help

DefaultDocuments Object Members
See Also  Overview 

Public Methods

Public Method AddAdds a new data line to the object.
Public Method SetCurrentLineSets the active row to a specified row number.

Public Properties

Public Property AddExportDetermines the default for whether or not to also export the document to Microsoft Word format when the user clicks the Add button (adds the document to the system).

Field name: ExprtOnAdd.

Public Property AddPrintDetermines the default for whether or not to also print the document when the user clicks the Add button (adds the document to the system).

Field name: PrintOnAdd.

Public Property CodeReturns the code (primary key) of the user defaults group.

Field name: Code.

Length: 8 characters.

Public Property CountReturns the total number of records in the table.
Public Property EnglishKeyboardEnteringBPCDetermines the default for whether or not to switch the keyboard to English when entering a business partner code for the specified document type.

Field name: EngKBCard.

Public Property EnglishKeyboardEnteringItemDetermines the default for whether or not to switch the keyboard to English when entering an item code for the specified document type.

Field name: EngKBCard.

Public Property NoofCopiesSets or returns the number of copies (including original) to print when creating a new document of the specified document type.

Field name: Copies.

Public Property NoofCopiesforManualDocSets or returns the number of copies to print when creating a document with manual number assignment. The system treats a document with manual number assignment as a copy, not as an original document.

Field name: HandCopies.

Public Property ObjectTypeReturns the document type number for which these defaults apply. For example, set the value 23 for sales quatation (see the ObjList field of the OADP table).

Field name: ObjType.

Length: 20 characters.

Public Property PermanentRemarkSets or returns the default permanent remark for printing in the specified document type.

Field name: Remark.

Length: 16 characters.

Public Property PrintDiscountDataDetermines the default for whether or not to print discount data in the specified document type.

Field name: PrnDscnt.

Public Property PrintTotalsSets or returns a valid value that determines wether or not to print the total amount in the document.

Field name: PrintSums.

Public Property PrintVendorCatalogNoSets or returns a valid value that determines wether or not to print the manufacturer number instead of the item number in the specified document type.

Field name: VndrNum.

Public Property TotalsRoundingSets or returns a valid value that determines wether or not to round total amounts in the specified document type.

Field name: RoundSums.

Public Property UserFieldsReturns the UserFields object.

See Also