Invoices
Create, update, delete, and query the invoices saved in the SuiteCRM
テーブル固有の情報
Select
WHERE 句で任意の条件を使用して、Invoices テーブルをクエリできます。本製品 はSuiteCRM API を使用して結果をフィルタリングします。
SELECT * FROM Invoices WHERE Name = 'test'
Insert
書き込み可能なカラムを指定して、Invoice を作成します。
INSERT INTO Invoices (Id, Name) VALUES ('id', 'Energy')
Update
Id を指定して、書き込み可能なInvoice カラムを更新できます。
UPDATE Invoices SET Name = 'new name', Description = 'Desc' WHERE Id = 'Test123'
Delete
Id を指定して、Invoice を削除します。
DELETE FROM Invoices WHERE Id = '10003'
Columns
| Name | Type | ReadOnly | Description |
| Id [KEY] | String | False |
The unique identifier of the invoice. |
| Name | String | False |
|
| DateEntered | Datetime | False |
The date the record was created. |
| DateModified | Datetime | False |
The date the record was last modified. |
| ModifiedUserId | String | False |
The Id of the user who last modified the record. |
| ModifiedByName | String | True |
The name of the user who last modified the record. |
| CreatedBy | String | False |
The Id of the user who created the record. |
| CreatedByName | String | True |
The name of the user who created the record. |
| Description | String | False |
Description provided for the |
| Deleted | Bool | False |
The record deletion indicator. |
| CreatedByLink | String | True |
Link to the record who created it |
| ModifiedUserLink | String | True |
Link to the record who modified it. |
| AssignedUserId | String | False |
The Id of the user assigned to the record. |
| AssignedUserName | String | True |
|
| AssignedUserLink | String | True |
Link to the user which the record has been assigned to |
| SecurityGroups | String | True |
The security group associated with the record. |
| BillingAccountId | String | False |
Id of the billing account |
| BillingAccount | String | True |
|
| BillingContactId | String | False |
Id of the billing contact |
| BillingContact | String | True |
|
| BillingAddressStreet | String | False |
The first line of the billing address. |
| BillingAddressCity | String | False |
The city used for the billing address. |
| BillingAddressState | String | False |
The state used for the billing address. |
| BillingAddressPostalcode | String | False |
The postal code used for the billing address. |
| BillingAddressCountry | String | False |
The country used for the billing address. |
| ShippingAddressStreet | String | False |
The first line of the shipping address. |
| ShippingAddressCity | String | False |
The city used for the shipping address. |
| ShippingAddressState | String | False |
The state used for the shipping address. |
| ShippingAddressPostalcode | String | False |
The ZIP code used for the shipping address. |
| ShippingAddressCountry | String | False |
The country used for the shipping address. |
| Number | String | False |
|
| LineItems | String | False |
The invoice's list of line items |
| TotalAmt | String | False |
|
| TotalAmtUsdollar | String | False |
|
| SubtotalAmount | String | False |
|
| SubtotalAmountUsdollar | String | False |
|
| DiscountAmount | String | False |
|
| DiscountAmountUsdollar | String | False |
|
| TaxAmount | String | False |
|
| TaxAmountUsdollar | String | False |
|
| ShippingAmount | String | False |
|
| ShippingAmountUsdollar | String | False |
|
| ShippingTax | String | False |
Shipping tax costs |
| ShippingTaxAmt | String | False |
|
| ShippingTaxAmtUsdollar | String | False |
|
| TotalAmount | String | False |
|
| TotalAmountUsdollar | String | False |
|
| CurrencyId | String | False |
|
| QuoteNumber | String | False |
Number of the invoice quote |
| QuoteDate | String | False |
Date of the invoice quote |
| InvoiceDate | String | False |
Date the invoice was issued |
| DueDate | String | False |
Due date of the invoice |
| Status | String | False |
The status of the record. |
| TemplateDdownC | String | False |
|
| SubtotalTaxAmount | String | False |
Subtotal and tax amount in the invoice in the system's default currency |
| SubtotalTaxAmountUsdollar | String | False |
|
| Accounts | String | True |
The accounts associated with the record |
| Contacts | String | True |
The contacts associated with the record |
| AosQuotesAosInvoices | String | True |
|
| AosProductsQuotes | String | True |
|
| AosLineItemGroups | String | True |
|