Easily find this page again using the shortlink: https://bct.azrcrv.co.uk/6084
Table Type: Company
Table Name: Service Line Price Adjmt.
Database Table Name: CRONUS UK Ltd_$Service Line Price Adjmt_$437dbf0e-84ff-417a-965d-ed2bb9650972
Due to how Dynamics BC tables and columns are named, square brackets need to be wrapped around the table name and column names. Below are example queries showing how Service Line Price Adjmt. can be queried.
Show/hide an example select of all columns
SELECT
*
FROM
[CRONUS UK Ltd_$Service Line Price Adjmt_$437dbf0e-84ff-417a-965d-ed2bb9650972]
Show/hide an example select of all columns by name
SELECT
[Document Type]
,[Document No_]
,[Service Line No_]
,[Service Item Line No_]
,[Service Item No_]
,[Serv_ Price Adjmt_ Gr_ Code]
,[Type]
,[No_]
,[Description]
,[Quantity]
,[Amount]
,[New Amount]
,[Unit Price]
,[New Unit Price]
,[Unit Cost]
,[Discount _]
,[Discount Amount]
,[Amount incl_ VAT]
,[New Amount incl_ VAT]
,[Weight]
,[Adjustment Type]
,[Service Price Group Code]
,[Manually Adjusted]
,[Vat _]
,[New Amount Excl_ VAT]
,[$systemId]
,[$systemCreatedAt]
,[$systemCreatedBy]
,[$systemModifiedAt]
,[$systemModifiedBy]
FROM
[CRONUS UK Ltd_$Service Line Price Adjmt_$437dbf0e-84ff-417a-965d-ed2bb9650972]
Show/hide an example select of all columns including those from all joined tables
SELECT
*
FROM
[CRONUS UK Ltd_$Service Line Price Adjmt_$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Service Line Price Adjmt.]
LEFT JOIN
[CRONUS UK Ltd_$Sales Header Archive$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Sales Header Archive]
ON
[Service Line Price Adjmt.].[Document Type] = [Sales Header Archive].[Document Type]
AND
[Service Line Price Adjmt.].[Document No_] = [Sales Header Archive].[No_]
LEFT JOIN
[CRONUS UK Ltd_$Sales Header$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Sales Header]
ON
[Service Line Price Adjmt.].[Document Type] = [Sales Header].[Document Type]
AND
[Service Line Price Adjmt.].[Document No_] = [Sales Header].[No_]
LEFT JOIN
[CRONUS UK Ltd_$Service Price Group$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Service Price Group]
ON
[Service Line Price Adjmt.].[Service Price Group Code] = [Service Price Group].[Code]
LEFT JOIN
[User] AS [User]
ON
[Service Line Price Adjmt.].[SystemCreatedBy] = [User].[User Security ID]
LEFT JOIN
[User] AS [User]
ON
[Service Line Price Adjmt.].[SystemModifiedBy] = [User].[User Security ID]
Show/hide columns in Service Line Price Adjmt. table
Field No. | Field Name | Field Caption | Class | Type | Length | SQL Column Name | SQL DataType |
---|---|---|---|---|---|---|---|
1 | Document Type | Document Type | Normal | Option | 4 | Document Type | int |
Available options are:
| |||||||
2 | Document No. | Document No. | Normal | Code | 20 | Document No_ | nvarchar(40) |
3 | Service Line No. | Service Line No. | Normal | Integer | 4 | Service Line No_ | int |
4 | Service Item Line No. | Service Item Line No. | Normal | Integer | 4 | Service Item Line No_ | int |
5 | Service Item No. | Service Item No. | Normal | Code | 20 | Service Item No_ | nvarchar(40) |
Key to join to the Service Item table.Show/hide example querySELECT [Service Line Price Adjmt.].[Service Item No_] ,[Service Item].[No_] FROM [CRONUS UK Ltd_$Service Line Price Adjmt_$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Service Line Price Adjmt.] LEFT JOIN [CRONUS UK Ltd_$Service Item$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Service Item] ON [Service Line Price Adjmt.].[Service Item No_] = [Service Item].[No_] | |||||||
6 | Serv. Price Adjmt. Gr. Code | Serv. Price Adjmt. Gr. Code | Normal | Code | 10 | Serv_ Price Adjmt_ Gr_ Code | nvarchar(20) |
Key to join to the Service Price Adjustment Group table.Show/hide example querySELECT [Service Line Price Adjmt.].[Serv_ Price Adjmt_ Gr_ Code] ,[Service Price Adjustment Group].[Code] FROM [CRONUS UK Ltd_$Service Line Price Adjmt_$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Service Line Price Adjmt.] LEFT JOIN [CRONUS UK Ltd_$Service Price Adjustment Group$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Service Price Adjustment Group] ON [Service Line Price Adjmt.].[Serv_ Price Adjmt_ Gr_ Code] = [Service Price Adjustment Group].[Code] | |||||||
7 | Type | Type | Normal | Option | 4 | Type | int |
Available options are:
| |||||||
8 | No. | No. | Normal | Code | 20 | No_ | nvarchar(40) |
9 | Description | Description | Normal | Text | 100 | Description | nvarchar(200) |
10 | Quantity | Quantity | Normal | Decimal | 12 | Quantity | decimal(38,38) |
14 | Amount | Amount | Normal | Decimal | 12 | Amount | decimal(38,38) |
15 | New Amount | New Amount | Normal | Decimal | 12 | New Amount | decimal(38,38) |
16 | Unit Price | Unit Price | Normal | Decimal | 12 | Unit Price | decimal(38,38) |
17 | New Unit Price | New Unit Price | Normal | Decimal | 12 | New Unit Price | decimal(38,38) |
18 | Unit Cost | Unit Cost | Normal | Decimal | 12 | Unit Cost | decimal(38,38) |
19 | Discount % | Discount % | Normal | Decimal | 12 | Discount _ | decimal(38,38) |
20 | Discount Amount | Discount Amount | Normal | Decimal | 12 | Discount Amount | decimal(38,38) |
21 | Amount incl. VAT | Amount incl. Tax | Normal | Decimal | 12 | Amount incl_ VAT | decimal(38,38) |
22 | New Amount incl. VAT | New Amount incl. Tax | Normal | Decimal | 12 | New Amount incl_ VAT | decimal(38,38) |
24 | Weight | Weight | Normal | Decimal | 12 | Weight | decimal(38,38) |
25 | Adjustment Type | Adjustment Type | Normal | Option | 4 | Adjustment Type | int |
Available options are:
| |||||||
26 | Service Price Group Code | Service Price Group Code | Normal | Code | 10 | Service Price Group Code | nvarchar(20) |
Key to join to the Service Price Group table.Show/hide example querySELECT [Service Line Price Adjmt.].[Service Price Group Code] ,[Service Price Group].[Code] FROM [CRONUS UK Ltd_$Service Line Price Adjmt_$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Service Line Price Adjmt.] LEFT JOIN [CRONUS UK Ltd_$Service Price Group$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Service Price Group] ON [Service Line Price Adjmt.].[Service Price Group Code] = [Service Price Group].[Code] | |||||||
27 | Manually Adjusted | Manually Adjusted | Normal | Boolean | 4 | Manually Adjusted | tinyint |
28 | Vat % | Tax % | Normal | Decimal | 12 | Vat _ | decimal(38,38) |
29 | New Amount Excl. VAT | New Amount Excl. Tax | Normal | Decimal | 12 | New Amount Excl_ VAT | decimal(38,38) |
2000000000 | $systemId | System ID | Normal | GUID | 16 | $systemId | uniqueidentifier |
2000000001 | SystemCreatedAt | Created At | Normal | DateTime | 8 | $systemCreatedAt | datetime |
2000000002 | SystemCreatedBy | Created By | Normal | GUID | 16 | $systemCreatedBy | uniqueidentifier |
Key to join to the User table.Show/hide example querySELECT [Service Line Price Adjmt.].[$systemCreatedBy] ,[User].[User Security ID] FROM [CRONUS UK Ltd_$Service Line Price Adjmt_$437dbf0e-84ff-417a-965d-ed2bb9650972] AS [Service Line Price Adjmt.] LEFT JOIN [User] AS [User] ON [Service Line Price Adjmt.].[$systemCreatedBy] = [User].[User Security ID] | |||||||
2000000003 | SystemModifiedAt | Modified At | Normal | DateTime | 8 | $systemModifiedAt | datetime |
2000000004 | SystemModifiedBy | Modified By | Normal | GUID | 16 | $systemModifiedBy | uniqueidentifier |