vwuwoody
27th February 2003, 07:11
Hi,

I have problem to understand the code below. Is anyone can explain to me what's the meaning of "tdsls.401.adjust.line.fields.because.header.changed", how and where I can find those functions.Thank you!

dal.start.business.method("tdsls401", "tdsls.401.adjust.line.fields.because.header.changed",
ret,
tdsls400.orno,
option.to.adjust.stad,
option.to.adjust.tax,
...)



Regards,

OmeLuuk
27th February 2003, 09:58
I assume you can find the functions in the DAL (Data Acces Layer) of tdsls401 (see program scripts: tdsls401).

The code means (look here for more detailed info (http://www.baanboard.com/programmers_manual_baanerp_help_functions_db_operations_dal_start_business_method)):
Start function tdsls.401.adjust.line.fields.because.header.changed() with these arguments: ret, tdsls400.orno, option.to.adjust.stad, option.to.adjust.tax, ...

vwuwoody
27th February 2003, 13:31
OmeLuuk,

Thanks for your reply.

I am at home now, and can not link to company server to try search it again.

Remember I have try to find this function in tdsls401 during in office with unsuccessed. what's happen if this function is missed in tdsls401, and what value will returned? -1 or 0?
The answer may solve our problems.

Thanks again.

Regards,

OmeLuuk
27th February 2003, 13:49
What I found... this is iBaan5.0c

$ echo $BSE
/usr6/BAAN50/bse
$ bic_info6.2 -e otdsls401

---------------------------DLL PROTOTYPES-------------------------------
function extern long after.abort.transaction(
)
...
function extern long tdsls.401.adjust.line.fields.because.header.changed(
domain tcorno i.orno,
domain tcbool i.stad.changed,
domain tcbool i.tax.changed,
domain tcbool i.corn.changed,
domain tcbool i.scon.changed,
domain tcbool i.cwar.changed,
domain tcbool i.date.changed,
domain tcyesno i.reprice,
domain tcbool i.check.lines,
domain tccdis i.chng.akcd.lines,
domain tccdis i.chng.reason.lines,
domain tccdis i.chng.type.lines,
domain tcbool i.all.lines,
ref domain tcbool o.dates.changed )

function extern long tdsls.401.check.direct.delivery.lines.present(
domain tcorno i.orno,
ref domain tcbool o.direct.lines )
...

You should be able to find the same with bic_info.exe

MariaC
27th February 2003, 16:12
the DAL tdsls401 had an include which you will see in Functions, the include is also called tdsls401. This function is in the include.

vwuwoody
2nd March 2003, 23:54
Sorry for reply late.

I have just check the tdsls401 and this function is not available. also I didnot find other two function which OmeLuuk mention on his reply.
We are in Baan 5.0b and I need check this with our Baan Support.
In the meanwhile, could please copy the function to me so I can have this as test see if can sovle our problems(vwu@drhenderson.com.au).
The problem is: when the user change customer delivery address in sales order header and all the line tax code will removed.

Thanks again!

OmeLuuk
3rd March 2003, 11:17
What I found... this is iBaan5.0b

$ echo $BSE
/usr7/BAAN5/bse
(129) [corona]/home/lledelay> bic_info6.2 -e otdsls401

---------------------------DLL PROTOTYPES-------------------------------
function extern long after.destroy.object(
)
...
function extern long tdsls.401.adjust.line.fields.because.header.changed(
domain tcorno i.orno,
domain tcbool i.stad.changed,
domain tcbool i.tax.changed,
domain tcbool i.corn.changed,
domain tcbool i.scon.changed,
domain tcbool i.cwar.changed,
domain tcbool i.date.changed,
domain tcyesno i.reprice,
domain tcbool i.check.lines,
domain tccdis i.chng.akcd.lines,
domain tccdis i.chng.reason.lines,
domain tccdis i.chng.type.lines,
domain tcbool i.all.lines,
ref domain tcbool o.dates.changed )

function extern long tdsls.401.check.direct.delivery.lines.present(
domain tcorno i.orno,
ref domain tcbool o.direct.lines )
...

This is on the reproduction machine of Baan PEG...

You may need to install the latest Solution No: 132832 "When releasoing a Sales Order to Warehousing error 'Set could not be released completely' occurs".

vwuwoody
4th March 2003, 06:58
I have find this function from Function group not program scripts/Libraries group which I try to looking for before. Both in same name(tdsls401) just with different contents.
OmeLuuk and MariaC, Thanks all you help!

Regards,