<?xml version="1.0" encoding="utf-8"?>
<ManualTopic ID="/baanerp/tf/onlinemanual/000414" xml:lang="en">
	<Header>
		<Title xmlns:ssa="http://www.ssaglobal.com" xmlns:HTML="http://www.w3.org/TR/REC-html40">Rules for trade notes payable generation</Title>
		<Keyword><Level1>Trade notes</Level1>
			<Level2>generation rules</Level2>
		</Keyword>
	</Header>
	<AimSection><Paragraph>If you create trade notes payable from trade note payable advice batches in the <GUIRef href="/baanerp/tf/cmg/tfcmg1225m000" role="session">Generate Trade Notes Payable (tfcmg1225m000)</GUIRef> session, these rules apply.</Paragraph>
	</AimSection>
	<GeneralSection><SectionTitle>Composing criteria</SectionTitle>
		<List><ListIntro>The documents in the advice lines are combined on one trade note payable based on the following composing criteria:</ListIntro>
			<ListItem>Pay-to business partner.</ListItem>
			<ListItem>Currency.</ListItem>
			<ListItem>Payment method.</ListItem>
			<ListItem>Planned payment date.</ListItem>
			<ListItem>Reason code.</ListItem>
			<ListItem>Company.</ListItem>
			<ListItem>Pay-to business partner's bank.</ListItem>
		</List>
	</GeneralSection>
	<GeneralSection><SectionTitle>Trade notes generation</SectionTitle>
		<List><ListIntro>The following rules apply to the generation of trade notes payable:</ListIntro>
			<ListItem>Only those advice lines that have a <GUIRef href="/baanerp/tf/domains/cmg.kopr#trade.note" role="enum">Trade Note</GUIRef> payment method for which the <GUIRef href="/baanerp/tf/domains/cmg.step#doc.issued" role="enum">Document Issued</GUIRef> step is selected are considered for generation. Other advice lines with <GUIRef href="/baanerp/tf/domains/cmg.kopr#trade.note" role="enum">Trade Note</GUIRef> payment methods can only be maintened manually.</ListItem>
			<ListItem>The minimum amount on trade notes, the stamp tax, the type of division and the maximum number of trade notes allowed for the business partner are considered.</ListItem>
			<ListItem>The number of trade note payables to be generated is determined by the type of division. If this number exceeds the maximum number of trade notes allowed for the business partner, the last trade note payable is generated for the remaining amount.</ListItem>
			<ListItem>If after the generation of the trade note payables, a balance amount exists that is less than the minimum trade note amount, this amount is added to the previous trade note amount.</ListItem>
		</List>
		<Paragraph>After a trade note payable is generated, the amount is assigned to the payment advice lines from which it is generated.</Paragraph>
		<List><ListIntro>The assignment is made as follows:</ListIntro>
			<ListItem>All documents with negative amounts (negative sales invoices and purchase credit notes) are assigned to the first created trade note payable. This increases the actual amount on the trade note payable that needs to be assigned to the remaining advice lines. Next, the remaining amount is assigned to advice lines that are grouped based on the <GUIRef href="/baanerp/tf/domains/cmg.tadv" role="domain">Type of Advice</GUIRef> until the balance amount to be assigned becomes zero.</ListItem>
			<ListItem>If an advice line amount exceeds the balance to be assigned, the advice line is split into lines. The new line gets the next sequence number in the order. Next, one line is assigned to the trade note payable and the other line is left open to be assigned to the next trade note payable.</ListItem>
		</List>
	</GeneralSection>
	<RelatedTopics><SectionTitle>Related topics</SectionTitle>
		<RelTopic><Link href="/baanerp/tf/onlinemanual/000407" role="manual">Trade notes division</Link>
		</RelTopic>
		<RelTopic><Link href="/baanerp/tf/onlinemanual/000415" role="manual">Rules for trade notes receivable generation</Link>
		</RelTopic>
	</RelatedTopics>
</ManualTopic>
