2,743
edits
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.
<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<
}
Line 44 ⟶ 51:
public string BankChargeBillNoForGst { get; set; }
public string PaymentBy { get; set; }
▲ /// If this cheque is returned/bounced cheque
▲ /// Set the returned/bounced date. Otherwise it is null
public DateTime? ReturnChequeDate { get; set; }
}
public class
{
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
}
</syntaxhighlight>
|