2,743
edits
mNo edit summary |
mNo edit summary |
||
(4 intermediate revisions by the same user not shown) | |||
Line 1:
==Technical Specification==
# AccNo (Sales A/C) cannot be empty or null.
# AccNo (Sales A/C) cannot be Debtor or Creditor Account No.
# NetTotal cannot be in negative value.
# '''NetTotal''' is the sum of amount & GST from details, this field is '''ReadOnly'''.
# Total '''GST''' is the sum of GST & GST Adjustment from details, this field is '''ReadOnly'''.
# Do not set '''empty string''' to '''ProjNo''' and '''DeptNo''', when it is empty, set to '''DBNull.Value'''.
<br />
{{BaseReferenceAC18}}
'''BCE.AutoCount.ARAP.dll'''
==Sample with data model==
===Create new AR Invoice===
<syntaxhighlight lang="csharp">
Line 29 ⟶ 32:
doc.SalesAgent = source.SalesPerson;
doc.JournalType = source.JournalType;
//Set whether to apply rounding method of either by Document or by Each Line,
//this may affect different result in GST Calculation due to decimal point rounding.
doc.RoundingMethod = source.RoundMethod;
//Document Level Inclusive Tax
doc.InclusiveTax = source.Inclusive;
Line 116 ⟶ 121:
</syntaxhighlight>
{{SeeAlsoAPIAccount}}
[[Category:Programmer]]
[[Category:API]]
|