<?xml version="1.0" encoding="utf-8"?>
<ManualTopic ID="/baanerp/da/onlinemanual/000058" xml:lang="en">
	<Header>
		<Title xmlns:HTML="http://www.w3.org/TR/REC-html40">dadll_predefine</Title>
	</Header>
	<GeneralSection><GeneralSection><SectionTitle>DLL Usage description</SectionTitle>
			<Paragraph class="Default">Library: dadllpredefine</Paragraph>
			<Paragraph class="Default">This library contains the functions as are defined for usage in condition programming. See for example. session "Predefined Functions/Variables" (daxch0510s000).</Paragraph>
		</GeneralSection>
		<GeneralSection><SectionTitle>DLL Prototypes</SectionTitle>
			<Formula space-and-orientation="indented-estimated"><Paragraph class="Default"> 
function extern string convert.with.rel(
                const domain daxch.cxch xch.scheme, 
                const domain daxch.crel relation, 
                const string old.value(), 
                [ long company ] ) 

pre   : true

return: the new value belonging to the old value according to the relation
        &lt;relation&gt; of exchange scheme &lt;xch.scheme&gt; of company &lt;company&gt;. 
        * If &lt;company&gt; is not specified the current company is taken. 
        * If either one of &lt;xch.scheme&gt;, &lt;relation&gt; or &lt;old.value&gt; does not exist the old value will 
          be returned. 


function extern long read.table.company(
                const string tablename(),
                long compno, long index.no, ) 

pre   : true (format of tablename: ppmmmccc) 

return: 0: read on table was succesfull 
        1: error during read on table 


function extern long read.table.once( 
                const string tablename(), 
                long index.no, ) 

pre   : true (format of tablename: ppmmmccc) 

return: 0: read on table was succesfull 
        1: error during read on table</Paragraph>
			</Formula>
		</GeneralSection>
	</GeneralSection>
	<RelatedTopics><SectionTitle>
                              Related topics
                           </SectionTitle>
		<RelTopic><Link href="/baanerp/da/onlinemanual/000102" role="manual">Libraries</Link>
		</RelTopic>
	</RelatedTopics>
</ManualTopic>
