AR Received Payment: Difference between revisions

no edit summary
mNo edit summary
No edit summary
Line 1:
{{NavigateDeveloper}}
==Incomplete (new document flow writing)==
 
==Rules in AR Payment==
===Assemblies version 1.8===
# Payment '''Knockoff Date''' must be greater than the '''Payment Date'''.
# Payment net total must be greater than 0.
 
===Assemblies in AutoCount Accounting version 1.8===
<pre>
BCE.AutoCount.dll
BCE.AutoCount.CommonAccounting.dll
BCE.AutoCount.MainEntry.dll
BCE.Utils.dll
BCE.Utils.UI.dll
BCE.AutoCount.ARAP.dll
</pre>
 
==Complete Sample Code for Testing==
 
===Source Data Modal (Example for reference Only)===
 
==Sample Code==
===Source Data Modal (Example Only)===
'''Source''' is the '''DataModel''' of your source data that is implemented to update data to AutoCount Accounting.
The Source DataModal designed here is for reference only.
Line 32 ⟶ 39:
 
public List<ARPaymentDetailSource> PaymentDetail = new List<ARPaymentDetailSource>();
public List<ARPaymentKnockoffPaymentKnockoffSource> PaymentKnockoff = new List<ARPaymentKnockoffPaymentKnockoffSource>();
}
 
Line 44 ⟶ 51:
public string BankChargeBillNoForGst { get; set; }
public string PaymentBy { get; set; }
/// If this cheque is returned/bounced cheque
/// <summary>
/// Set the returned/bounced date. Otherwise it is null
/// If this cheque is returned/bounced cheque
/// Set the returned/bounced date. Otherwise it is null
/// </summary>
public DateTime? ReturnChequeDate { get; set; }
}
 
public class ARPaymentKnockoffPaymentKnockoffSource
{
public const string ARInvoiceDocType = BCE.AutoCount.Document.DocumentType.ARInvoice;
Line 59 ⟶ 64:
public string DocNo { get; set; }
public decimal Amount { get; set; }
//When knockoff date is null,
public DateTime? DBDate { get; set; }
//system will use Payment Date as knockoff date
public DateTime? DBDateDate { get; set; }
}
</syntaxhighlight>