Method |
Description |
---|---|
add |
|
cancel |
|
close |
|
getasxml |
|
getbykey |
|
savetofile |
|
savexml |
|
update |
|
setbpl=<warehouse> |
set the branch from warehouse (only if multi branch is activ) |
Proiperty |
Description |
---|---|
acivity, action |
Sets or returns a valid value of BoActivities type that specifies an activity with the business partner. Set: activity=1 (meeting) Get: activity= return value in <value> |
activitytype, cntcttype |
Set or get the activity. Set: activitytype=1 Get: activitytype= return value in <e_activitytype> |
address |
|
adress2 |
|
agentcode |
|
bpl_idassignedtoinvoice |
only if multi branch is activ set the bpl_id for branch OBPL |
cardcode |
|
cardname |
|
comments |
|
confirmed |
y/n |
contactcode |
Sets or returns the code of the contact person Set: contactcode=112 Get: contactcode= return value in <e_contactcode> |
contactpersoncode |
Sets or returns the contact person code of the specified business partner. Set: contactpersoncode=23 Get: contactpersoncode= return value in <e_ContactPersonCode> |
contactdate, cntctdate |
Sets or returns the contact date. Set: contactdate=2014.04.23 Get: contactdate= return value in <e_ContactDate> |
details |
Sets or returns the details. Set: details=Set my details text Get: details= return value in <e_detail> |
doccurrency |
|
docdate |
|
docduedate |
delivery date in sale, value date in invoice, validate to in quotations ... |
docentry |
internal number - not set! |
docnum |
Sets or returns the number of the document. Set: docnum=10002341 Get: docnum= return value in <e_docnum> |
docnum_str |
Sets or returns the import or export document number. Set: docnum_str=A23ZR Get: docnum_str= return value in <e_ls_docnum> |
docobjectcode |
refered to getbusinessobject. must be set in drafdocuments. only for backward compatibility. |
docobjectcodeex |
new function for docobjectcode. see getbusinessobject |
fromwarehouse |
only transfer: from warehouse |
handwritten |
y/n |
languagecode |
|
lines |
lines-object |
manualnumber |
char(20) |
numatcard |
char(16) Sets or returns a unique code by which your vendor/customer identifies your company. |
project |
|
reference1 |
char(11) |
reference2 |
char(11) |
shiptocode |
Sets or returns the Ship To address name. Length: 50 characters. |
transportationcode,trnspcode |
add |
|
setcurrentline |
setcurrentline=1 |
Propertie for specialline |
accountcode |
|
address |
|
barcode |
Sets or returns the bar code (EAN code) for this item. Length: 16 characters. |
baseentry |
|
baseline |
|
basetype |
|
batchnumber-object |
|
backorder |
Sets or returns a valid value of Y/N type that specifies whether or not to enable partial quantities of items per row in the document. |
commisionpercent |
|
consumersalesforcast |
y/n |
costingcode, profitcenter |
|
countryorg |
|
currency |
|
discountpercent, discprcnt |
|
factor1 .... factor4 |
|
height1 |
|
height2 |
|
height1unit |
|
height2unit |
|
itemcode |
|
itemdescription, itemname |
|
lengh1 |
|
lengh1unit |
|
lengh2 |
|
lengh2unit |
|
price |
|
priceaftervat |
|
projectcode, project |
|
quantity |
|
rate |
|
salespersoncode |
|
serialnumbers |
|
shipdate |
|
shippingmethod |
|
suppliercatnum |
|
sww |
|
taxcode |
|
vatgroup |
declare vdoc=ue_api_sbo
vdoc=getbusinessobject=ordr
vdoc=doctype=0
vdoc=docduedate=<today>
vdoc=numatcard=mycreference
vdoc=cardcode=KundeA
vdoc=lines=itemcode=bau01
vdoc=lines=quantity=10
vdoc=lines=shipdate=2006/08/01
vdoc=lines=price=10
vdoc=add
destroy vdoc
declare vdoc=ue_api_sbo
vdoc=getbusinessobject=odrafts
vdoc=docobjectcode=opurchaseorders
vdoc=doctype=0
vdoc=docduedate=<today>
vdoc=numatcard=mycreference
vdoc=cardcode=KundeA
vdoc=lines=itemcode=bau01
vdoc=lines=quantity=10
vdoc=lines=shipdate=2006/08/01
vdoc=lines=price=10
vdoc=add
destroy vdoc
declare vdoc=ue_api_sbo
vdoc=getbusinessobject=ordr
vdoc=doctype=0
vdoc=docduedate=<today>
vdoc=numatcard=mycreference
vdoc=cardcode=KundeA
vdoc=u_ref=3246535-55
vdoc=lines=itemcode=bau01
vdoc=lines=quantity=10
vdoc=lines=shipdate=2006/08/01
vdoc=lines=price=10
vdoc=lines=u_color=red
vdoc=add
destroy vdoc
(^1) Quelle: SAP Business One SDK