line

sap-sdk

Line-Object

 

document

  |_ Line

      |_ batchnumber

       |_ serialnumber

 

Methods (^1)

add

add Line

setcurrentline=<x>

set to line x

delete=<x>

delete line x

.

Properties (^1)

accountcode


address


additionalreference


basesum


backorder


baseentry


baseline


batchnumber

see batchnumbers

commisionpercent


consumersalesforcast


costingcode, profitcenter


countryorg


credit

credit from journalentry. if variable "journal_storno" not true and oadm.negamount not "Y" and the credit is negative, then beas write the value in debit.

Example for Storno (current object = journal):

// enable storno - option
setvar=journal_storno=true
..
journal.lines.credit=-500
journal.lines.debit1=-300
journal.lines.debit2=-200
..
// disable storno - option !!
setvar=journal_storno=false  

 

if oadm.negamount=Y then credit=-500, debit=-300 and -200

if oadm.negamount=N then debit=-500, credit=-300 and -200

 

currency


debit

debit from journalentry. if variable "journal_storno" not true and oadm.negamount not "Y" and the debit is negative, then beas write the value in credit

discountpercent, discprcnt


factor1 ,, factor4


freetext


height1


height2


height1unit


height2unit


itemcode


itemdescription,itemname,description


lengh1


lengh1unit


lengh2


lengh2unit


price

Do not use price... YOU NEED TO USE "unitprice"

priceaftervat


projectcode,project


quantity


rate


salespersoncode


serialnumbers

see serialnumbers

shipdate


shippingmethod


suppliercatnum


sww


taxcode


unitprice

If this field is not present than use the field price

vatcode


vatgroup


wahrehousecode


u_xxx

UDF's

 

(^1) Quelle: SAP Business One SDK