📚 SAP Business One SDK Help

StockTransfer Object Members
See Also  Overview 

Public Methods

Public Method AddAdds a record to the object table in SAP Business One company database.
Public Method CancelCancels a record from the object table.

Supported from release 2005 SP1.

Cancels a record from the object table.

Public Method CloseNot supported.
Public Method GetApprovalTemplatesGets the related approval template.
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 HandleApprovalRequestmethod HandleApprovalRequest
Public Method RemoveDeletes a record from the object table.
Public Method SaveDraftToDocumentConverts an approved draft document to a valid document.
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 AddressSets or returns the customer address where the items are shipped to as a consignment.

Field name: Address.

Length: 254 characters.

Public Property ATDocumentTypeproperty ATDocumentType
Public Property AttachmentEntryproperty AttachmentEntry
Public Property AuthorizationCodeproperty AuthorizationCode
Public Property AuthorizationStatusReturns the status of the authorization for this payment.

Field name: wddStatus.

Public Property BPLIDproperty BPLID
Public Property BPLNameproperty BPLName
Public Property BrowserReturns the DataBrowser object.
Public Property CardCodeSets or returns the code of the business partner who receives the items.

Field name: CardCode.

Length: 15 characters.

This is a foreign key to the BusinessPartners object.

Public Property CardNameSets or returns the name of the business partner who receives the items as a consignment.

Field name: CardName.

Length: 100 characters.

Public Property CommentsSets or returns the remarks for the stock transfer.

Field name: Comments.

Length: 254 characters.

Public Property ContactPersonSets or returns the code of the contact person.

Field name: CntctCode.

This is a foreign key to the ContactEmployees object.

Public Property CopyDutyStatusCopy duty status from the base document.

Field name: CpyDtyStts.

Public Property CreateQRCodeFromHolds some document data, which are used to create QR code for that particular document.
Public Property CreationDateReturns the creation date of the stock transfer.

Field name: CreateDate.

Public Property DocDateSets or returns the posting date for the stock transfer.

Field name: DocDate.

Public Property DocEntryReturns the document entry key that identifies the stock transfer.

Field name: DocEntry.

Public Property DocNumReturns the document number of the stock transfer.

Field name: DocNum.

Public Property DocObjectCodeIndicates that the object is a stock transfer. When creating a stock transfer draft, set this property to BoObjectTypes.oStockTransfer.

Field name: ObjType

Public Property DocumentReferencesproperty DocumentReferences
Public Property DocumentStatusproperty DocumentStatus
Public Property DueDateSets or returns the due date for the document.

Field name: DocDueDate.

Public Property DutyStatusWhether this document is with or without payment of duty.

Field name: DutyStatus.

Public Property EDeliveryInfoproperty EDeliveryInfo
Public Property EDocExportFormatBrazil only. Holds a mapping ID (of SPP mapping). The mapping which is used to transform document datasource into final XML which is sent to authority, when document is handled as electronic document.

Field name: EDocExpFrm.

Public Property ElecCommMessageproperty ElecCommMessage
Public Property ElecCommStatusproperty ElecCommStatus
Public Property ElectronicProtocolsproperty ElectronicProtocols
Public Property EndDeliveryDateproperty EndDeliveryDate
Public Property EndDeliveryTimeproperty EndDeliveryTime
Public Property FinancialPeriodReturns the financial period.

Field name: FinncPriod.

This is a foreign key to the FinancePeriod object.

Public Property FolioNumberSets or returns the reference number in a stock transfer.

Country-specific field for Mexico and Chile.

Field name: FolioNum.

Public Property FolioNumberFromproperty FolioNumberFrom
Public Property FolioNumberToproperty FolioNumberTo
Public Property FolioPrefixStringSets or returns the prefix for the FolioNumber.

Country-specific field for Mexico and Chile.

Field name: FolioPref.

Length: 2 characters.

Public Property FromWarehouseSets or returns the warehouse code from which the items are withdrawn.

Field name: Filler.

Length: 8 characters.

This is a foreign key to the Warehouses object.

Public Property JournalMemoSets or returns the journal entry details.

Field name: JrnlMemo.

Length: 50 characters.

Public Property LastPageFolioNumberFolio number of the last page of the marketing document in the Chile localization.

Field name: LPgFolioN.

Public Property Letterproperty Letter
Public Property LinesReturns the StockTransfer_Lines child object.
Public Property PointOfIssueCodeproperty PointOfIssueCode
Public Property PriceListSets or returns the price list for the items.

Field name: GroupNum.

This is a foreign key to the PriceLists object.

Public Property PrintedReturns a valid value of BoYesNoEnum type that specifies whether or not the stock transfer document was printed.

Field name: Printed.

Public Property Reference1Sets or returns the first reference code of the stock transfer.

Field name: Ref1.

Length: 11 characters.

Public Property Reference2Sets or returns the second reference code of the stock transfer.

Field name: Ref2.

Length: 11 characters.

Public Property SalesPersonCodeSets or returns the sales person code.

Field name: SlpCode.

This is a foreign key to the SalesPersons object.

Public Property SAPPassportproperty SAPPassport
Public Property SeriesSets or returns the auto-number series that generated the document number.

Field name: Series.

This is a foreign key to the Series object.

Public Property ShipToCodeproperty ShipToCode
Public Property StartDeliveryDateproperty StartDeliveryDate
Public Property StartDeliveryTimeproperty StartDeliveryTime
Public Property StockTransfer_ApprovalRequestsReturns the StockTransfer_ApprovalRequests object.
Public Property TaxDateSets or returns the tax date for the document.

Field name: TaxDate.

Public Property TaxExtensionReturns the stock tranfer tax extension child object.
Public Property ToWarehouseThe receiving warehouse for the transferred item.

Field name: ToWhsCode.

Length: 8 characters.

Public Property TransNumReturns the transaction code that SAP Business One creates for the stock transfer.

Field: TransId.

Public Property UpdateDateReturns the date when the stock transfer document was last updated.
Public Property UserFieldsReturns the UserFields object.
Public Property VATRegNumproperty VATRegNum
Public Property VehiclePlateproperty VehiclePlate

See Also