Difference between revisions of "AR Deposit"

Jump to navigation Jump to search
no edit summary
(7 intermediate revisions by the same user not shown)
==Technical Specification==
# 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===
<br />
===Assemblies version 1.8=, 1.9==
<br />
==Sample with data model==
===Create new AR Deposit===
<syntaxhighlight lang="csharp">
doc.DeptNo = source.Department;
source.DetailPaymentDetail.ForEach(s => AddARDepositDetail(s, doc.AddDetail));
===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>();
* Deposit without Debtor Code
[[File:ProgrammerNewARDeposit1.PNG|link=]]<br />
* Deposit with Debtor Code
<syntaxhighlight lang="csharp">
newDoc.DetailPaymentDetail.Add(new ARDepositDetailSource()
PaymentMethod = "BANK",
newDoc.DetailPaymentDetail.Add(new ARDepositDetailSource()
PaymentMethod = "BANK",
==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]]
authors, Bureaucrats, Confirmed users, Rollbackers, Administrators
Cookies help us deliver our services. By using our services, you agree to our use of cookies.

Navigation menu