-
Notifications
You must be signed in to change notification settings - Fork 128
Expand file tree
/
Copy pathRS203000.ts
More file actions
46 lines (41 loc) · 1.46 KB
/
RS203000.ts
File metadata and controls
46 lines (41 loc) · 1.46 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
import { createCollection, createSingle, graphInfo, PXView, PXScreen, PXFieldState, gridConfig, PXFieldOptions, PXActionState, GridPreset, viewInfo } from "client-controls";
@graphInfo({
graphType: "PhoneRepairShop.RSSVRepairPriceMaint",
primaryView: "RepairPrices",
})
export class RS203000 extends PXScreen {
@viewInfo({containerName: "Repair Prices"})
RepairPrices = createSingle(RSSVRepairPrice);
@viewInfo({containerName: "Repair Items"})
RepairItems = createCollection(RSSVRepairItem);
@viewInfo({containerName: "Labor"})
Labor = createCollection(RSSVLabor);
}
export class RSSVRepairPrice extends PXView {
ServiceID: PXFieldState;
DeviceID: PXFieldState;
Price: PXFieldState;
}
@gridConfig({
preset: GridPreset.Details,
syncPosition: true,
initNewRow: true
})
export class RSSVRepairItem extends PXView {
RepairItemType : PXFieldState<PXFieldOptions.CommitChanges>;
Required : PXFieldState<PXFieldOptions.CommitChanges>;
InventoryID: PXFieldState<PXFieldOptions.CommitChanges>;
InventoryID_description : PXFieldState;
BasePrice : PXFieldState<PXFieldOptions.CommitChanges>;
IsDefault : PXFieldState<PXFieldOptions.CommitChanges>;
}
@gridConfig({
preset: GridPreset.Details
})
export class RSSVLabor extends PXView {
InventoryID : PXFieldState<PXFieldOptions.CommitChanges>;
InventoryID_description : PXFieldState;
DefaultPrice : PXFieldState<PXFieldOptions.CommitChanges>;
Quantity : PXFieldState<PXFieldOptions.CommitChanges>;
ExtPrice : PXFieldState;
}