tcBusinessFieldName | tcDataType | tcOperator |
---|---|---|
iiCompanyId | i | |
tAddress1.AddressCity | c | =,>=,>,<>,<=,<,begins,can-do,matches |
tAddress2.AddressCity | c | =,>=,>,<>,<=,<,begins,can-do,matches |
tAddress1.AddressStreet1 | c | =,>=,>,<>,<=,<,begins,can-do,matches |
tAddress2.AddressStreet1 | c | =,>=,>,<>,<=,<,begins,can-do,matches |
tAddress1.AddressStreet2 | c | =,>=,>,<>,<=,<,begins,can-do,matches |
tAddress2.AddressStreet2 | c | =,>=,>,<>,<=,<,begins,can-do,matches |
tAddress1.AddressZip | c | =,>=,>,<>,<=,<,begins,can-do,matches |
tAddress2.AddressZip | c | =,>=,>,<>,<=,<,begins,can-do,matches |
tBill.BillDate | t | =,>=,>,<>,<=,< |
tBill.BillDueDate | t | =,>=,>,<>,<=,< |
tBill.BillNumber | i | =,>=,>,<>,<=,< |
tBill.BillYear | i | =,>=,>,<>,<=,< |
tBusinessRelation.BusinessRelationCode | c | =,>=,>,<>,<=,<,begins,can-do,matches |
tCompany.CompanyCode | c | =,>=,>,<>,<=,<,begins,can-do,matches |
tCorporateGroup.CorporateGroupCode | c | =,>=,>,<>,<=,<,begins,can-do,matches |
tCountry1.CountryCode | c | =,>=,>,<>,<=,<,begins,can-do,matches |
tCountry2.CountryCode | c | =,>=,>,<>,<=,<,begins,can-do,matches |
tCurrency.CurrencyCode | c | =,>=,>,<>,<=,<,begins,can-do,matches |
tDebtor.DebtorCode | c | =,>=,>,<>,<=,<,begins,can-do,matches |
tDeliveryCond.DeliveryCondCode | c | =,>=,>,<>,<=,<,begins,can-do,matches |
tDInvoice.DInvoiceBalanceCC | d | =,>=,>,<>,<=,< |
tDInvoice.DInvoiceBalanceCreditCC | d | =,>=,>,<>,<=,< |
tDInvoice.DInvoiceBalanceCreditLC | d | =,>=,>,<>,<=,< |
tDInvoice.DInvoiceBalanceCreditTC | d | =,>=,>,<>,<=,< |
tDInvoice.DInvoiceBalanceDebitCC | d | =,>=,>,<>,<=,< |
tDInvoice.DInvoiceBalanceDebitLC | d | =,>=,>,<>,<=,< |
tDInvoice.DInvoiceBalanceDebitTC | d | =,>=,>,<>,<=,< |
tDInvoice.DInvoiceBalanceLC | d | =,>=,>,<>,<=,< |
tDInvoice.DInvoiceBalanceTC | d | =,>=,>,<>,<=,< |
tDInvoice.DInvoiceBatch | c | =,>=,>,<>,<=,<,begins,can-do,matches |
tDInvoice.DInvoiceClosingDate | t | =,>=,>,<>,<=,< |
tDInvoice.DInvoiceComm1 | d | =,>=,>,<>,<=,< |
tDInvoice.DInvoiceComm2 | d | =,>=,>,<>,<=,< |
tDInvoice.DInvoiceComm3 | d | =,>=,>,<>,<=,< |
tDInvoice.DInvoiceComm4 | d | =,>=,>,<>,<=,< |
tDInvoice.DInvoiceCommentNote | c | =,>=,>,<>,<=,<,begins,can-do,matches |
tDInvoice.DInvoiceContact | c | =,>=,>,<>,<=,<,begins,can-do,matches |
tDInvoice.DInvoiceDate | t | =,>=,>,<>,<=,< |
tDInvoice.DInvoiceDescription | c | =,>=,>,<>,<=,<,begins,can-do,matches |
tDInvoice.DInvoiceDiscountDueDate | t | =,>=,>,<>,<=,< |
tDInvoice.DInvoiceDiscPercentage | d | =,>=,>,<>,<=,< |
tDInvoice.DInvoiceDIText | c | =,>=,>,<>,<=,<,begins,can-do,matches |
tDInvoice.DInvoiceDueDate | t | =,>=,>,<>,<=,< |
tDInvoice.DInvoiceExchangeRate | d | =,>=,>,<>,<=,< |
tDInvoice.DInvoiceGraceDays | i | =,>=,>,<>,<=,< |
tDInvoice.DInvoiceIsExternal | l | =,<> |
tDInvoice.DInvoiceIsOpen | l | =,<> |
tDInvoice.DInvoiceIsPaymentAllowed | l | =,<> |
tDInvoice.DInvoiceIsSelected | l | =,<> |
tDInvoice.DInvoiceIsTaxable | l | =,<> |
tDInvoice.DinvoiceLastReminderDate | t | =,>=,>,<>,<=,< |
tDInvoice.DInvoiceLateInt | d | =,>=,>,<>,<=,< |
tDInvoice.DInvoiceMarginAmountTC | d | =,>=,>,<>,<=,< |
tDInvoiceOpInfo.DInvoiceOpInfoCode | c | =,>=,>,<>,<=,<,begins,can-do,matches |
tDInvoiceOpInfo.DInvoiceOpInfoType | c | =,>=,>,<>,<=,<,begins,can-do,matches |
tDInvoice.DInvoiceOriginalCreditCC | d | =,>=,>,<>,<=,< |
tDInvoice.DInvoiceOriginalCreditLC | d | =,>=,>,<>,<=,< |
tDInvoice.DInvoiceOriginalCreditTC | d | =,>=,>,<>,<=,< |
tDInvoice.DInvoiceOriginalDebitCC | d | =,>=,>,<>,<=,< |
tDInvoice.DInvoiceOriginalDebitLC | d | =,>=,>,<>,<=,< |
tDInvoice.DInvoiceOriginalDebitTC | d | =,>=,>,<>,<=,< |
tDInvoice.DInvoicePaymentDate | t | =,>=,>,<>,<=,< |
tDInvoice.DInvoicePostingDate | t | =,>=,>,<>,<=,< |
tDInvoice.DInvoicePostingPeriod | i | =,>=,>,<>,<=,< |
tDInvoice.DInvoicePostingYear | i | =,>=,>,<>,<=,< |
tDInvoice.DInvoicePostingYearPeriod | i | =,>=,>,<>,<=,< |
tDInvoice.DInvoicePurchaseOrder | c | =,>=,>,<>,<=,<,begins,can-do,matches |
tDInvoice.DInvoiceRateScale | d | =,>=,>,<>,<=,< |
tDInvoice.DInvoiceReminderCount | i | =,>=,>,<>,<=,< |
tDInvoice.DInvoiceSalesAmt | d | =,>=,>,<>,<=,< |
tDInvoice.DInvoiceSlsPsn1 | c | =,>=,>,<>,<=,<,begins,can-do,matches |
tDInvoice.DInvoiceSlsPsn2 | c | =,>=,>,<>,<=,<,begins,can-do,matches |
tDInvoice.DInvoiceSlsPsn3 | c | =,>=,>,<>,<=,<,begins,can-do,matches |
tDInvoice.DInvoiceSlsPsn4 | c | =,>=,>,<>,<=,<,begins,can-do,matches |
tDInvoice.DInvoiceTaxPointDate | t | =,>=,>,<>,<=,< |
tDInvoice.DInvoiceTSMNumber | c | =,>=,>,<>,<=,<,begins,can-do,matches |
tDInvoice.DInvoiceType | c | =,>=,>,<>,<=,<,begins,can-do,matches |
tDInvoice.DInvoiceVatBaseCreditCC | d | =,>=,>,<>,<=,< |
tDInvoice.DInvoiceVatBaseCreditLC | d | =,>=,>,<>,<=,< |
tDInvoice.DInvoiceVatBaseCreditTC | d | =,>=,>,<>,<=,< |
tDInvoice.DInvoiceVatBaseDebitCC | d | =,>=,>,<>,<=,< |
tDInvoice.DInvoiceVatBaseDebitLC | d | =,>=,>,<>,<=,< |
tDInvoice.DInvoiceVatBaseDebitTC | d | =,>=,>,<>,<=,< |
tDInvoice.DInvoiceVatCreditCC | d | =,>=,>,<>,<=,< |
tDInvoice.DInvoiceVatCreditLC | d | =,>=,>,<>,<=,< |
tDInvoice.DInvoiceVatCreditTC | d | =,>=,>,<>,<=,< |
tDInvoice.DInvoiceVatDebitCC | d | =,>=,>,<>,<=,< |
tDInvoice.DInvoiceVatDebitLC | d | =,>=,>,<>,<=,< |
tDInvoice.DInvoiceVatDebitTC | d | =,>=,>,<>,<=,< |
tDInvoice.DInvoiceVoucher | i | =,>=,>,<>,<=,< |
tDivision.DivisionCode | c | =,>=,>,<>,<=,<,begins,can-do,matches |
tJournal.JournalCode | c | =,>=,>,<>,<=,<,begins,can-do,matches |
tDInvoice.LastModifiedDate | t | =,>=,>,<>,<=,< |
tDInvoice.LastModifiedTime | i | =,>=,>,<>,<=,< |
tDInvoice.LastModifiedUser | c | =,>=,>,<>,<=,<,begins,can-do,matches |
tPaymentCondition.PaymentConditionCode | c | =,>=,>,<>,<=,<,begins,can-do,matches |
tReason.ReasonAllocationStatus | c | =,>=,>,<>,<=,<,begins,can-do,matches |
tReason.ReasonCode | c | =,>=,>,<>,<=,<,begins,can-do,matches |
tReason.ReasonIsInvoiceApproved | l | =,<> |
tReason.ReasonIsLockPayment | l | =,<> |
tReason.ReasonIsLogisticMatching | l | =,<> |
iiCompanyId | integer | Company id |
field name | data type | db field | description |
---|---|---|---|
ttBillDate | date | Bill.BillDate | Bill Date |
ttBillDueDate | date | Bill.BillDueDate | Bill Due Date |
tiBillNumber | integer | Bill.BillNumber | Bill Number |
tiBillYear | integer | Bill.BillYear | Bill Year |
tcCompanyCode | character | Company.CompanyCode | Entity Code |
tcCorporateGroupCode | character | CorporateGroup.CorporateGroupCode | Group Name |
ttDInvoiceClosingDate | date | DInvoice.DInvoiceClosingDate | Closing Date. This field displays the date on which the open balance became zero. |
tdDInvoiceComm1 | decimal | DInvoice.DInvoiceComm1 | Salesperson Commission. This field displays the commission percentage each salesperson receives. |
api annotation: | For invoices posted from sales orders, this field defaults from the associated sales order. For manually created invoices, commission defaults from Salesperson Commission Detail, if rates have been defined for the customer; otherwise, from the salesperson record. | ||
tdDInvoiceComm2 | decimal | DInvoice.DInvoiceComm2 | Salesperson Commission. This field displays the commission percentage each salesperson receives. |
api annotation: | For invoices posted from sales orders, this field defaults from the associated sales order. For manually created invoices, commission defaults from Salesperson Commission Detail, if rates have been defined for the customer; otherwise, from the salesperson record. | ||
tdDInvoiceComm3 | decimal | DInvoice.DInvoiceComm3 | Salesperson Commission. This field displays the commission percentage each salesperson receives. |
api annotation: | For invoices posted from sales orders, this field defaults from the associated sales order. For manually created invoices, commission defaults from Salesperson Commission Detail, if rates have been defined for the customer; otherwise, from the salesperson record. | ||
tdDInvoiceComm4 | decimal | DInvoice.DInvoiceComm4 | Salesperson Commission. This field displays the commission percentage each salesperson receives. |
api annotation: | For invoices posted from sales orders, this field defaults from the associated sales order. For manually created invoices, commission defaults from Salesperson Commission Detail, if rates have been defined for the customer; otherwise, from the salesperson record. | ||
tcDInvoiceCommentNote | character | DInvoice.DInvoiceCommentNote | Comment. This field contains user's comment of the invoice. |
tdDInvoiceDiscPercentage | decimal | DInvoice.DInvoiceDiscPercentage | Discount Percentage. This field indicates the discount percentage that can be given when the invoice is paid before the discount due date. |
tiDInvoiceGraceDays | integer | DInvoice.DInvoiceGraceDays | Grace Days. This field indicates the number of days to be added to the financial due date of the invoice, after which interest charges are calculated. |
api annotation: | This field default to zero. | ||
tlDInvoiceIsExternal | logical | DInvoice.DInvoiceIsExternal | External. This field indicates if the daybook used is external. This field is calculated by the system using the daybook code. |
ttDinvoiceLastReminderDate | date | DInvoice.DinvoiceLastReminderDate | Last Reminder Date.Date of last Customer Reminder Letter. |
tdDInvoiceLateInt | decimal | DInvoice.DInvoiceLateInt | This field is obsoleted. |
tdDInvoiceMarginAmountTC | decimal | DInvoice.DInvoiceMarginAmountTC | Margin Amount. This field is not used in Financial's module. It is updated in Operational (Invoice post and print and is equal to Line total + discount amount - total extended cost). |
tcDInvoiceOpInfoType | character | DInvoiceOpInfo.DInvoiceOpInfoType | Type. The type of the OpInfo Records. ValuesList: SALESORDER, SHIPPER. |
ttDInvoicePaymentDate | date | DInvoice.DInvoicePaymentDate | Expected Payment Date.This field displays the date when payment is expected to be received. The expected payment date is used in cash flow reporting. If you manually change the due date to a date later than the expected payment date, this date is automatically updated. |
api annotation: | This field defaults to the due date when the invoice is created. | ||
tcDInvoicePurchaseOrder | character | DInvoice.DInvoicePurchaseOrder | Purchase Order.If a purchase order number was recorded on the original sales order, it displays in this field. This number indicates the original number of the document that initiated the sale, and can be useful when communicating with the customer. |
tdDInvoiceRateScale | decimal | DInvoice.DInvoiceRateScale | Scale Factor.This field indicates the scale factor applying to the exchange rate in use for foreign currency payments. The exchange rate is multiplied by the scale factor to determine the actual exchange rate. |
api annotation: | The value for the scale factor defaults from the exchange rate definition, but it can be modified. | ||
tiDInvoiceReminderCount | integer | DInvoice.DInvoiceReminderCount | Reminder Counter. This field displays the reminder level that applies to this invoice. |
tdDInvoiceSalesAmt | decimal | DInvoice.DInvoiceSalesAmt | Sales Amount. This field indicates the amount for which the salespersons should receive commission credit. This is normally the invoice total minus any non-commissioned charges such as freight or tax. |
api annotation: | This defaults from the order and is the only field that can be modified in this tab. | ||
tcDInvoiceSlsPsn1 | character | DInvoice.DInvoiceSlsPsn1 | Salesperson 1.This field displays the salesperson specified on the order to receive commission and quota credit for the order. |
api annotation: | The commission percentage defaults from the salesperson record. | ||
tcDInvoiceSlsPsn2 | character | DInvoice.DInvoiceSlsPsn2 | Salesperson 2.This field displays the salesperson specified on the order to receive commission and quota credit for the order. |
api annotation: | The commission percentage defaults from the salesperson record. | ||
tcDInvoiceSlsPsn3 | character | DInvoice.DInvoiceSlsPsn3 | Salesperson 3.This field displays the salesperson specified on the order to receive commission and quota credit for the order. |
api annotation: | The commission percentage defaults from the salesperson record. | ||
tcDInvoiceSlsPsn4 | character | DInvoice.DInvoiceSlsPsn4 | Salesperson 4.This field displays the salesperson specified on the order to receive commission and quota credit for the order. |
api annotation: | The commission percentage defaults from the salesperson record. | ||
tcReasonAllocationStatus | character | Reason.ReasonAllocationStatus | Allocation Status |
tlReasonIsInvoiceApproved | logical | Reason.ReasonIsInvoiceApproved | Invoice Approved |
tlReasonIsLockPayment | logical | Reason.ReasonIsLockPayment | Lock Payment |
tlReasonIsLogisticMatching | logical | Reason.ReasonIsLogisticMatching | Receiver Matching |
tcShipperNumber | character | DInvoiceOpInfo.DInvoiceOpInfoCode | Identifier. This field identifies an opinfo record. |
tcToAddressZip | character | Address1.AddressZip | Zip. The postal code or US zip code associated with this address. This field is used to decide the tax zone for the address. This field can be blank. |
tlDInvoiceIsTaxable | logical | DInvoice.DInvoiceIsTaxable | Taxable. This field indicates if the invoice is taxable. |
api annotation: | This field defaults to true if the customer is taxable. | ||
tiShipToAddress_ID | integer | DInvoice.ShipToAddress_ID | City |
tiShipFromAddress_ID | integer | DInvoice.ShipFromAddress_ID | Address |
tiDInvoicePostingYearPeriod | integer | DInvoice.DInvoicePostingYearPeriod | Year/Period. This field indicates the accounting year and period for the invoice. If you modify these fields, the posting and tax dates are changed correspondingly. |
api annotation: | This field defaults to the accounting year and period associated with the posting date. | ||
tiDInvoicePostingYear | integer | DInvoice.DInvoicePostingYear | Year.This field indicates the accounting year for the invoice. If you modify these fields, the posting and tax dates are changed correspondingly. |
api annotation: | This field defaults to the accounting year associated with the posting date. | ||
tiDInvoicePostingPeriod | integer | DInvoice.DInvoicePostingPeriod | GL Period.This field indicates the period when the invoice to be posted. If this field is modified, the posting and tax dates are changed correspondingly. |
api annotation: | This field defaults to the period associated with the posting date. | ||
tcToAddressStreet2 | character | Address1.AddressStreet2 | Address.Line two of address details. This field can be blank. |
tcFromAddressCity | character | Address2.AddressCity | City. The city for this address. This field can be used to decide the tax zone of the address. |
tcFromAddressStreet1 | character | Address2.AddressStreet1 | Address: Line one of address details. This field can be blank. |
tcFromAddressStreet2 | character | Address2.AddressStreet2 | Address.Line two of address details. This field can be blank. |
tcFromAddressZip | character | Address2.AddressZip | Zip. The postal code or US zip code associated with this address. This field is used to decide the tax zone for the address. This field can be blank. |
tcToAddressCity | character | Address1.AddressCity | City. The city for this address. This field can be used to decide the tax zone of the address. |
tcToAddressStreet1 | character | Address1.AddressStreet1 | Address: Line one of address details. This field can be blank. |
tcDInvoiceBatch | character | DInvoice.DInvoiceBatch | Batch Number. This field is used to identify a group of customer invoices created at one time using Evaluated Receipts Settlement (ERS) functions. |
tiSoldToDebtor_ID | integer | DInvoice.SoldToDebtor_ID | Customer Code |
tcDebtorCode | character | Debtor.DebtorCode | A code (maximum eight characters) that identifies a customer. If the code you specify matches an existing supplier code, a warning message displays. You can choose to ignore the warning, and create the record. However, when a supplier and customer share the same code, they must reference the same business relation. |
api annotation: | If you leave the Customer Code field blank, the system automatically generates a number for the record based on the sequence defined in Customer Autonumber Create. | ||
tcJournalCode | character | Journal.JournalCode | A daybook code (maximum eight characters). |
tiDInvoiceVoucher | integer | DInvoice.DInvoiceVoucher | Voucher.This field displays the numeric identifier assigned to the posting. When the daybook of the journal entry is charged(after transfer), the voucher is cleared. Voucher must be unique in one GL period. When the user input is zero, the system automatically assign a value not used yet for this field. |
tlDInvoiceIsOpen | logical | DInvoice.DInvoiceIsOpen | Open.This field indicates if the invoice has been completely paid. This field is updated automatically when complete payment is confirmed. This field is read-only. |
api annotation: | PartialUpdate = yes - defaults to true | ||
tdDInvoiceBalanceTC | decimal | DInvoice.DInvoiceBalanceTC | Balance. This field displays the sum of the debit and credit amounts of all posting lines in transaction currency. |
tcCurrencyCode | character | Currency.CurrencyCode | Currency Code |
tcBusinessRelationCode | character | BusinessRelation.BusinessRelationCode | Business Relation. A code to identify the business relation. If this field does not have a input from the user, the system automatically generates a number for the record based on the sequence defined in Business Relation Autonumber Create. |
ttDInvoiceDate | date | DInvoice.DInvoiceDate | Invoice Date. This field indicates the invoice creation date.This field is normallly prior to the posting date and within the same accounting period as the posting date. The date must be within the upper and lower date limits of an open GL period. The system uses the invoice date with the credit terms to calculate due date and discount date. |
api annotation: | This field defaults to the DInvoicePostingDate. | ||
tcDInvoiceType | character | DInvoice.DInvoiceType | Invoice Type. This field displays the invoice type. Invoice Correction and Credit Note Correction display as choices only when the appropriate daybook types have already been defined. |
api annotation: | PartialUpdate = yes - defaults to Invoice | ||
tdDInvoiceBalanceLC | decimal | DInvoice.DInvoiceBalanceLC | BC Balance. This field displays the sum of the debit and credit amounts of all posting lines in base currency. This field is calculated by the system using the TC Balance and the Exchange rate. |
tdDInvoiceBalanceCC | decimal | DInvoice.DInvoiceBalanceCC | SC Balance. This field displays the sum of the debit and credit amounts of all posting lines in statutory currency. This field is calculated by the system using the TC Balance and the SC rate. |
tlDInvoiceIsSelected | logical | DInvoice.DInvoiceIsSelected | Selected. This field indicates whether the invoice is included in a payment selection. This field is read-only. |
api annotation: | PartialUpdate = yes - defaults to false | ||
tdDInvoiceOriginalDebitTC | decimal | DInvoice.DInvoiceOriginalDebitTC | TC AP Amount. This field displays the debit total invoice amount in the transaction currency. If you modify this field, the system automatically recalculates the exchange rate to ensure that the TC Invoice Amount remains the same. |
tdDInvoiceOriginalCreditTC | decimal | DInvoice.DInvoiceOriginalCreditTC | TC Invoice Amount CR. This field displays the credit total invoice amount in the transaction currency. If you modify this field, the system automatically recalculates the exchange rate to ensure that the BC Invoice Amount remains the same. |
tcDInvoiceDescription | character | DInvoice.DInvoiceDescription | Description. A brief description of the invoice. This field is mandatory. |
tcDivisionCode | character | Division.DivisionCode | Sub-Account |
ttDInvoicePostingDate | date | DInvoice.DInvoicePostingDate | Posting Date. This field displays the date the sales-related invoice was generated by Invoice Post and Print. This field is updated when the invoice is validated and saved. |
api annotation: | This field defaults from the invoice creation date. | ||
ttDInvoiceTaxPointDate | date | DInvoice.DInvoiceTaxPointDate | Tax Point Date. The date to be used in tax calculations. For sales-related invoices, this field displays the tax calculation date on the associated order. |
api annotation: | This field defaults to DInvoicePostingDate. | ||
tcReasonCode | character | Reason.ReasonCode | Invoice Status Code |
tdDInvoiceExchangeRate | decimal | DInvoice.DInvoiceExchangeRate | Exchange Rate. The accounting exchange rate used by the invoice. The BC Invoice Amount is calculated based on the exchange rate. If user modify the TC Invoice Amount, the BC invoice amount is automatically adjusted. |
tdDInvoiceOriginalDebitLC | decimal | DInvoice.DInvoiceOriginalDebitLC | BC Invoice Amount(DR). This field displays the debit total invoice amount in the base currency. This field is calculated by the system using the TC Invoice Amount(DR) and the Exchange rate. |
tdDInvoiceOriginalCreditLC | decimal | DInvoice.DInvoiceOriginalCreditLC | BC Invoice Amount(CR). This field displays the credit total invoice amount in the base currency. This field is calculated by the system using the TC Invoice Amount(CR) and the Exchange rate. |
tcDInvoiceContact | character | DInvoice.DInvoiceContact | Contact. The contact name for the customer. |
tcNormalPaymentConditionCode | character | PaymentCondition.PaymentConditionCode | Credit Terms Code |
ttDInvoiceDueDate | date | DInvoice.DInvoiceDueDate | Due Date. This field displays the date when payment is due, calculated by the system based on the credit terms and the invoice date. User can modify the due date without affecting the credit terms. If the credit terms have a base date specified, this is used in the due date calculations rather than the invoice creation date. |
ttDInvoiceDiscountDueDate | date | DInvoice.DInvoiceDiscountDueDate | Discount Due Date. This field displays the last date a discount applies, calculated by the system based on the credit terms and the invoice date. You can modify the due date without affecting the credit terms. If the credit terms have a base date specified, this is used in the due date calculations rather than the invoice creation date. |
tlDInvoiceIsPaymentAllowed | logical | DInvoice.DInvoiceIsPaymentAllowed | CN Payment Allowed. This field applies to only credit notes;otherwise, it is read-only. Selecting the field indicates that the customer credit note can be included in a payment selection. |
api annotation: | PartialUpdate = yes - defaults to false | ||
tcDeliveryCondCode | character | DeliveryCond.DeliveryCondCode | Code |
tcDInvoiceTSMNumber | character | DInvoice.DInvoiceTSMNumber | Payment Reference. This field contains a reference number to identify a customer payment for this invoice. Normally this could be a unique transaction structured message (TSM) number. The TSM is a standard reference numbering system for electronic transfers,used by many banks. |
tcTransactionStartCountryCode | character | Country1.CountryCode | Country Code |
tcTransactionEndCountryCode | character | Country2.CountryCode | Country Code |
tdDInvoiceVatBaseCreditTC | decimal | DInvoice.DInvoiceVatBaseCreditTC | TC Base Amount CR. This field displays the credit base amount in the transaction currency. This field is calculated by the system using the total invoice amount (TC) and the applicable tax rate code. |
tdDInvoiceVatBaseDebitTC | decimal | DInvoice.DInvoiceVatBaseDebitTC | TC Base Amount DR. This field displays the debit base amount in the transaction currency. This field is calculated by the system using the total invoice amount (TC) and the applicable tax rate code. |
tdDInvoiceVatCreditTC | decimal | DInvoice.DInvoiceVatCreditTC | TC Tax Amount CR. This field displays the credit tax amount (TC) calculated by the system using the total invoice amount (TC) and the applicable tax rate code. |
tdDInvoiceVatDebitTC | decimal | DInvoice.DInvoiceVatDebitTC | TC Tax Amount DR. This field displays the debit tax amount (TC) calculated by the system using the total invoice amount (TC) and the applicable tax rate code. |
tcDInvoiceDIText | character | DInvoice.DInvoiceDIText | CIDescription. A brief description for the SI posting. |
api annotation: | This field defaults from the DInvoiceDescription. | ||
tdDInvoiceOriginalCreditCC | decimal | DInvoice.DInvoiceOriginalCreditCC | SC Invoice Amount (CR). This field displays the credit total invoice amount in the statutory currency. This field is calculated by the system using the TC Invoice Amount(CR) and the SC Rate. |
tdDInvoiceOriginalDebitCC | decimal | DInvoice.DInvoiceOriginalDebitCC | SC Invoice Amount (DR). This field displays the debit total invoice amount in the statutory currency. This field is calculated by the system using the TC Invoice Amount(CR) and the SC Rate. |
tdDInvoiceVatBaseCreditCC | decimal | DInvoice.DInvoiceVatBaseCreditCC | SC Base Amount CR. This field displays the credit base amount in the statutory currency. This field is calculated by the system using the TC Base Amount CR and the SC rate. |
tdDInvoiceVatBaseCreditLC | decimal | DInvoice.DInvoiceVatBaseCreditLC | BC Base Amount CR. This field displays the credit base amount in the base currency. This field is calculated by the system using the TC Base Amount CR and the Exchange rate. |
tdDInvoiceVatBaseDebitCC | decimal | DInvoice.DInvoiceVatBaseDebitCC | SC Base Amount DR. This field displays the debit base amount in the statutory currency. This field is calculated by the system using the TC Base Amount DR and the SC rate. |
tdDInvoiceVatBaseDebitLC | decimal | DInvoice.DInvoiceVatBaseDebitLC | BC Base Amount DR. This field displays the debit base amount in the base currency. This field is calculated by the system using the TC Base Amount DR and the Exchange rate. |
tdDInvoiceVatCreditCC | decimal | DInvoice.DInvoiceVatCreditCC | SC Tax Amount CR. This field displays the credit tax amount in the statutory currency. This field is calculated by the system using the TC Tax Amount CR and the SC rate. |
tdDInvoiceVatCreditLC | decimal | DInvoice.DInvoiceVatCreditLC | BC Tax Amount CR. This field displays the debit tax amount in the base currency. This field is calculated by the system using the TC Tax Amount CR and the Exchange rate. |
tdDInvoiceVatDebitCC | decimal | DInvoice.DInvoiceVatDebitCC | BC Tax Amount DR. This field displays the debit tax amount in the statutory currency. This field is calculated by the system using the TC Tax Amount DR and the SC rate. |
tdDInvoiceVatDebitLC | decimal | DInvoice.DInvoiceVatDebitLC | BC Tax Amount DR. This field displays the debit tax amount in the base currency. This field is calculated by the system using the TC Tax Amount DR and the Exchange rate. |
tdDInvoiceBalanceCreditCC | decimal | DInvoice.DInvoiceBalanceCreditCC | BC Balance Amount CR. This field displays the sum of the credit amounts of all posting lines in transaction currency. This field is calculated by the system using the TC Base Amount CR and the SC rate. |
tdDInvoiceBalanceCreditLC | decimal | DInvoice.DInvoiceBalanceCreditLC | BC Balance Amount CR. This field displays the sum of the credit amounts of all posting lines in transaction currency. This field is calculated by the system using the TC Base Amount CR and the Exchange rate. |
tdDInvoiceBalanceCreditTC | decimal | DInvoice.DInvoiceBalanceCreditTC | TC Balance Amount CR. This field displays the sum of the credit amounts of all posting lines in transaction currency. |
tdDInvoiceBalanceDebitCC | decimal | DInvoice.DInvoiceBalanceDebitCC | SC Balance Amount DR. This field displays the sum of the debit amounts of all posting lines in statutory currency. This field is calculated by the system using the TC Base Amount DR and the SC rate. |
tdDInvoiceBalanceDebitLC | decimal | DInvoice.DInvoiceBalanceDebitLC | BC Balance Amount DR. This field displays the sum of the debit amounts of all posting lines in transaction currency. This field is calculated by the system using the TC Base Amount DR and the Exchange rate. |
tdDInvoiceBalanceDebitTC | decimal | DInvoice.DInvoiceBalanceDebitTC | TC Balance Amount DR. This field displays the sum of the debit amounts of all posting lines in transaction currency. |
tiDInvoice_ID | integer | DInvoice.DInvoice_ID | Record ID |
tiDivision_ID | integer | DInvoice.Division_ID | Sub-Account |
tiJournal_ID | integer | DInvoice.Journal_ID | Daybook Code |
tiNormalPaymentCondition_ID | integer | DInvoice.NormalPaymentCondition_ID | Credit Terms Code |
tiPeriod_ID | integer | DInvoice.Period_ID | Link to Period |
tiReason_ID | integer | DInvoice.Reason_ID | Invoice Status Code |
tiTransactionEndCountry_ID | integer | DInvoice.TransactionEndCountry_ID | Country Code |
tiTransactionStartCountry_ID | integer | DInvoice.TransactionStartCountry_ID | Country Code |
tiLinkedDInvoice_ID | integer | DInvoice.LinkedDInvoice_ID | Voucher |
tiCompany_ID | integer | DInvoice.Company_ID | Link to Company |
tiDInvoiceCurrency_ID | integer | DInvoice.DInvoiceCurrency_ID | Currency Code |
tiDebtor_ID | integer | DInvoice.Debtor_ID | Link to Debtor |
tiDeliveryCond_ID | integer | DInvoice.DeliveryCond_ID | Link to DeliveryCond |
tiLastModifiedTime | integer | DInvoice.LastModifiedTime | Last Modified Time |
tcLastModifiedUser | character | DInvoice.LastModifiedUser | Last Modified User |
ttLastModifiedDate | date | DInvoice.LastModifiedDate | Last Modified Date |
DInvoiceCustom | character | calculated | custom fields |
Address1Custom | character | calculated | custom fields |
Address2Custom | character | calculated | custom fields |
Country1Custom | character | calculated | custom fields |
Country2Custom | character | calculated | custom fields |
CurrencyCustom | character | calculated | custom fields |
DebtorCustom | character | calculated | custom fields |
BusinessRelationCustom | character | calculated | custom fields |
CorporateGroupCustom | character | calculated | custom fields |
DeliveryCondCustom | character | calculated | custom fields |
DInvoiceOpInfoCustom | character | calculated | custom fields |
DivisionCustom | character | calculated | custom fields |
JournalCustom | character | calculated | custom fields |
PaymentConditionCustom | character | calculated | custom fields |
ReasonCustom | character | calculated | custom fields |
BillCustom | character | calculated | custom fields |
CompanyCustom | character | calculated | custom fields |
ti_sequence | integer | calculated | primary index |
tc_rowid | character | calculated | = rowid(DInvoice),rowid(Address1),rowid(Address2),rowid(Bill),rowid(Company),rowid(Country2),rowid(Country1),rowid(Currency),rowid(Debtor),rowid(BusinessRelation),rowid(CorporateGroup),rowid(DeliveryCond),rowid(DInvoiceOpInfo),rowid(Division),rowid(Journal),rowid(PaymentCondition),rowid(Reason) |
define temp-table ttContext no-undo field propertyQualifier as character field propertyName as character field propertyValue as character index entityContext is primary unique propertyQualifier propertyName index propertyQualifier propertyQualifier. define dataset dsContext for ttContext. define variable vhContextDS as handle no-undo. define variable vhExceptionDS as handle no-undo. define variable vhServer as handle no-undo. define variable vhInputDS as handle no-undo. define variable vhInputOutputDS as handle no-undo. define variable vhOutputDS as handle no-undo. define variable vhParameter as handle no-undo. /* Create context */ create ttContext. assign ttContext.propertyName = "programName" ttContext.propertyValue = "BDInvoice". create ttContext. assign ttContext.propertyName = "methodName" ttContext.propertyValue = "SelectDInvoiceForExtended". create ttContext. assign ttContext.propertyName = "applicationId" ttContext.propertyValue = "fin". create ttContext. assign ttContext.propertyName = "entity" ttContext.propertyValue = "1000". create ttContext. assign ttContext.propertyName = "userName" ttContext.propertyValue = "mfg". create ttContext. assign ttContext.propertyName = "password" ttContext.propertyValue = "". /* Create input dataset */ create dataset vhInputDS. vhInputDS:read-xmlschema("file", "xml/bdinvoice.selectdinvoiceforextended.i.xsd", ?). vhParameter = vhInputDS:get-buffer-handle("tParameterI"). vhParameter:buffer-create(). assign vhParameter::icRange = "A" vhParameter::icRowid = "" vhParameter::iiRownum = 0 vhParameter::iiNumber = 5 /* Number of records to read */ vhParameter::icSortColumns = "" vhParameter::ilCountOnly = false vhParameter::ilForwardRead = true vhParameter::iiMaximumBrowseRecordsToCount = 0. vhParameter = vhInputDS:get-buffer-handle("tFilter"). vhParameter:buffer-create(). assign vhParameter::<field-name-1> = <field-value-1> vhParameter::<field-name-2> = <field-value-2> ... /* Connect the AppServer */ create server vhServer. vhServer:connect("-URL <appserver-url>"). if not vhServer:connected() then do: message "Could not connect AppServer" view-as alert-box error title "Error". return. end. /* Run */ assign vhContextDS = dataset dsContext:handle. run program/rpcrequestservice.p on vhServer (input-output dataset-handle vhContextDS by-reference, output dataset-handle vhExceptionDS, input dataset-handle vhInputDS by-reference, input-output dataset-handle vhInputOutputDS by-reference, output dataset-handle vhOutputDS). /* Handle output however you want, in this example, we dump it to xml */ if valid-handle(vhExceptionDS) then vhExceptionDS:write-xml("file", "Exceptions.xml", true). if valid-handle(vhOutputDS) then vhOutputDS:write-xml("file", "Output.xml", true). /* Cleanup */ vhServer:disconnect(). assign vhServer = ?. if valid-handle(vhInputDS) then delete object vhInputDS. if valid-handle(vhOutputDS) then delete object vhOutputDS. if valid-handle(vhExceptionDS) then delete object vhExceptionDS.