Sample Job…… static void SaleslineMarkupexample(Args
_args) {
markuptrans markupTrans;
markupcode code = 'Fee';
amount markupAmount = 10;
salesID so = '00015_036';
str
transtext = "Markup Transaction Text"; lineNum
ln= 1;
salesLine sLine; sLine =
salesLine::find(so, ln);
markupTrans.initFromSalesLine(sLine);
markupTrans.initValue();
markupTrans.MarkupCode = code;
markupTrans.Value =
markupAmount;
markuptrans.MarkupCategory = markupcategory::Fixed;
markupTrans.Txt
= transtext; markupTrans.insert(); } G’luck – From: Hello All! Does anyone know how I
can add a Misc. Charge through code? Say I have a Sales Order and I want to add
a Misc. Freight Charge through code to a given Line Item. Does anyone have any
code examples on how to do this? thanks,
|