-
Notifications
You must be signed in to change notification settings - Fork 14
/
Copy pathPAG21.TXT
1800 lines (1646 loc) · 83 KB
/
PAG21.TXT
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
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
OBJECT Page 21 Customer Card
{
OBJECT-PROPERTIES
{
Date=03/05/18;
Time=[ 8:02:06 PM];
Modified=Yes;
Version List=NAVW110.0.00.19421;
}
PROPERTIES
{
CaptionML=ENU=Customer Card;
SourceTable=Table18;
PageType=Card;
RefreshOnActivate=Yes;
PromotedActionCategoriesML=ENU=New,Process,Report,New Document,Approve,Request Approval,Prices and Discounts,Navigate,Customer;
OnInit=VAR
ApplicationAreaSetup@1000 : Record 9178;
BEGIN
FoundationOnly := ApplicationAreaSetup.IsFoundationEnabled;
SetCustomerNoVisibilityOnFactBoxes;
ContactEditable := TRUE;
OpenApprovalEntriesExistCurrUser := TRUE;
END;
OnOpenPage=VAR
CRMIntegrationManagement@1001 : Codeunit 5330;
OfficeManagement@1002 : Codeunit 1630;
BEGIN
ActivateFields;
CRMIntegrationEnabled := CRMIntegrationManagement.IsCRMIntegrationEnabled;
SetNoFieldVisible;
IsOfficeAddin := OfficeManagement.IsAvailable;
IF FoundationOnly THEN
CurrPage.PriceAndLineDisc.PAGE.InitPage(FALSE);
ShowCharts := "No." <> '';
SETFILTER("Date Filter",CustomerMgt.GetCurrentYearFilter);
END;
OnAfterGetRecord=BEGIN
ActivateFields;
StyleTxt := SetStyle;
BlockedCustomer := (Blocked = Blocked::All);
END;
OnNewRecord=VAR
DocumentNoVisibility@1004 : Codeunit 1400;
BEGIN
IF GUIALLOWED THEN
IF "No." = '' THEN
IF DocumentNoVisibility.CustomerNoSeriesIsDefault THEN
NewMode := TRUE;
END;
OnAfterGetCurrRecord=VAR
CRMCouplingManagement@1001 : Codeunit 5331;
WorkflowManagement@1000 : Codeunit 1501;
WorkflowEventHandling@1003 : Codeunit 1520;
AgedAccReceivable@1004 : Codeunit 763;
BEGIN
CreateCustomerFromTemplate;
ActivateFields;
StyleTxt := SetStyle;
ShowWorkflowStatus := CurrPage.WorkflowStatus.PAGE.SetFilterOnWorkflowRecord(RECORDID);
CRMIsCoupledToRecord := CRMIntegrationEnabled AND CRMCouplingManagement.IsRecordCoupledToCRM(RECORDID);
OpenApprovalEntriesExistCurrUser := ApprovalsMgmt.HasOpenApprovalEntriesForCurrentUser(RECORDID);
OpenApprovalEntriesExist := ApprovalsMgmt.HasOpenApprovalEntries(RECORDID);
IF FoundationOnly THEN BEGIN
GetSalesPricesAndSalesLineDisc;
BalanceExhausted := 10000 <= CalcCreditLimitLCYExpendedPct;
DaysPastDueDate := AgedAccReceivable.InvoicePaymentDaysAverage("No.");
AttentionToPaidDay := DaysPastDueDate > 0;
END;
DynamicEditable := CurrPage.EDITABLE;
CanCancelApprovalForRecord := ApprovalsMgmt.CanCancelApprovalForRecord(RECORDID);
EventFilter := WorkflowEventHandling.RunWorkflowOnSendCustomerForApprovalCode + '|' +
WorkflowEventHandling.RunWorkflowOnCustomerChangedCode;
EnabledApprovalWorkflowsExist := WorkflowManagement.EnabledWorkflowExist(DATABASE::Customer,EventFilter);
IF "No." <> '' THEN BEGIN
IF ShowCharts THEN
CurrPage.AgedAccReceivableChart.PAGE.UpdateChartForCustomer("No.");
IF IsOfficeAddin THEN
CurrPage.AgedAccReceivableChart2.PAGE.UpdateChartForCustomer("No.");
END;
END;
ActionList=ACTIONS
{
{ 1900000003;0 ;ActionContainer;
ActionContainerType=RelatedInformation }
{ 74 ;1 ;ActionGroup;
CaptionML=ENU=&Customer;
Image=Customer }
{ 50101 ;2 ;Action ;
Name=My Action;
RunObject=Codeunit 50100 }
{ 84 ;2 ;Action ;
ShortCutKey=Shift+Ctrl+D;
CaptionML=ENU=Dimensions;
ToolTipML=ENU=View or edits dimensions, such as area, project, or department, that you can assign to sales and purchase documents to distribute costs and analyze transaction history.;
ApplicationArea=#Suite;
RunObject=Page 540;
RunPageLink=Table ID=CONST(18),
No.=FIELD(No.);
Image=Dimensions }
{ 99 ;2 ;Action ;
CaptionML=ENU=Bank Accounts;
ToolTipML=ENU=View or set up the customer's bank accounts. You can set up any number of bank accounts for each customer.;
ApplicationArea=#Basic,#Suite;
RunObject=Page 424;
RunPageLink=Customer No.=FIELD(No.);
Promoted=Yes;
Image=BankAccount;
PromotedCategory=Category9;
PromotedOnly=Yes }
{ 19 ;2 ;Action ;
CaptionML=ENU=Direct Debit Mandates;
ToolTipML=ENU=View the direct-debit mandates that reflect agreements with customers to collect invoice payments from their bank account.;
RunObject=Page 1230;
RunPageLink=Customer No.=FIELD(No.);
Promoted=Yes;
Image=MakeAgreement;
PromotedCategory=Category9;
PromotedOnly=Yes }
{ 81 ;2 ;Action ;
Name=ShipToAddresses;
CaptionML=ENU=Ship-&to Addresses;
ToolTipML=ENU=View or edit alternate shipping addresses where the customer wants items delivered if different from the regular address.;
ApplicationArea=#Basic,#Suite;
RunObject=Page 301;
RunPageLink=Customer No.=FIELD(No.);
Promoted=Yes;
Image=ShipAddress;
PromotedCategory=Category9;
PromotedOnly=Yes }
{ 14 ;2 ;Action ;
Name=Contact;
AccessByPermission=TableData 5050=R;
CaptionML=ENU=C&ontact;
ToolTipML=ENU=View or edit detailed information about the contact person at the customer.;
ApplicationArea=#Basic,#Suite;
Promoted=Yes;
PromotedIsBig=Yes;
Image=ContactPerson;
PromotedCategory=Category9;
PromotedOnly=Yes;
OnAction=BEGIN
ShowContact;
END;
}
{ 94 ;2 ;Action ;
CaptionML=ENU=Cross Re&ferences;
ToolTipML=ENU=Set up the customer's own identification of items that you sell to the customer. Cross-references to the customer's item number means that the item number is automatically shown on sales documents instead of the number that you use.;
ApplicationArea=#Basic,#Suite;
RunObject=Page 5723;
RunPageView=SORTING(Cross-Reference Type,Cross-Reference Type No.);
RunPageLink=Cross-Reference Type=CONST(Customer),
Cross-Reference Type No.=FIELD(No.);
Image=Change }
{ 78 ;2 ;Action ;
CaptionML=ENU=Co&mments;
RunObject=Page 124;
RunPageLink=Table Name=CONST(Customer),
No.=FIELD(No.);
Image=ViewComments }
{ 59 ;2 ;Action ;
Name=ApprovalEntries;
AccessByPermission=TableData 454=R;
CaptionML=ENU=Approvals;
ToolTipML=ENU=View a list of the records that are waiting to be approved. For example, you can see who requested the record to be approved, when it was sent, and when it is due to be approved.;
ApplicationArea=#Suite;
Promoted=Yes;
Image=Approvals;
PromotedCategory=Category6;
PromotedOnly=Yes;
OnAction=BEGIN
ApprovalsMgmt.OpenApprovalEntriesPage(RECORDID);
END;
}
{ 243 ;2 ;Action ;
Name=CustomerReportSelections;
CaptionML=ENU=Document Layouts;
ToolTipML=ENU=Set up a layout for different types of documents such as invoices, quotes, and credit memos.;
ApplicationArea=#Basic,#Suite;
Image=Quote;
OnAction=VAR
CustomReportSelection@1000 : Record 9657;
BEGIN
CustomReportSelection.SETRANGE("Source Type",DATABASE::Customer);
CustomReportSelection.SETRANGE("Source No.","No.");
PAGE.RUNMODAL(PAGE::"Customer Report Selections",CustomReportSelection);
END;
}
{ 31 ;1 ;ActionGroup;
Name=ActionGroupCRM;
CaptionML=ENU=Dynamics CRM;
Visible=CRMIntegrationEnabled }
{ 33 ;2 ;Action ;
Name=CRMGotoAccount;
CaptionML=ENU=Account;
ToolTipML=ENU=Open the coupled Microsoft Dynamics CRM account.;
ApplicationArea=#All;
Image=CoupledCustomer;
OnAction=VAR
CRMIntegrationManagement@1000 : Codeunit 5330;
BEGIN
CRMIntegrationManagement.ShowCRMEntityFromRecordID(RECORDID);
END;
}
{ 53 ;2 ;Action ;
Name=CRMSynchronizeNow;
AccessByPermission=TableData 5331=IM;
CaptionML=ENU=Synchronize Now;
ToolTipML=ENU=Send or get updated data to or from Microsoft Dynamics CRM.;
ApplicationArea=#All;
Image=Refresh;
OnAction=VAR
CRMIntegrationManagement@1001 : Codeunit 5330;
BEGIN
CRMIntegrationManagement.UpdateOneNow(RECORDID);
END;
}
{ 43 ;2 ;Action ;
Name=UpdateStatisticsInCRM;
CaptionML=ENU=Update Account Statistics;
ToolTipML=ENU=Send customer statistics data to Dynamics CRM to update the Account Statistics FactBox.;
ApplicationArea=#All;
Enabled=CRMIsCoupledToRecord;
Image=UpdateXML;
OnAction=VAR
CRMIntegrationManagement@1000 : Codeunit 5330;
BEGIN
CRMIntegrationManagement.CreateOrUpdateCRMAccountStatistics(Rec);
END;
}
{ 51 ;2 ;ActionGroup;
Name=Coupling;
CaptionML=[@@@=Coupling is a noun;
ENU=Coupling];
ToolTipML=ENU=Create, change, or delete a coupling between the Microsoft Dynamics NAV record and a Microsoft Dynamics CRM record.;
Image=LinkAccount }
{ 47 ;3 ;Action ;
Name=ManageCRMCoupling;
AccessByPermission=TableData 5331=IM;
CaptionML=ENU=Set Up Coupling;
ToolTipML=ENU=Create or modify the coupling to a Microsoft Dynamics CRM account.;
ApplicationArea=#All;
Image=LinkAccount;
OnAction=VAR
CRMIntegrationManagement@1000 : Codeunit 5330;
BEGIN
CRMIntegrationManagement.DefineCoupling(RECORDID);
END;
}
{ 49 ;3 ;Action ;
Name=DeleteCRMCoupling;
AccessByPermission=TableData 5331=IM;
CaptionML=ENU=Delete Coupling;
ToolTipML=ENU=Delete the coupling to a Microsoft Dynamics CRM account.;
ApplicationArea=#All;
Enabled=CRMIsCoupledToRecord;
Image=UnLinkAccount;
OnAction=VAR
CRMCouplingManagement@1000 : Codeunit 5331;
BEGIN
CRMCouplingManagement.RemoveCoupling(RECORDID);
END;
}
{ 5 ;1 ;ActionGroup;
CaptionML=ENU=History;
Image=History }
{ 80 ;2 ;Action ;
ShortCutKey=Ctrl+F7;
CaptionML=ENU=Ledger E&ntries;
ToolTipML=ENU=View the history of transactions that have been posted for the selected record.;
ApplicationArea=#Basic,#Suite;
RunObject=Page 25;
RunPageView=SORTING(Customer No.)
ORDER(Descending);
RunPageLink=Customer No.=FIELD(No.);
Promoted=No;
Image=CustomerLedger;
PromotedCategory=Process }
{ 76 ;2 ;Action ;
ShortCutKey=F7;
CaptionML=ENU=Statistics;
RunObject=Page 151;
RunPageLink=No.=FIELD(No.),
Date Filter=FIELD(Date Filter),
Global Dimension 1 Filter=FIELD(Global Dimension 1 Filter),
Global Dimension 2 Filter=FIELD(Global Dimension 2 Filter);
Image=Statistics;
PromotedCategory=Process }
{ 79 ;2 ;Action ;
CaptionML=ENU=S&ales;
RunObject=Page 155;
RunPageLink=No.=FIELD(No.),
Global Dimension 1 Filter=FIELD(Global Dimension 1 Filter),
Global Dimension 2 Filter=FIELD(Global Dimension 2 Filter);
Image=Sales }
{ 77 ;2 ;Action ;
CaptionML=ENU=Entry Statistics;
RunObject=Page 302;
RunPageLink=No.=FIELD(No.),
Date Filter=FIELD(Date Filter),
Global Dimension 1 Filter=FIELD(Global Dimension 1 Filter),
Global Dimension 2 Filter=FIELD(Global Dimension 2 Filter);
Image=EntryStatistics }
{ 112 ;2 ;Action ;
CaptionML=ENU=Statistics by C&urrencies;
RunObject=Page 486;
RunPageLink=Customer Filter=FIELD(No.),
Global Dimension 1 Filter=FIELD(Global Dimension 1 Filter),
Global Dimension 2 Filter=FIELD(Global Dimension 2 Filter),
Date Filter=FIELD(Date Filter);
Image=Currencies }
{ 6500 ;2 ;Action ;
CaptionML=ENU=Item &Tracking Entries;
Image=ItemTrackingLedger;
OnAction=VAR
ItemTrackingDocMgt@1000 : Codeunit 6503;
BEGIN
ItemTrackingDocMgt.ShowItemTrackingForMasterData(1,"No.",'','','','','');
END;
}
{ 140 ;2 ;Separator }
{ 130 ;1 ;ActionGroup;
Name=Prices and Discounts;
CaptionML=ENU=Prices and Discounts }
{ 83 ;2 ;Action ;
CaptionML=ENU=Invoice &Discounts;
ToolTipML=ENU=Set up different discounts that are applied to invoices for the customer. An invoice discount is automatically granted to the customer when the total on a sales invoice exceeds a certain amount.;
ApplicationArea=#Basic,#Suite;
RunObject=Page 23;
RunPageLink=Code=FIELD(Invoice Disc. Code);
Image=CalculateInvoiceDiscount;
PromotedCategory=Category7 }
{ 113 ;2 ;Action ;
CaptionML=ENU=Prices;
ToolTipML=ENU=View or set up different prices for items that you sell to the customer. An item price is automatically granted on invoice lines when the specified criteria are met, such as customer, quantity, or ending date.;
ApplicationArea=#Basic,#Suite;
RunObject=Page 7002;
RunPageView=SORTING(Sales Type,Sales Code);
RunPageLink=Sales Type=CONST(Customer),
Sales Code=FIELD(No.);
Image=Price }
{ 136 ;2 ;Action ;
CaptionML=ENU=Line Discounts;
ToolTipML=ENU=Set up different discounts for items that you sell to the customer. An item discount is automatically granted on invoice lines when the specified criteria are met, such as customer, quantity, or ending date.;
ApplicationArea=#Basic,#Suite;
RunObject=Page 7004;
RunPageView=SORTING(Sales Type,Sales Code);
RunPageLink=Sales Type=CONST(Customer),
Sales Code=FIELD(No.);
Image=LineDiscount }
{ 82 ;1 ;ActionGroup;
CaptionML=ENU=S&ales;
Image=Sales }
{ 162 ;2 ;Action ;
CaptionML=ENU=Prepa&yment Percentages;
RunObject=Page 664;
RunPageView=SORTING(Sales Type,Sales Code);
RunPageLink=Sales Type=CONST(Customer),
Sales Code=FIELD(No.);
Image=PrepaymentPercentages }
{ 118 ;2 ;Action ;
Ellipsis=Yes;
CaptionML=ENU=Recurring Sales Lines;
ToolTipML=ENU=Set up recurring sales lines for the customer, such as a monthly replenishment order, that can quickly be inserted on a sales document for the customer.;
RunObject=Page 173;
RunPageLink=Customer No.=FIELD(No.);
PromotedIsBig=Yes;
Image=CustomerCode;
PromotedCategory=Category5 }
{ 7 ;1 ;ActionGroup;
CaptionML=ENU=Documents;
Image=Documents }
{ 85 ;2 ;Action ;
CaptionML=ENU=Quotes;
ToolTipML=ENU=View a list of ongoing sales quotes for the customer.;
ApplicationArea=#Basic,#Suite;
RunObject=Page 9300;
RunPageView=SORTING(Document Type,Sell-to Customer No.);
RunPageLink=Sell-to Customer No.=FIELD(No.);
Image=Quote }
{ 86 ;2 ;Action ;
CaptionML=ENU=Orders;
ToolTipML=ENU=View a list of ongoing sales orders for the customer.;
ApplicationArea=#Basic,#Suite;
RunObject=Page 9305;
RunPageView=SORTING(Document Type,Sell-to Customer No.);
RunPageLink=Sell-to Customer No.=FIELD(No.);
Image=Document }
{ 121 ;2 ;Action ;
CaptionML=ENU=Return Orders;
RunObject=Page 9304;
RunPageView=SORTING(Document Type,Sell-to Customer No.);
RunPageLink=Sell-to Customer No.=FIELD(No.);
Image=ReturnOrder }
{ 151 ;2 ;ActionGroup;
CaptionML=ENU=Issued Documents;
Image=Documents }
{ 152 ;3 ;Action ;
CaptionML=ENU=Issued &Reminders;
ToolTipML=ENU=View the reminders that you have sent to the customer.;
RunObject=Page 440;
RunPageView=SORTING(Customer No.,Posting Date);
RunPageLink=Customer No.=FIELD(No.);
Image=OrderReminder }
{ 153 ;3 ;Action ;
CaptionML=ENU=Issued &Finance Charge Memos;
ToolTipML=ENU=View the finance charge memos that you have sent to the customer.;
RunObject=Page 452;
RunPageView=SORTING(Customer No.,Posting Date);
RunPageLink=Customer No.=FIELD(No.);
Image=FinChargeMemo }
{ 114 ;2 ;Action ;
CaptionML=ENU=Blanket Orders;
RunObject=Page 9303;
RunPageView=SORTING(Document Type,Sell-to Customer No.);
RunPageLink=Sell-to Customer No.=FIELD(No.);
Image=BlanketOrder }
{ 147 ;2 ;Action ;
CaptionML=ENU=&Jobs;
RunObject=Page 89;
RunPageView=SORTING(Bill-to Customer No.);
RunPageLink=Bill-to Customer No.=FIELD(No.);
Image=Job }
{ 13 ;1 ;ActionGroup;
CaptionML=ENU=Service;
Image=ServiceItem }
{ 128 ;2 ;Action ;
CaptionML=ENU=Service Orders;
RunObject=Page 9318;
RunPageView=SORTING(Document Type,Customer No.);
RunPageLink=Customer No.=FIELD(No.);
Image=Document }
{ 126 ;2 ;Action ;
CaptionML=ENU=Ser&vice Contracts;
RunObject=Page 6065;
RunPageView=SORTING(Customer No.,Ship-to Code);
RunPageLink=Customer No.=FIELD(No.);
Image=ServiceAgreement }
{ 127 ;2 ;Action ;
CaptionML=ENU=Service &Items;
RunObject=Page 5988;
RunPageView=SORTING(Customer No.,Ship-to Code,Item No.,Serial No.);
RunPageLink=Customer No.=FIELD(No.);
Image=ServiceItem }
{ 9 ; ;ActionContainer;
ActionContainerType=NewDocumentItems }
{ 1902575205;1 ;Action ;
Name=NewBlanketSalesOrder;
AccessByPermission=TableData 36=RIM;
CaptionML=ENU=Blanket Sales Order;
ToolTipML=ENU=Create a blanket sales order for the customer.;
RunObject=Page 507;
RunPageLink=Sell-to Customer No.=FIELD(No.);
Promoted=No;
Image=BlanketOrder;
PromotedCategory=Category4;
RunPageMode=Create }
{ 1900246505;1 ;Action ;
Name=NewSalesQuote;
AccessByPermission=TableData 36=RIM;
CaptionML=ENU=Sales Quote;
ToolTipML=ENU=Create a new sales quote where you offer items or services to a customer.;
ApplicationArea=#Basic,#Suite;
RunObject=Page 41;
RunPageLink=Sell-to Customer No.=FIELD(No.);
Promoted=Yes;
Image=NewSalesQuote;
PromotedCategory=Category4;
PromotedOnly=Yes;
RunPageMode=Create }
{ 1906384905;1 ;Action ;
Name=NewSalesInvoice;
AccessByPermission=TableData 36=RIM;
CaptionML=ENU=Sales Invoice;
ToolTipML=ENU=Create a sales invoice for the customer.;
ApplicationArea=#Basic,#Suite;
RunObject=Page 43;
RunPageLink=Sell-to Customer No.=FIELD(No.);
Promoted=Yes;
Image=NewSalesInvoice;
PromotedCategory=Category4;
PromotedOnly=Yes;
RunPageMode=Create }
{ 1904747105;1 ;Action ;
Name=NewSalesOrder;
AccessByPermission=TableData 36=RIM;
CaptionML=ENU=Sales Order;
ToolTipML=ENU=Create a sales order for the customer.;
ApplicationArea=#Basic,#Suite;
RunObject=Page 42;
RunPageLink=Sell-to Customer No.=FIELD(No.);
Promoted=Yes;
Image=Document;
PromotedCategory=Category4;
PromotedOnly=Yes;
RunPageMode=Create }
{ 1902583505;1 ;Action ;
Name=NewSalesCreditMemo;
AccessByPermission=TableData 36=RIM;
CaptionML=ENU=Sales Credit Memo;
ToolTipML=ENU=Create a new sales credit memo to revert a posted sales invoice.;
ApplicationArea=#Basic,#Suite;
RunObject=Page 44;
RunPageLink=Sell-to Customer No.=FIELD(No.);
Promoted=Yes;
Image=CreditMemo;
PromotedCategory=Category4;
PromotedOnly=Yes;
RunPageMode=Create }
{ 1905163705;1 ;Action ;
Name=NewSalesReturnOrder;
AccessByPermission=TableData 36=RIM;
CaptionML=ENU=Sales Return Order;
ToolTipML=ENU=Create a sales return order for the customer.;
RunObject=Page 6630;
RunPageLink=Sell-to Customer No.=FIELD(No.);
Promoted=No;
Image=ReturnOrder;
PromotedCategory=Category4;
RunPageMode=Create }
{ 1905185205;1 ;Action ;
Name=NewServiceQuote;
AccessByPermission=TableData 5900=RIM;
CaptionML=ENU=Service Quote;
ToolTipML=ENU=Create a service quote for the customer.;
RunObject=Page 5964;
RunPageLink=Customer No.=FIELD(No.);
Promoted=No;
Image=Quote;
PromotedCategory=Category4;
RunPageMode=Create }
{ 1902079405;1 ;Action ;
Name=NewServiceInvoice;
AccessByPermission=TableData 5900=RIM;
CaptionML=ENU=Service Invoice;
ToolTipML=ENU=Create a service invoice for the customer.;
RunObject=Page 5933;
RunPageLink=Customer No.=FIELD(No.);
Promoted=No;
Image=Invoice;
PromotedCategory=Category4;
RunPageMode=Create }
{ 1907102005;1 ;Action ;
Name=NewServiceOrder;
AccessByPermission=TableData 5900=RIM;
CaptionML=ENU=Service Order;
ToolTipML=ENU=Create a service order for the customer.;
RunObject=Page 5900;
RunPageLink=Customer No.=FIELD(No.);
Promoted=No;
Image=Document;
PromotedCategory=Category4;
RunPageMode=Create }
{ 1901662105;1 ;Action ;
Name=NewServiceCreditMemo;
AccessByPermission=TableData 5900=RIM;
CaptionML=ENU=Service Credit Memo;
ToolTipML=ENU=Create a service credit memo for the customer.;
RunObject=Page 5935;
RunPageLink=Customer No.=FIELD(No.);
Promoted=No;
Image=CreditMemo;
PromotedCategory=Category4;
RunPageMode=Create }
{ 1903839805;1 ;Action ;
Name=NewReminder;
AccessByPermission=TableData 295=RIM;
CaptionML=ENU=Reminder;
ToolTipML=ENU=Create a remainder for the customer.;
RunObject=Page 434;
RunPageLink=Customer No.=FIELD(No.);
Promoted=Yes;
Image=Reminder;
PromotedCategory=Category4;
RunPageMode=Create }
{ 1901102005;1 ;Action ;
Name=NewFinanceChargeMemo;
AccessByPermission=TableData 302=RIM;
CaptionML=ENU=Finance Charge Memo;
ToolTipML=ENU=Create a finance charge memo for the customer.;
RunObject=Page 446;
RunPageLink=Customer No.=FIELD(No.);
Promoted=No;
Image=FinChargeMemo;
PromotedCategory=Category4;
RunPageMode=Create }
{ 1900000004;0 ;ActionContainer;
ActionContainerType=ActionItems }
{ 57 ;1 ;ActionGroup;
CaptionML=ENU=Approval;
Visible=OpenApprovalEntriesExistCurrUser }
{ 56 ;2 ;Action ;
Name=Approve;
CaptionML=ENU=Approve;
ToolTipML=ENU=Approve the requested changes.;
ApplicationArea=#All;
Promoted=Yes;
Visible=OpenApprovalEntriesExistCurrUser;
PromotedIsBig=Yes;
Image=Approve;
PromotedCategory=Category5;
OnAction=VAR
ApprovalsMgmt@1000 : Codeunit 1535;
BEGIN
ApprovalsMgmt.ApproveRecordApprovalRequest(RECORDID);
END;
}
{ 390 ;2 ;Action ;
Name=Reject;
CaptionML=ENU=Reject;
ToolTipML=ENU=Reject the approval request.;
ApplicationArea=#All;
Promoted=Yes;
Visible=OpenApprovalEntriesExistCurrUser;
PromotedIsBig=Yes;
Image=Reject;
PromotedCategory=Category5;
OnAction=VAR
ApprovalsMgmt@1000 : Codeunit 1535;
BEGIN
ApprovalsMgmt.RejectRecordApprovalRequest(RECORDID);
END;
}
{ 41 ;2 ;Action ;
Name=Delegate;
CaptionML=ENU=Delegate;
ToolTipML=ENU=Delegate the approval to a substitute approver.;
ApplicationArea=#All;
Promoted=Yes;
Visible=OpenApprovalEntriesExistCurrUser;
Image=Delegate;
PromotedCategory=Category5;
OnAction=VAR
ApprovalsMgmt@1000 : Codeunit 1535;
BEGIN
ApprovalsMgmt.DelegateRecordApprovalRequest(RECORDID);
END;
}
{ 148 ;2 ;Action ;
Name=Comment;
CaptionML=ENU=Comments;
ToolTipML=ENU=View or add comments.;
ApplicationArea=#All;
Promoted=Yes;
Visible=OpenApprovalEntriesExistCurrUser;
Image=ViewComments;
PromotedCategory=Category5;
OnAction=VAR
ApprovalsMgmt@1000 : Codeunit 1535;
BEGIN
ApprovalsMgmt.GetApprovalComment(Rec);
END;
}
{ 45 ;1 ;ActionGroup;
CaptionML=ENU=Request Approval;
Image=SendApprovalRequest }
{ 55 ;2 ;Action ;
Name=SendApprovalRequest;
CaptionML=ENU=Send A&pproval Request;
ToolTipML=ENU=Send an approval request.;
ApplicationArea=#Suite;
Promoted=Yes;
Enabled=(NOT OpenApprovalEntriesExist) AND EnabledApprovalWorkflowsExist;
Image=SendApprovalRequest;
PromotedCategory=Category6;
PromotedOnly=Yes;
OnAction=VAR
ApprovalsMgmt@1001 : Codeunit 1535;
BEGIN
IF ApprovalsMgmt.CheckCustomerApprovalsWorkflowEnabled(Rec) THEN
ApprovalsMgmt.OnSendCustomerForApproval(Rec);
END;
}
{ 37 ;2 ;Action ;
Name=CancelApprovalRequest;
CaptionML=ENU=Cancel Approval Re?
ToolTipML=ENU=Cancel the approval request.;
ApplicationArea=#Suite;
Promoted=Yes;
Enabled=CanCancelApprovalForRecord;
Image=CancelApprovalRequest;
PromotedCategory=Category6;
PromotedOnly=Yes;
OnAction=VAR
ApprovalsMgmt@1001 : Codeunit 1535;
BEGIN
ApprovalsMgmt.OnCancelCustomerApprovalRequest(Rec);
END;
}
{ 142 ;1 ;ActionGroup;
CaptionML=ENU=Workflow }
{ 17 ;2 ;Action ;
Name=CreateApprovalWorkflow;
CaptionML=ENU=Create Approval Workflow;
ToolTipML=ENU=Set up an approval workflow for creating or changing customers, by going through a few pages that will guide you.;
Enabled=NOT EnabledApprovalWorkflowsExist;
Image=CreateWorkflow;
OnAction=BEGIN
PAGE.RUNMODAL(PAGE::"Cust. Approval WF Setup Wizard");
END;
}
{ 138 ;2 ;Action ;
Name=ManageApprovalWorkflows;
CaptionML=ENU=Manage Approval Workflows;
ToolTipML=ENU=View or edit existing approval workflows for creating or changing customers.;
Enabled=EnabledApprovalWorkflowsExist;
Image=WorkflowSetup;
OnAction=VAR
WorkflowManagement@1000 : Codeunit 1501;
BEGIN
WorkflowManagement.NavigateToWorkflows(DATABASE::Customer,EventFilter);
END;
}
{ 163 ;1 ;ActionGroup;
CaptionML=ENU=F&unctions;
Image=Action }
{ 139 ;2 ;Action ;
Name=Templates;
CaptionML=ENU=Templates;
ToolTipML=ENU=View or edit customer templates.;
ApplicationArea=#Basic,#Suite;
RunObject=Page 1340;
RunPageLink=Table ID=CONST(18);
PromotedIsBig=Yes;
Image=Template }
{ 167 ;2 ;Action ;
Name=ApplyTemplate;
Ellipsis=Yes;
CaptionML=ENU=Apply Template;
ToolTipML=ENU=Apply a customer template to quickly register this customer.;
ApplicationArea=#Basic,#Suite;
Image=ApplyTemplate;
PromotedCategory=Process;
OnAction=VAR
MiniCustomerTemplate@1002 : Record 1300;
BEGIN
MiniCustomerTemplate.UpdateCustomerFromTemplate(Rec);
END;
}
{ 132 ;2 ;Action ;
Name=SaveAsTemplate;
Ellipsis=Yes;
CaptionML=ENU=Save as Template;
ToolTipML=ENU=Save the customer card as a template that can be reused to create new customer cards. Customer templates contain preset information to help you fill fields on customer cards.;
ApplicationArea=#Basic,#Suite;
PromotedIsBig=Yes;
Image=Save;
PromotedCategory=Process;
OnAction=VAR
TempMiniCustomerTemplate@1000 : TEMPORARY Record 1300;
BEGIN
TempMiniCustomerTemplate.SaveAsTemplate(Rec);
END;
}
{ 1900839804;1 ;Action ;
Ellipsis=Yes;
CaptionML=ENU=Post Cash Receipts;
ToolTipML=ENU=Create a cash receipt journal line for the customer, for example, to post a payment receipt.;
RunObject=Page 255;
Image=CashReceiptJournal;
PromotedCategory=Process }
{ 1905171704;1 ;Action ;
CaptionML=ENU=Sales Journal;
RunObject=Page 253;
Image=Journals;
PromotedCategory=Process }
{ 1900000006;0 ;ActionContainer;
ActionContainerType=Reports }
{ 1906813206;1 ;Action ;
Name=Report Customer Detailed Aging;
CaptionML=ENU=Customer Detailed Aging;
ToolTipML=ENU=View a detailed list of each customer's total payments due, divided into three time periods. The report can be used to decide when to issue reminders, to evaluate a customer's creditworthiness, or to prepare liquidity analyses.;
ApplicationArea=#Basic,#Suite;
Promoted=No;
Image=Report;
PromotedCategory=Report;
OnAction=BEGIN
RunReport(REPORT::"Customer Detailed Aging","No.");
END;
}
{ 1907586706;1 ;Action ;
Name=Report Customer - Labels;
CaptionML=ENU=Customer - Labels;
ToolTipML=ENU=View mailing labels with the customers' names and addresses.;
Promoted=No;
Image=Report;
PromotedCategory=Report;
OnAction=BEGIN
RunReport(REPORT::"Customer - Labels","No.");
END;
}
{ 1902299006;1 ;Action ;
Name=Report Customer - Balance to Date;
CaptionML=ENU=Customer - Balance to Date;
ToolTipML=ENU=View a list with customers' payment history up until a certain date. You can use the report to extract your total sales income at the close of an accounting period or fiscal year.;
ApplicationArea=#Basic,#Suite;
Image=Report;
PromotedCategory=Report;
OnAction=BEGIN
RunReport(REPORT::"Customer - Balance to Date","No.");
END;
}
{ 133 ;1 ;Action ;
Name=Report Statement;
CaptionML=ENU=Statement;
ToolTipML=ENU=View a list of a customer's transactions for a selected period, for example, to send to the customer at the close of an accounting period. You can choose to have all overdue balances displayed regardless of the period specified, or you can choose to include an aging band.;
ApplicationArea=#Basic,#Suite;
RunObject=Codeunit 8810;
Image=Report }
}
}
CONTROLS
{
{ 1900000001;;Container;
ContainerType=ContentArea }
{ 1 ;1 ;Group ;
CaptionML=ENU=General }
{ 2 ;2 ;Field ;
ToolTipML=ENU=Specifies the number of the customer. The field is either filled automatically from a defined number series, or you enter the number manually because you have enabled manual number entry in the number-series setup.;
ApplicationArea=#All;
SourceExpr="No.";
Importance=Promoted;
Visible=NoFieldVisible;
OnAssistEdit=BEGIN
IF AssistEdit(xRec) THEN
CurrPage.UPDATE;
END;
}
{ 4 ;2 ;Field ;
ToolTipML=ENU=Specifies the customer's name. This name will appear on all sales documents for the customer. You can enter a maximum of 50 characters, both numbers and letters.;
ApplicationArea=#All;
SourceExpr=Name;
Importance=Promoted;
ShowMandatory=TRUE }
{ 18 ;2 ;Field ;
ToolTipML=ENU=Specifies an alternate name that you can use to search for a customer.;
SourceExpr="Search Name";
Importance=Additional;
Visible=FALSE }
{ 154 ;2 ;Field ;
ToolTipML=ENU=Specifies the customer's IC partner code, if the customer is one of your intercompany partners.;
SourceExpr="IC Partner Code";
Importance=Additional }
{ 20 ;2 ;Field ;
Name=Balance (LCY);
ToolTipML=ENU=Specifies the payment amount that the customer owes for completed sales. This value is also known as the customer's balance.;
ApplicationArea=#Basic,#Suite;
SourceExpr="Balance (LCY)";
OnDrillDown=BEGIN
OpenCustomerLedgerEntries(FALSE);
END;
}
{ 144 ;2 ;Field ;
ToolTipML=ENU=Specifies payments from the customer that are overdue per today's date.;
ApplicationArea=#Basic,#Suite;
SourceExpr="Balance Due (LCY)";
OnDrillDown=BEGIN
OpenCustomerLedgerEntries(TRUE);
END;
}
{ 22 ;2 ;Field ;
ToolTipML=ENU=Specifies the maximum amount you allow the customer to exceed the payment balance before warnings are issued.;
ApplicationArea=#Basic,#Suite;
SourceExpr="Credit Limit (LCY)";
StyleExpr=StyleTxt;
OnValidate=BEGIN
StyleTxt := SetStyle;
END;
}
{ 26 ;2 ;Field ;
ToolTipML=ENU=Specifies which transactions with the customer that cannot be blocked, for example, because the customer is insolvent.;
SourceExpr=Blocked }
{ 24 ;2 ;Field ;
ToolTipML=ENU=Specifies a code for the salesperson who normally handles this customer's account.;
ApplicationArea=#Suite;
SourceExpr="Salesperson Code";
Importance=Additional }
{ 64 ;2 ;Field ;
ToolTipML=ENU=Specifies the code for the responsibility center that will administer this customer by default.;
SourceExpr="Responsibility Center";
Importance=Additional }
{ 93 ;2 ;Field ;
ToolTipML=ENU=Contains the code for the service zone that is assigned to the customer.;
SourceExpr="Service Zone Code";
Importance=Additional }
{ 137 ;2 ;Field ;
Name=BlockedCustomer;
CaptionML=ENU=Blocked;
ToolTipML=ENU=Specifies if transactions with the customer are blocked, for example, because the customer is insolvent.;
OptionCaptionML=ENU=" ,,,All";
ApplicationArea=#All;
SourceExpr=BlockedCustomer;
Visible=FoundationOnly;
Enabled=DynamicEditable;
OnValidate=BEGIN
IF BlockedCustomer THEN
Blocked := Blocked::All
ELSE
Blocked := Blocked::" ";
END;
}
{ 23 ;2 ;Field ;
ToolTipML=ENU=Specifies the preferred method of sending documents to this customer, so that you do not have to select a sending option every time that you post and send a document to the customer. Sales documents to this customer will be sent using the specified sending profile and will override the default document sending profile.;
ApplicationArea=#Basic,#Suite;
SourceExpr="Document Sending Profile";
Importance=Additional }
{ 73 ;2 ;Field ;
Name=TotalSales2;
CaptionML=ENU=Total Sales;
ToolTipML=ENU=Specifies your total sales turnover with the customer in the current fiscal year. It is calculated from amounts excluding VAT on all completed and open invoices and credit memos.;
ApplicationArea=#Basic,#Suite;
SourceExpr=GetTotalSales;
Style=Strong;
StyleExpr=TRUE }
{ 72 ;2 ;Field ;
CaptionML=ENU=Costs (LCY);
ToolTipML=ENU=Specifies how much cost you have incurred from the customer in the current fiscal year.;
ApplicationArea=#Basic,#Suite;
SourceExpr=CustSalesLCY - CustProfit - AdjmtCostLCY;
AutoFormatType=1 }
{ 71 ;2 ;Field ;
CaptionML=ENU=Profit (LCY);
ToolTipML=ENU=Specifies how much profit you have made from the customer in the current fiscal year.;
ApplicationArea=#Basic,#Suite;
SourceExpr=AdjCustProfit;
AutoFormatType=1;
Importance=Additional;
Editable=False }
{ 69 ;2 ;Field ;
CaptionML=ENU=Profit %;
ToolTipML=ENU=Specifies how much profit you have made from the customer in the current fiscal year, expressed as a percentage of the customer's total sales.;
ApplicationArea=#Basic,#Suite;
DecimalPlaces=1:1;
SourceExpr=AdjProfitPct;
Importance=Additional;
Editable=False }
{ 28 ;2 ;Field ;
ToolTipML=ENU=Specifies when the customer card was last modified.;
ApplicationArea=#Basic,#Suite;
SourceExpr="Last Date Modified";
Importance=Additional }
{ 50100;2 ;Field ;
SourceExpr="My Field" }
{ 1902768601;1;Group ;
CaptionML=ENU=Address & Contact;
GroupType=Group }
{ 63 ;2 ;Group ;
Name=AddressDetails;
CaptionML=ENU=Address;
GroupType=Group }
{ 6 ;3 ;Field ;
Name=Address;
ToolTipML=ENU=Specifies the customer's address. This address will appear on all sales documents for the customer.;
ApplicationArea=#Basic,#Suite;
SourceExpr=Address }
{ 8 ;3 ;Field ;
ToolTipML=ENU=Specifies additional address information.;
ApplicationArea=#Basic,#Suite;
SourceExpr="Address 2" }