axis 0.3.0
Sign up to get free protection for your applications and to get access to all the features.
- data/.gitignore +4 -0
- data/.rspec +0 -0
- data/.rvmrc +1 -0
- data/Gemfile +4 -0
- data/LICENSE.txt +20 -0
- data/README.markdown +10 -0
- data/Rakefile +5 -0
- data/VERSION +1 -0
- data/axis.gemspec +31 -0
- data/db/schema/v_customers.sql +228 -0
- data/db/schema/v_deliveries.sql +146 -0
- data/db/schema/v_nominal_account_transactions.sql +179 -0
- data/db/schema/v_sales_order_lines.sql +156 -0
- data/db/schema/v_sales_orders.sql +256 -0
- data/db/schema/v_stock_records.sql +243 -0
- data/lib/axis.rb +15 -0
- data/lib/axis/base.rb +5 -0
- data/lib/axis/config.rb +28 -0
- data/lib/axis/document.rb +74 -0
- data/lib/axis/models/addressee.rb +6 -0
- data/lib/axis/models/component_record.rb +5 -0
- data/lib/axis/models/customer.rb +6 -0
- data/lib/axis/models/delivery.rb +7 -0
- data/lib/axis/models/goods_on_account.rb +8 -0
- data/lib/axis/models/goods_on_account_line.rb +8 -0
- data/lib/axis/models/invoice.rb +11 -0
- data/lib/axis/models/nominal_account_transaction.rb +47 -0
- data/lib/axis/models/sales_order.rb +7 -0
- data/lib/axis/models/sales_order_line.rb +8 -0
- data/lib/axis/models/stock_level.rb +6 -0
- data/lib/axis/models/stock_record.rb +10 -0
- data/lib/axis/models/stock_record_location.rb +6 -0
- data/lib/axis/models/supplier_price.rb +6 -0
- data/lib/axis/version.rb +3 -0
- data/lib/cli.rb +25 -0
- data/spec/axis/document_spec.rb +98 -0
- data/spec/fixtures/ATTACH/Documents/INV/123456_0_20110101_163350_2C16B3CB_P.pdf +0 -0
- data/spec/fixtures/ATTACH/Documents/INV/123456_0_20120101_163350_2C16B3CB_P.pdf +0 -0
- data/spec/fixtures/ATTACH/Documents/INV/123456_0_20121002_163350_2C16B3CB_P.pdf +0 -0
- data/spec/fixtures/ATTACH/Documents/INV/296621_0_20121001_163350_2C16B3CB_P.pdf +0 -0
- data/spec/spec_helper.rb +1 -0
- metadata +175 -0
@@ -0,0 +1,179 @@
|
|
1
|
+
USE [AXIS33238CO1]
|
2
|
+
GO
|
3
|
+
|
4
|
+
/****** Object: View [dbo].[v_nominal_account_transactions] Script Date: 06/01/2011 10:00:55 ******/
|
5
|
+
SET ANSI_NULLS ON
|
6
|
+
GO
|
7
|
+
|
8
|
+
SET QUOTED_IDENTIFIER ON
|
9
|
+
GO
|
10
|
+
|
11
|
+
CREATE VIEW [dbo].[v_nominal_account_transactions]
|
12
|
+
AS
|
13
|
+
SELECT drf AS document_reference, typ AS transaction_type, vcd AS vat_code, amt AS net_amount, dat AS date, acn AS nominal_account_number,
|
14
|
+
sgd AS customer_supplier_group, osd AS order_code, csn AS contra_account_rrn, vat AS vat_amount, bno AS batch_number, cos AS cost_of_sales,
|
15
|
+
iref AS internal_reference, des AS comment, dcd AS department_code, ntp4 AS next_transaction_pointer, ccc AS cost_centre_code, per AS period_number,
|
16
|
+
yrn AS year_number, ecv AS vat_for_ec_transaction, notc AS ec_nature_of_transaction_code, cshv AS vat_on_cash_transations, iref6 AS internal_reference_6,
|
17
|
+
des2 AS comment_line_2, cacno AS contra_account_number, tuid AS transaction_unique_id, tclk AS transaction_clock, opid AS operation_id, xrt AS exchange_rate,
|
18
|
+
curr AS currency_value, eccc AS ec_county_code, com AS commodity_code, dtc AS delivery_terms, codis AS country_of_dispatch, vrt AS vat_rate,
|
19
|
+
pkey AS primary_key_for_table, record AS record_number, fno AS file_variant, mass AS net_mass, sup AS supplementary_reference
|
20
|
+
FROM dbo.accntr00
|
21
|
+
|
22
|
+
GO
|
23
|
+
|
24
|
+
EXEC sys.sp_addextendedproperty @name=N'MS_DiagramPane1', @value=N'[0E232FF0-B466-11cf-A24F-00AA00A3EFFF, 1.00]
|
25
|
+
Begin DesignProperties =
|
26
|
+
Begin PaneConfigurations =
|
27
|
+
Begin PaneConfiguration = 0
|
28
|
+
NumPanes = 4
|
29
|
+
Configuration = "(H (1[40] 4[20] 2[20] 3) )"
|
30
|
+
End
|
31
|
+
Begin PaneConfiguration = 1
|
32
|
+
NumPanes = 3
|
33
|
+
Configuration = "(H (1 [50] 4 [25] 3))"
|
34
|
+
End
|
35
|
+
Begin PaneConfiguration = 2
|
36
|
+
NumPanes = 3
|
37
|
+
Configuration = "(H (1 [50] 2 [25] 3))"
|
38
|
+
End
|
39
|
+
Begin PaneConfiguration = 3
|
40
|
+
NumPanes = 3
|
41
|
+
Configuration = "(H (4 [30] 2 [40] 3))"
|
42
|
+
End
|
43
|
+
Begin PaneConfiguration = 4
|
44
|
+
NumPanes = 2
|
45
|
+
Configuration = "(H (1 [56] 3))"
|
46
|
+
End
|
47
|
+
Begin PaneConfiguration = 5
|
48
|
+
NumPanes = 2
|
49
|
+
Configuration = "(H (2 [66] 3))"
|
50
|
+
End
|
51
|
+
Begin PaneConfiguration = 6
|
52
|
+
NumPanes = 2
|
53
|
+
Configuration = "(H (4 [50] 3))"
|
54
|
+
End
|
55
|
+
Begin PaneConfiguration = 7
|
56
|
+
NumPanes = 1
|
57
|
+
Configuration = "(V (3))"
|
58
|
+
End
|
59
|
+
Begin PaneConfiguration = 8
|
60
|
+
NumPanes = 3
|
61
|
+
Configuration = "(H (1[56] 4[18] 2) )"
|
62
|
+
End
|
63
|
+
Begin PaneConfiguration = 9
|
64
|
+
NumPanes = 2
|
65
|
+
Configuration = "(H (1 [75] 4))"
|
66
|
+
End
|
67
|
+
Begin PaneConfiguration = 10
|
68
|
+
NumPanes = 2
|
69
|
+
Configuration = "(H (1[66] 2) )"
|
70
|
+
End
|
71
|
+
Begin PaneConfiguration = 11
|
72
|
+
NumPanes = 2
|
73
|
+
Configuration = "(H (4 [60] 2))"
|
74
|
+
End
|
75
|
+
Begin PaneConfiguration = 12
|
76
|
+
NumPanes = 1
|
77
|
+
Configuration = "(H (1) )"
|
78
|
+
End
|
79
|
+
Begin PaneConfiguration = 13
|
80
|
+
NumPanes = 1
|
81
|
+
Configuration = "(V (4))"
|
82
|
+
End
|
83
|
+
Begin PaneConfiguration = 14
|
84
|
+
NumPanes = 1
|
85
|
+
Configuration = "(V (2))"
|
86
|
+
End
|
87
|
+
ActivePaneConfig = 0
|
88
|
+
End
|
89
|
+
Begin DiagramPane =
|
90
|
+
Begin Origin =
|
91
|
+
Top = 0
|
92
|
+
Left = 0
|
93
|
+
End
|
94
|
+
Begin Tables =
|
95
|
+
Begin Table = "accntr00"
|
96
|
+
Begin Extent =
|
97
|
+
Top = 6
|
98
|
+
Left = 38
|
99
|
+
Bottom = 263
|
100
|
+
Right = 569
|
101
|
+
End
|
102
|
+
DisplayFlags = 280
|
103
|
+
TopColumn = 0
|
104
|
+
End
|
105
|
+
End
|
106
|
+
End
|
107
|
+
Begin SQLPane =
|
108
|
+
End
|
109
|
+
Begin DataPane =
|
110
|
+
Begin ParameterDefaults = ""
|
111
|
+
End
|
112
|
+
Begin ColumnWidths = 41
|
113
|
+
Width = 284
|
114
|
+
Width = 3945
|
115
|
+
Width = 1500
|
116
|
+
Width = 1500
|
117
|
+
Width = 1500
|
118
|
+
Width = 1500
|
119
|
+
Width = 1500
|
120
|
+
Width = 1500
|
121
|
+
Width = 1500
|
122
|
+
Width = 1500
|
123
|
+
Width = 1500
|
124
|
+
Width = 1500
|
125
|
+
Width = 1500
|
126
|
+
Width = 1500
|
127
|
+
Width = 1500
|
128
|
+
Width = 1500
|
129
|
+
Width = 1500
|
130
|
+
Width = 1500
|
131
|
+
Width = 1500
|
132
|
+
Width = 1500
|
133
|
+
Width = 1500
|
134
|
+
Width = 1500
|
135
|
+
Width = 1500
|
136
|
+
Width = 1500
|
137
|
+
Width = 1500
|
138
|
+
Width = 1500
|
139
|
+
Width = 1500
|
140
|
+
Width = 1500
|
141
|
+
Width = 1500
|
142
|
+
Width = 1500
|
143
|
+
Width = 1500
|
144
|
+
Width = 1500
|
145
|
+
Width = 1500
|
146
|
+
Width = 1500
|
147
|
+
Width = 1500
|
148
|
+
Width = 1500
|
149
|
+
Width = 1500
|
150
|
+
Width = 1500
|
151
|
+
Width = 1500
|
152
|
+
Width = 1500
|
153
|
+
Width = 1500
|
154
|
+
End
|
155
|
+
End
|
156
|
+
Begin CriteriaPane =
|
157
|
+
Begin ColumnWidths = 11
|
158
|
+
Column = 1440
|
159
|
+
Alias = 4530
|
160
|
+
Table = 1170
|
161
|
+
Output = 720
|
162
|
+
Append = 1400
|
163
|
+
NewValue = 1170
|
164
|
+
SortType = 1350
|
165
|
+
SortOrder = 1410
|
166
|
+
GroupBy = 1350
|
167
|
+
Filter = 1350
|
168
|
+
Or = 1350
|
169
|
+
Or = 1350
|
170
|
+
Or = 1350
|
171
|
+
End
|
172
|
+
End
|
173
|
+
End
|
174
|
+
' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'VIEW',@level1name=N'v_nominal_account_transactions'
|
175
|
+
GO
|
176
|
+
|
177
|
+
EXEC sys.sp_addextendedproperty @name=N'MS_DiagramPaneCount', @value=1 , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'VIEW',@level1name=N'v_nominal_account_transactions'
|
178
|
+
GO
|
179
|
+
|
@@ -0,0 +1,156 @@
|
|
1
|
+
USE [AXIS33238CO1]
|
2
|
+
GO
|
3
|
+
|
4
|
+
/****** Object: View [dbo].[v_sales_order_lines] Script Date: 06/01/2011 10:01:11 ******/
|
5
|
+
SET ANSI_NULLS ON
|
6
|
+
GO
|
7
|
+
|
8
|
+
SET QUOTED_IDENTIFIER ON
|
9
|
+
GO
|
10
|
+
|
11
|
+
CREATE VIEW [dbo].[v_sales_order_lines]
|
12
|
+
AS
|
13
|
+
SELECT dep AS department_code, ccc AS cost_centre_code, rtl AS record_type, sir AS stock_item_reference, des1 AS item_description, qav AS qty_avaliable_at_release_time,
|
14
|
+
prate AS piece_rate, prtyp AS piece_rate_type, prper AS piece_rate_per, item AS sales_order_item_number, cval AS customs_value, vrt AS vat_rate,
|
15
|
+
qor AS quantity_ordered, qds AS quantity_released_to_date, upr AS unit_price, pds AS product_discount, obin AS old_bin_location, sgc AS sales_group_code,
|
16
|
+
opgp AS product_group_code, box AS box_quantity, cac AS customer_account_rrn, uom AS unit_of_measure, stc AS status_code, per, nob AS number_of_boxes,
|
17
|
+
cos AS total_cost_of_sale, del AS delivery, qnr AS quantity_for_next_release, rfb AS release_flag, vcd AS vat_code, br1 AS booking_ref_invoice_number_1,
|
18
|
+
qr1 AS quantity_released_1, dr1 AS date_released_1, br2 AS booking_ref_invoice_2, qr2 AS quantity_released_2, dr2 AS date_released_2,
|
19
|
+
br3 AS booking_ref_invoice_3, qr3 AS quantity_released_3, dr3 AS date_released_3, opnam AS operator_name, sdp AS surcharge_discount_percentage,
|
20
|
+
ocsg AS customer_group_code, osd AS order_source_code, net AS net_value, dis AS discount_amount, vsq AS visual_quantity, ddt AS order_line_due_date,
|
21
|
+
avcst AS average_cost_at_order_entry, kir AS kit_item_reference, ojob AS not_in_use_job_number, prr AS production_reference, ono AS internal_order_number,
|
22
|
+
ptr AS pointer_to_next_transaction, oqor AS original_quantity_ordered, oddt AS original_order_due_date, oodt AS original_transaction_date,
|
23
|
+
oosd AS original_order_source_code, onet AS original_order_line_value, escst AS estimated_cost, tprp AS third_party_retail_price,
|
24
|
+
stdup AS standard_unit_selling_price, wkson AS works_order_number, iid AS item_id, poln AS purchase_order_line_number, vmsid AS vmerchant_session_id,
|
25
|
+
buyref AS buying_reference, pad_uid AS deposit_item_id, pspec AS plating_specification, piid AS parent_item_id, acpsi AS alternative_case_price_source,
|
26
|
+
acupr AS alternative_case_unit_price, csi AS cost_source_indicator, psi AS price_source_indicator, pon AS purchase_order_number,
|
27
|
+
advnn AS advice_packing_note_number, ondq AS original_next_despatch_qty, cusac AS customer_account_number, reqdt AS requested_delivery_date,
|
28
|
+
vat AS vat_value, record AS record_number, ptr4, com AS commodity_code
|
29
|
+
FROM dbo.accsol00
|
30
|
+
|
31
|
+
GO
|
32
|
+
|
33
|
+
EXEC sys.sp_addextendedproperty @name=N'MS_DiagramPane1', @value=N'[0E232FF0-B466-11cf-A24F-00AA00A3EFFF, 1.00]
|
34
|
+
Begin DesignProperties =
|
35
|
+
Begin PaneConfigurations =
|
36
|
+
Begin PaneConfiguration = 0
|
37
|
+
NumPanes = 4
|
38
|
+
Configuration = "(H (1[40] 4[20] 2[20] 3) )"
|
39
|
+
End
|
40
|
+
Begin PaneConfiguration = 1
|
41
|
+
NumPanes = 3
|
42
|
+
Configuration = "(H (1 [50] 4 [25] 3))"
|
43
|
+
End
|
44
|
+
Begin PaneConfiguration = 2
|
45
|
+
NumPanes = 3
|
46
|
+
Configuration = "(H (1 [50] 2 [25] 3))"
|
47
|
+
End
|
48
|
+
Begin PaneConfiguration = 3
|
49
|
+
NumPanes = 3
|
50
|
+
Configuration = "(H (4 [30] 2 [40] 3))"
|
51
|
+
End
|
52
|
+
Begin PaneConfiguration = 4
|
53
|
+
NumPanes = 2
|
54
|
+
Configuration = "(H (1 [56] 3))"
|
55
|
+
End
|
56
|
+
Begin PaneConfiguration = 5
|
57
|
+
NumPanes = 2
|
58
|
+
Configuration = "(H (2 [66] 3))"
|
59
|
+
End
|
60
|
+
Begin PaneConfiguration = 6
|
61
|
+
NumPanes = 2
|
62
|
+
Configuration = "(H (4 [50] 3))"
|
63
|
+
End
|
64
|
+
Begin PaneConfiguration = 7
|
65
|
+
NumPanes = 1
|
66
|
+
Configuration = "(V (3))"
|
67
|
+
End
|
68
|
+
Begin PaneConfiguration = 8
|
69
|
+
NumPanes = 3
|
70
|
+
Configuration = "(H (1[56] 4[18] 2) )"
|
71
|
+
End
|
72
|
+
Begin PaneConfiguration = 9
|
73
|
+
NumPanes = 2
|
74
|
+
Configuration = "(H (1 [75] 4))"
|
75
|
+
End
|
76
|
+
Begin PaneConfiguration = 10
|
77
|
+
NumPanes = 2
|
78
|
+
Configuration = "(H (1[66] 2) )"
|
79
|
+
End
|
80
|
+
Begin PaneConfiguration = 11
|
81
|
+
NumPanes = 2
|
82
|
+
Configuration = "(H (4 [60] 2))"
|
83
|
+
End
|
84
|
+
Begin PaneConfiguration = 12
|
85
|
+
NumPanes = 1
|
86
|
+
Configuration = "(H (1) )"
|
87
|
+
End
|
88
|
+
Begin PaneConfiguration = 13
|
89
|
+
NumPanes = 1
|
90
|
+
Configuration = "(V (4))"
|
91
|
+
End
|
92
|
+
Begin PaneConfiguration = 14
|
93
|
+
NumPanes = 1
|
94
|
+
Configuration = "(V (2))"
|
95
|
+
End
|
96
|
+
ActivePaneConfig = 0
|
97
|
+
End
|
98
|
+
Begin DiagramPane =
|
99
|
+
Begin Origin =
|
100
|
+
Top = 0
|
101
|
+
Left = 0
|
102
|
+
End
|
103
|
+
Begin Tables =
|
104
|
+
Begin Table = "accsol00"
|
105
|
+
Begin Extent =
|
106
|
+
Top = 0
|
107
|
+
Left = 38
|
108
|
+
Bottom = 334
|
109
|
+
Right = 207
|
110
|
+
End
|
111
|
+
DisplayFlags = 280
|
112
|
+
TopColumn = 131
|
113
|
+
End
|
114
|
+
End
|
115
|
+
End
|
116
|
+
Begin SQLPane =
|
117
|
+
End
|
118
|
+
Begin DataPane =
|
119
|
+
Begin ParameterDefaults = ""
|
120
|
+
End
|
121
|
+
Begin ColumnWidths = 9
|
122
|
+
Width = 284
|
123
|
+
Width = 1500
|
124
|
+
Width = 1500
|
125
|
+
Width = 1500
|
126
|
+
Width = 1500
|
127
|
+
Width = 1500
|
128
|
+
Width = 1500
|
129
|
+
Width = 1500
|
130
|
+
Width = 1500
|
131
|
+
End
|
132
|
+
End
|
133
|
+
Begin CriteriaPane =
|
134
|
+
Begin ColumnWidths = 11
|
135
|
+
Column = 1440
|
136
|
+
Alias = 900
|
137
|
+
Table = 1170
|
138
|
+
Output = 720
|
139
|
+
Append = 1400
|
140
|
+
NewValue = 1170
|
141
|
+
SortType = 1350
|
142
|
+
SortOrder = 1410
|
143
|
+
GroupBy = 1350
|
144
|
+
Filter = 1350
|
145
|
+
Or = 1350
|
146
|
+
Or = 1350
|
147
|
+
Or = 1350
|
148
|
+
End
|
149
|
+
End
|
150
|
+
End
|
151
|
+
' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'VIEW',@level1name=N'v_sales_order_lines'
|
152
|
+
GO
|
153
|
+
|
154
|
+
EXEC sys.sp_addextendedproperty @name=N'MS_DiagramPaneCount', @value=1 , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'VIEW',@level1name=N'v_sales_order_lines'
|
155
|
+
GO
|
156
|
+
|
@@ -0,0 +1,256 @@
|
|
1
|
+
USE [AXIS33238CO1]
|
2
|
+
GO
|
3
|
+
|
4
|
+
/****** Object: View [dbo].[v_sales_orders] Script Date: 06/01/2011 10:01:23 ******/
|
5
|
+
SET ANSI_NULLS ON
|
6
|
+
GO
|
7
|
+
|
8
|
+
SET QUOTED_IDENTIFIER ON
|
9
|
+
GO
|
10
|
+
|
11
|
+
CREATE VIEW [dbo].[v_sales_orders]
|
12
|
+
AS
|
13
|
+
SELECT cor AS customer_order_number, cac AS customer_account_rrn, csn AS customer_short_name, drf AS internal_order_number, odt AS order_date,
|
14
|
+
rdt AS date_received_entered, ddt AS date_required, cdr AS customer_discount_rate, sdr AS settlement_discount_rate, dpd AS discount_period,
|
15
|
+
csg AS customer_group_code, osd AS order_source_code, orf AS our_reference, tor AS inv_at_t_r_or_s, cdg AS customer_discount_group,
|
16
|
+
pmg AS customer_price_matrix_group, qbd AS qty_brk_discount_category_code, ktl AS kit_explosion_to_level_no, eccc AS ec_country_code, del AS delivery_terms,
|
17
|
+
pid AS proforma_invoice_date, xrt AS exchange_rate, net AS total_net_goods_value, cos AS total_cost_of_sales, ina AS invoice_to_name_and_address,
|
18
|
+
dna AS deliver_to_name_and_address, spi AS special_instructions, qst AS quotation_standard_terms, osqv_0 AS order_status_quotation_valid,
|
19
|
+
oni_0 AS order_notes_instructions, ndl AS number_of_dispatch_labels, bno AS batch_number, job AS job_number, loc AS location_code,
|
20
|
+
dps AS number_of_dps_on_currency, dep AS department_code, sln AS sales_ledger_number, osr AS original_number_s_o_releases,
|
21
|
+
nsr AS number_of_s_o_releases_made, frq AS release_frequency, ccc AS cost_centre, vno AS van_number, ntc AS nature_of_transaction, sin AS replaced_by_sin4,
|
22
|
+
ptr AS replaced_by_ptr4, lmodd AS last_modified_by_date, lmodt AS last_modified_by_time, lmodo AS last_modified_by_operator,
|
23
|
+
create_op AS original_operator_name, mcode AS managers_code, conno AS contact_number, route AS route_number, rploc AS replenishment_location,
|
24
|
+
prb AS pb_list_probability, tubsb AS tubs_units_bought, tubsu AS tubs_units_used, dptyp AS deposit_payment_type, cccc AS customers_code_centre_code,
|
25
|
+
cjob AS customers_job_number, cglc AS customers_general_ledger_code, inv_count AS invoice_count, sct AS service_contract_type, site AS ebusiness_site_number,
|
26
|
+
pkstat AS picking_status, dms AS the_delivery_method, docstat AS document_status, priority AS sales_order_priority, apnpac AS apn_printed_at_clock,
|
27
|
+
pmeth AS payment_method, create_dt AS date_and_time_created, alcacert AS alca_certificate_number, vchr AS voucher_code, vchrn AS voucher_net_value,
|
28
|
+
del_uid AS delivery_address_unique_id, doc_uid AS document_unique_indentifier, duetime AS delivery_due_time, qrdate AS quote_request_received_date,
|
29
|
+
qrtime AS quote_request_received_time, del_con AS deliver_to_contact_number, inv_uid AS formatted_invoice_to_address, inv_con AS invoice_to_contact_number,
|
30
|
+
ovbdg AS order_value_break_disc_group, odisc AS order_value_break_discount, ooc AS order_origin_code, desbn AS despatch_batch_number,
|
31
|
+
ptype AS payment_refund_type, pinvn AS invoice_number, advnn AS advice_packing_note_number, cusac AS customer_account_number,
|
32
|
+
invac AS invoice_to_account_number_ind, delac AS deliver_to_account_number_ind, comrt AS commission_rate, codis AS country_of_dispatch,
|
33
|
+
pon AS purchase_order_number, pay AS payment_period_days, sit4 AS special_address_record_printer, sin4 AS special_instr_terms_pointer,
|
34
|
+
ptr4 AS first_order_item_pointer, record AS record_number
|
35
|
+
FROM dbo.accsom00
|
36
|
+
|
37
|
+
GO
|
38
|
+
|
39
|
+
EXEC sys.sp_addextendedproperty @name=N'MS_DiagramPane1', @value=N'[0E232FF0-B466-11cf-A24F-00AA00A3EFFF, 1.00]
|
40
|
+
Begin DesignProperties =
|
41
|
+
Begin PaneConfigurations =
|
42
|
+
Begin PaneConfiguration = 0
|
43
|
+
NumPanes = 4
|
44
|
+
Configuration = "(H (1[40] 4[20] 2[20] 3) )"
|
45
|
+
End
|
46
|
+
Begin PaneConfiguration = 1
|
47
|
+
NumPanes = 3
|
48
|
+
Configuration = "(H (1 [50] 4 [25] 3))"
|
49
|
+
End
|
50
|
+
Begin PaneConfiguration = 2
|
51
|
+
NumPanes = 3
|
52
|
+
Configuration = "(H (1 [50] 2 [25] 3))"
|
53
|
+
End
|
54
|
+
Begin PaneConfiguration = 3
|
55
|
+
NumPanes = 3
|
56
|
+
Configuration = "(H (4 [30] 2 [40] 3))"
|
57
|
+
End
|
58
|
+
Begin PaneConfiguration = 4
|
59
|
+
NumPanes = 2
|
60
|
+
Configuration = "(H (1 [56] 3))"
|
61
|
+
End
|
62
|
+
Begin PaneConfiguration = 5
|
63
|
+
NumPanes = 2
|
64
|
+
Configuration = "(H (2 [66] 3))"
|
65
|
+
End
|
66
|
+
Begin PaneConfiguration = 6
|
67
|
+
NumPanes = 2
|
68
|
+
Configuration = "(H (4 [50] 3))"
|
69
|
+
End
|
70
|
+
Begin PaneConfiguration = 7
|
71
|
+
NumPanes = 1
|
72
|
+
Configuration = "(V (3))"
|
73
|
+
End
|
74
|
+
Begin PaneConfiguration = 8
|
75
|
+
NumPanes = 3
|
76
|
+
Configuration = "(H (1[56] 4[18] 2) )"
|
77
|
+
End
|
78
|
+
Begin PaneConfiguration = 9
|
79
|
+
NumPanes = 2
|
80
|
+
Configuration = "(H (1 [75] 4))"
|
81
|
+
End
|
82
|
+
Begin PaneConfiguration = 10
|
83
|
+
NumPanes = 2
|
84
|
+
Configuration = "(H (1[66] 2) )"
|
85
|
+
End
|
86
|
+
Begin PaneConfiguration = 11
|
87
|
+
NumPanes = 2
|
88
|
+
Configuration = "(H (4 [60] 2))"
|
89
|
+
End
|
90
|
+
Begin PaneConfiguration = 12
|
91
|
+
NumPanes = 1
|
92
|
+
Configuration = "(H (1) )"
|
93
|
+
End
|
94
|
+
Begin PaneConfiguration = 13
|
95
|
+
NumPanes = 1
|
96
|
+
Configuration = "(V (4))"
|
97
|
+
End
|
98
|
+
Begin PaneConfiguration = 14
|
99
|
+
NumPanes = 1
|
100
|
+
Configuration = "(V (2))"
|
101
|
+
End
|
102
|
+
ActivePaneConfig = 0
|
103
|
+
End
|
104
|
+
Begin DiagramPane =
|
105
|
+
Begin Origin =
|
106
|
+
Top = 0
|
107
|
+
Left = 0
|
108
|
+
End
|
109
|
+
Begin Tables =
|
110
|
+
Begin Table = "accsom00"
|
111
|
+
Begin Extent =
|
112
|
+
Top = 6
|
113
|
+
Left = 38
|
114
|
+
Bottom = 320
|
115
|
+
Right = 198
|
116
|
+
End
|
117
|
+
DisplayFlags = 280
|
118
|
+
TopColumn = 151
|
119
|
+
End
|
120
|
+
End
|
121
|
+
End
|
122
|
+
Begin SQLPane =
|
123
|
+
End
|
124
|
+
Begin DataPane =
|
125
|
+
Begin ParameterDefaults = ""
|
126
|
+
End
|
127
|
+
Begin ColumnWidths = 100
|
128
|
+
Width = 284
|
129
|
+
Width = 1500
|
130
|
+
Width = 1500
|
131
|
+
Width = 1500
|
132
|
+
Width = 1500
|
133
|
+
Width = 1500
|
134
|
+
Width = 1500
|
135
|
+
Width = 1500
|
136
|
+
Width = 1500
|
137
|
+
Width = 1500
|
138
|
+
Width = 1500
|
139
|
+
Width = 1500
|
140
|
+
Width = 1500
|
141
|
+
Width = 1500
|
142
|
+
Width = 1500
|
143
|
+
Width = 1500
|
144
|
+
Width = 1500
|
145
|
+
Width = 1500
|
146
|
+
Width = 1500
|
147
|
+
Width = 1500
|
148
|
+
Width = 1500
|
149
|
+
Width = 1500
|
150
|
+
Width = 1500
|
151
|
+
Width = 1500
|
152
|
+
Width = 1500
|
153
|
+
Width = 1500
|
154
|
+
Width = 1500
|
155
|
+
Width = 1500
|
156
|
+
Width = 1500
|
157
|
+
Width = 1500
|
158
|
+
Width = 1500
|
159
|
+
Width = 1500
|
160
|
+
Width = 1500
|
161
|
+
Width = 1500
|
162
|
+
Width = 1500
|
163
|
+
Width = 1500
|
164
|
+
Width = 1500
|
165
|
+
Width = 1500
|
166
|
+
Width = 1500
|
167
|
+
Width = 1500
|
168
|
+
Width = 1500
|
169
|
+
Width = 1500
|
170
|
+
Width = 1500
|
171
|
+
Width = 1500
|
172
|
+
Width = 1500
|
173
|
+
Width = 1500
|
174
|
+
Width = 1500
|
175
|
+
Width = 1500
|
176
|
+
Width = 1500
|
177
|
+
Width = 1500
|
178
|
+
Width = 1500
|
179
|
+
Width = 1500
|
180
|
+
Width = 1500
|
181
|
+
Width = 1500
|
182
|
+
Width = 1500
|
183
|
+
Width = 1500
|
184
|
+
Width = 1500
|
185
|
+
Width = 1500
|
186
|
+
Width = 1500
|
187
|
+
Width = 1500
|
188
|
+
' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'VIEW',@level1name=N'v_sales_orders'
|
189
|
+
GO
|
190
|
+
|
191
|
+
EXEC sys.sp_addextendedproperty @name=N'MS_DiagramPane2', @value=N' Width = 1500
|
192
|
+
Width = 1500
|
193
|
+
Width = 1500
|
194
|
+
Width = 1500
|
195
|
+
Width = 1500
|
196
|
+
Width = 1500
|
197
|
+
Width = 1500
|
198
|
+
Width = 1500
|
199
|
+
Width = 1500
|
200
|
+
Width = 1500
|
201
|
+
Width = 1500
|
202
|
+
Width = 1500
|
203
|
+
Width = 1500
|
204
|
+
Width = 1500
|
205
|
+
Width = 1500
|
206
|
+
Width = 1500
|
207
|
+
Width = 1500
|
208
|
+
Width = 1500
|
209
|
+
Width = 1500
|
210
|
+
Width = 1500
|
211
|
+
Width = 1500
|
212
|
+
Width = 1500
|
213
|
+
Width = 1500
|
214
|
+
Width = 1500
|
215
|
+
Width = 1500
|
216
|
+
Width = 1500
|
217
|
+
Width = 1500
|
218
|
+
Width = 1500
|
219
|
+
Width = 1500
|
220
|
+
Width = 1500
|
221
|
+
Width = 1500
|
222
|
+
Width = 1500
|
223
|
+
Width = 1500
|
224
|
+
Width = 1500
|
225
|
+
Width = 1500
|
226
|
+
Width = 1500
|
227
|
+
Width = 1500
|
228
|
+
Width = 1500
|
229
|
+
Width = 1500
|
230
|
+
Width = 1500
|
231
|
+
End
|
232
|
+
End
|
233
|
+
Begin CriteriaPane =
|
234
|
+
Begin ColumnWidths = 11
|
235
|
+
Column = 1440
|
236
|
+
Alias = 900
|
237
|
+
Table = 1170
|
238
|
+
Output = 720
|
239
|
+
Append = 1400
|
240
|
+
NewValue = 1170
|
241
|
+
SortType = 1350
|
242
|
+
SortOrder = 1410
|
243
|
+
GroupBy = 1350
|
244
|
+
Filter = 1350
|
245
|
+
Or = 1350
|
246
|
+
Or = 1350
|
247
|
+
Or = 1350
|
248
|
+
End
|
249
|
+
End
|
250
|
+
End
|
251
|
+
' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'VIEW',@level1name=N'v_sales_orders'
|
252
|
+
GO
|
253
|
+
|
254
|
+
EXEC sys.sp_addextendedproperty @name=N'MS_DiagramPaneCount', @value=2 , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'VIEW',@level1name=N'v_sales_orders'
|
255
|
+
GO
|
256
|
+
|