AR Deposit: Difference between revisions

no edit summary
mNo edit summary
No edit summary
 
(9 intermediate revisions by the same user not shown)
Line 1:
==Technical Specification==
{{NavigateDeveloper}}
# DepositPaymentMethod'''Deposit Payment Method''' must be a payment method that is link to an Account that is created as type of "Deposit" Account in '''GL''' | '''Account Maintenance'''.
===Rules in AR Deposit===
# DepositPaymentMethod must be a payment method that is link to an Account that is created as type of "Deposit" Account.
 
===Assemblies version 1.8===
<pre>
BCE.AutoCount.ARAP.dll
</pre>
 
<br />
===Assemblies version 1.8=, 1.9==
{{BaseReferenceAC18}}
'''BCE.AutoCount.ARAP.dll'''
<br />
==Sample with data model==
===Create new AR Deposit===
<syntaxhighlight lang="csharp">
Line 38:
doc.DeptNo = source.Department;
 
source.DetailPaymentDetail.ForEach(s => AddARDepositDetail(s, doc.AddDetail));
 
try
Line 99:
</syntaxhighlight>
 
===Classes of Source (data model)===
 
===Classes of Source===
<syntaxhighlight lang="csharp">
public class ARDepositSource
Line 120 ⟶ 119:
 
//IsSecurityDeposit is to decide whether this deposit is subject to GST
//true: not subject to GST and is meant to be refund
//false: subject to GST and is considered as "Advance Payment"
public bool IsSecurityDeposit { get; set; }
 
public List<ARDepositDetailSource> DetailPaymentDetail = new List<ARDepositDetailSource>();
}
 
Line 142 ⟶ 143:
 
===Implementation===
* Deposit without Debtor Code
[[File:ProgrammerNewARDeposit1.PNG|link=]]<br />
* Deposit with Debtor Code
[[File:ProgrammerNewARDeposit2.PNG|link=]]
<syntaxhighlight lang="csharp">
Line 156 ⟶ 159:
};
 
newDoc.DetailPaymentDetail.Add(new ARDepositDetailSource()
{
PaymentMethod = "BANK",
Line 177 ⟶ 180:
};
 
newDoc.DetailPaymentDetail.Add(new ARDepositDetailSource()
{
PaymentMethod = "BANK",
Line 189 ⟶ 192:
</syntaxhighlight>
 
{{SeeAlsoAPIAccount}}
==See Also==
* [[AR Debtor]]
* [[AR Invoice]]
* [[AR Received Payment]]
* [[AR Debit Note]]
* [[AR Credit Note]]
* [[AR Refund]]
* [[AR Deposit]]
* [[AR Deposit with AR Refund & AR Forfeit]]
 
[[Category:Programmer]]
[[Category:API]]
[[Category:Integrate]]
[[Category:Plug-In]]
{{NavigateDeveloper}}