Difference between revisions of "AR Deposit"

Jump to navigation Jump to search
no edit summary
m
 
(7 intermediate revisions by the same user not shown)
==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">
doc.DeptNo = source.Department;
 
source.DetailPaymentDetail.ForEach(s => AddARDepositDetail(s, doc.AddDetail));
 
try
</syntaxhighlight>
 
===Classes of Source (data model)===
 
===Classes of Source===
<syntaxhighlight lang="csharp">
public class ARDepositSource
public string Department { get; set; }
 
// 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>();
}
 
 
===Implementation===
* Deposit without Debtor Code
[[File:ProgrammerNewARDeposit1.PNG|link=]]<br />
* Deposit with Debtor Code
[[File:ProgrammerNewARDeposit2.PNG|link=]]
<syntaxhighlight lang="csharp">
};
 
newDoc.DetailPaymentDetail.Add(new ARDepositDetailSource()
{
PaymentMethod = "BANK",
};
 
newDoc.DetailPaymentDetail.Add(new ARDepositDetailSource()
{
PaymentMethod = "BANK",
</syntaxhighlight>
 
{{SeeAlsoAPIAccount}}
==See Also==
* [[AR Debtor]]
* [[AR Invoice]]
* [[AR Received Payment]]
* [[AR Debit Note]]
* [[AR Credit Note]]
* [[AR Refund]]
* [[AR Deposit]]
* [[AR Deposit - Create New or Update with Refund & Forfeit]]
 
[[Category:Programmer]]
[[Category:API]]
[[Category:Integrate]]
[[Category:Plug-In]]
{{NavigateDeveloper}}
authors, Bureaucrats, Confirmed users, Rollbackers, Administrators
2,374
edits
Cookies help us deliver our services. By using our services, you agree to our use of cookies.

Navigation menu