|
void | Reset () |
| Reset posting instance properties to its default values More...
|
|
void | CalcAmounts ([In, MarshalAs(UnmanagedType.Currency)]decimal amount, [In]bool isRounding) |
| Calculate amount, FC amount, VAT amount and VAT FC amount in accordance to isInclusive flag, vatPercent, vatQuote. If isSwissVATRounding is true, then amount are calculated in accordance to Swiss rounding approach. More...
|
|
|
Guid | ID [get, set] |
| Posting identity More...
|
|
Guid | TransactionFID [get, set] |
| Link to transaction More...
|
|
Guid | InvoiceFID [get, set] |
| Link to invoice More...
|
|
int | AccountFID [get, set] |
| Link to the account More...
|
|
int | ContraAccountFID [get, set] |
| Link to contra account More...
|
|
int | VatFID [get, set] |
| Link to VAT More...
|
|
int | VatAccountFID [get, set] |
| Link to VAT account More...
|
|
int | CostCenterFID [get, set] |
| Link to cost center More...
|
|
int | PostingTypeFID [get, set] |
| Posting Type: Compound = 1, Invoice = 2, Payment = 3, WriteOff = 4, Discount = 5, Fee = 6, Difference = 7, SubPosting = 8, More...
|
|
decimal | Amount [get, set] |
| Amount More...
|
|
decimal | FcAmount [get, set] |
| Foreign currency amount More...
|
|
decimal | ExchangeRate [get, set] |
| Exchange rate More...
|
|
decimal | VatAmount [get, set] |
| VAT amount More...
|
|
decimal | VatFcAmount [get, set] |
| VAT foreign currency amount More...
|
|
decimal | VatPercent [get, set] |
| VAT rate More...
|
|
decimal | VatQuote [get, set] |
| Vat quote More...
|
|
string | Text [get, set] |
| Posting text More...
|
|
string | FreeCode [get, set] |
| Free code More...
|
|
bool | IsDebit [get, set] |
| Whether amount debited or credited More...
|
|
bool | IsInclusive [get, set] |
| Show how VAT amount is displayed in grids and forms More...
|
|
bool | IsInvisible [get, set] |
| Whether posting invisible (back posting) More...
|
|
int | PostingIndex [get, set] |
| Posting order within transaction More...
|
|
int | PartyNum [get] |
| Party number of linked invoice More...
|
|
string | FreePartyNum [get] |
| Party free number of linked invoice More...
|
|
string | PartyName [get] |
| Party name of linked invoice More...
|
|
int | InvoiceNum [get] |
| Invoice number of linked invoice More...
|
|
string | FreeInvoiceNum [get] |
| Invoice free number of linked invoice More...
|
|
DateTime | InvoiceDate [get] |
| Invoice date of linked invoice More...
|
|
§ CalcAmounts()
void TopalServerAPI.IPosting.CalcAmounts |
( |
[In, MarshalAs(UnmanagedType.Currency)] decimal |
amount, |
|
|
[In] bool |
isRounding |
|
) |
| |
Calculate amount, FC amount, VAT amount and VAT FC amount in accordance to isInclusive flag, vatPercent, vatQuote. If isSwissVATRounding is true, then amount are calculated in accordance to Swiss rounding approach.
- Parameters
-
amount | posting amount |
isRounding | is VAT swiss rounded |
§ Reset()
void TopalServerAPI.IPosting.Reset |
( |
| ) |
|
Reset posting instance properties to its default values
§ AccountFID
int TopalServerAPI.IPosting.AccountFID |
|
getset |
§ Amount
decimal TopalServerAPI.IPosting.Amount |
|
getset |
§ ContraAccountFID
int TopalServerAPI.IPosting.ContraAccountFID |
|
getset |
§ CostCenterFID
int TopalServerAPI.IPosting.CostCenterFID |
|
getset |
§ ExchangeRate
decimal TopalServerAPI.IPosting.ExchangeRate |
|
getset |
§ FcAmount
decimal TopalServerAPI.IPosting.FcAmount |
|
getset |
§ FreeCode
string TopalServerAPI.IPosting.FreeCode |
|
getset |
§ FreeInvoiceNum
string TopalServerAPI.IPosting.FreeInvoiceNum |
|
get |
Invoice free number of linked invoice
§ FreePartyNum
string TopalServerAPI.IPosting.FreePartyNum |
|
get |
Party free number of linked invoice
§ ID
Guid TopalServerAPI.IPosting.ID |
|
getset |
§ InvoiceDate
DateTime TopalServerAPI.IPosting.InvoiceDate |
|
get |
Invoice date of linked invoice
§ InvoiceFID
Guid TopalServerAPI.IPosting.InvoiceFID |
|
getset |
§ InvoiceNum
int TopalServerAPI.IPosting.InvoiceNum |
|
get |
Invoice number of linked invoice
§ IsDebit
bool TopalServerAPI.IPosting.IsDebit |
|
getset |
Whether amount debited or credited
§ IsInclusive
bool TopalServerAPI.IPosting.IsInclusive |
|
getset |
Show how VAT amount is displayed in grids and forms
§ IsInvisible
bool TopalServerAPI.IPosting.IsInvisible |
|
getset |
Whether posting invisible (back posting)
§ PartyName
string TopalServerAPI.IPosting.PartyName |
|
get |
Party name of linked invoice
§ PartyNum
int TopalServerAPI.IPosting.PartyNum |
|
get |
Party number of linked invoice
§ PostingIndex
int TopalServerAPI.IPosting.PostingIndex |
|
getset |
Posting order within transaction
§ PostingTypeFID
int TopalServerAPI.IPosting.PostingTypeFID |
|
getset |
Posting Type: Compound = 1, Invoice = 2, Payment = 3, WriteOff = 4, Discount = 5, Fee = 6, Difference = 7, SubPosting = 8,
§ Text
string TopalServerAPI.IPosting.Text |
|
getset |
§ TransactionFID
Guid TopalServerAPI.IPosting.TransactionFID |
|
getset |
§ VatAccountFID
int TopalServerAPI.IPosting.VatAccountFID |
|
getset |
§ VatAmount
decimal TopalServerAPI.IPosting.VatAmount |
|
getset |
§ VatFcAmount
decimal TopalServerAPI.IPosting.VatFcAmount |
|
getset |
VAT foreign currency amount
§ VatFID
int TopalServerAPI.IPosting.VatFID |
|
getset |
§ VatPercent
decimal TopalServerAPI.IPosting.VatPercent |
|
getset |
§ VatQuote
decimal TopalServerAPI.IPosting.VatQuote |
|
getset |
The documentation for this interface was generated from the following file:
- C:/Data/Source/Topal/TOPAL8.1/TOPAL_8.1/TOPAL SAPI/Interfaces/IPosting.cs