Skip to Content
0
Former Member
Jan 20, 2006 at 09:49 AM

create draft document of stock transferences

12 Views

I created a draft document of transferences of stock with SDK.

Code header:

Dim sboTransferDraft As SAPbobsCOM.Documents sboTransferDraft = SBOCompany.GetBusinessObject(SAPbobsCOM.BoObjectTypes.oDrafts)

sboTransferDraft.DocObjectCodeEx = "67"

sboTransferDraft.CardCode = "C00001"

sboTransferDraft.DocDate = Now

sboTransferDraft.TaxDate = Now

sboTransferDraft.Comments = "Comments"

...

Line code

...

sboTransferDraft.Add

But I do not obtain to modify the warehouse origin.

somebody can help me?

thanks