<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
		<id>https://developerzone-stg.pastel.co.za/index.php?action=history&amp;feed=atom&amp;title=C_Credit_Note</id>
		<title>C Credit Note - Revision history</title>
		<link rel="self" type="application/atom+xml" href="https://developerzone-stg.pastel.co.za/index.php?action=history&amp;feed=atom&amp;title=C_Credit_Note"/>
		<link rel="alternate" type="text/html" href="https://developerzone-stg.pastel.co.za/index.php?title=C_Credit_Note&amp;action=history"/>
		<updated>2026-04-17T19:36:15Z</updated>
		<subtitle>Revision history for this page on the wiki</subtitle>
		<generator>MediaWiki 1.25.2</generator>

	<entry>
		<id>https://developerzone-stg.pastel.co.za/index.php?title=C_Credit_Note&amp;diff=209&amp;oldid=prev</id>
		<title>Admin: Created page with &quot;'''A Credit Note can be Saved or processes just like in Evolution. The following example is on placing a CN.'''  &lt;syntaxhighlight lang=&quot;csharp&quot;&gt;             CreditNote CN = ne...&quot;</title>
		<link rel="alternate" type="text/html" href="https://developerzone-stg.pastel.co.za/index.php?title=C_Credit_Note&amp;diff=209&amp;oldid=prev"/>
				<updated>2015-11-17T06:37:06Z</updated>
		
		<summary type="html">&lt;p&gt;Created page with &amp;quot;&amp;#039;&amp;#039;&amp;#039;A Credit Note can be Saved or processes just like in Evolution. The following example is on placing a CN.&amp;#039;&amp;#039;&amp;#039;  &amp;lt;syntaxhighlight lang=&amp;quot;csharp&amp;quot;&amp;gt;             CreditNote CN = ne...&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;'''A Credit Note can be Saved or processes just like in Evolution. The following example is on placing a CN.'''&lt;br /&gt;
&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;csharp&amp;quot;&amp;gt;&lt;br /&gt;
            CreditNote CN = new CreditNote();&lt;br /&gt;
            CN.Customer = new Customer(&amp;quot;Customer1&amp;quot;);&lt;br /&gt;
            CN.InvoiceDate = DateTime.Now;// choose to set the invoice date or Order date etc&lt;br /&gt;
            CN.InvoiceTo = CN.Customer.PostalAddress.Condense();//Condense method can be used or you can specify the address as below&lt;br /&gt;
            CN.DeliverTo = new Address(&amp;quot;Physical Address 1&amp;quot;, &amp;quot;Address 2&amp;quot;, &amp;quot;Address 3&amp;quot;, &amp;quot;Address 4&amp;quot;, &amp;quot;Address 5&amp;quot;, &amp;quot;PC&amp;quot;);&lt;br /&gt;
            CN.Project = new Project(&amp;quot;P1&amp;quot;);//Various CN properties like project can be set&lt;br /&gt;
&lt;br /&gt;
            OrderDetail OD = new OrderDetail();&lt;br /&gt;
            CN.Detail.Add(OD);&lt;br /&gt;
            //Vaious Order Detail properties can be added like warehouse , sales reps , userfields etc&lt;br /&gt;
            OD.InventoryItem = new InventoryItem(&amp;quot;ItemA&amp;quot;);//Use the inventoryItem constructor to specify a Item&lt;br /&gt;
            OD.Quantity = 10;&lt;br /&gt;
            OD.ToProcess = OD.Quantity;&lt;br /&gt;
            OD.UnitSellingPrice = 20;&lt;br /&gt;
&lt;br /&gt;
            OD = new OrderDetail();&lt;br /&gt;
            CN.Detail.Add(OD);&lt;br /&gt;
            OD.GLAccount = new GLAccount(&amp;quot;Accounting Fees&amp;quot;);//Use the GLAccount Item constructor to specify a Account&lt;br /&gt;
            OD.Quantity = 1;&lt;br /&gt;
            OD.ToProcess = OD.Quantity;&lt;br /&gt;
            OD.UnitSellingPrice = 30;&lt;br /&gt;
&lt;br /&gt;
            CN.Process();&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;/div&gt;</summary>
		<author><name>Admin</name></author>	</entry>

	</feed>