From 8747824e76ddec3d5526df6a2b7b2dc4474a0b8e Mon Sep 17 00:00:00 2001 From: Safija Hubljar Date: Mon, 2 Sep 2024 11:52:59 +0200 Subject: [PATCH 1/2] Company profile hinting docs --- .../companyprofilehintingcontrolshared.png | Bin 0 -> 7078 bytes .../controls/companyprofilehinting.md | 282 ++++++++++++++++-- 2 files changed, 255 insertions(+), 27 deletions(-) create mode 100644 src/.vuepress/public/.attachments/applications/Controls/companyprofilehintingcontrolshared.png diff --git a/src/.vuepress/public/.attachments/applications/Controls/companyprofilehintingcontrolshared.png b/src/.vuepress/public/.attachments/applications/Controls/companyprofilehintingcontrolshared.png new file mode 100644 index 0000000000000000000000000000000000000000..35703096754cff8fd218596dac764b5a354f9482 GIT binary patch literal 7078 zcmchc=QkW&*sqZ&F?#QvNn+G!(G5|eMjgGEFj}?jDv$is-do;kAs72|8VvvB6uKc z^-1W%hU=rR2F9r#W!Zix9y=>(E8*ZEQUO?7{D=C9m%6DB4h|jf|14Y$eV!v69A+5} z6(vKM)&3&6q2Y8P;Ze<^gN(!{+D3oEX$SmD&0g3sqy6e;9y2gKV&JAKT~Vdqh?(T%+!eEx30^K@jI)hU zx<2h(-YnSs*?c%UoX@xseAs%J`XY&hh%-j(yXX7H7z!{SWvmEij5^N$Gj{gg>9XG# zyF3@aS_=>88Sg((;OSWizoHD8zUm%P`UWQAB>(&#ux2hkAonKqprbaBuDhtz{*!?& zU;JUr5sA+KT*8zO46PO0qf_W$%(?tYY-xAQ(U?H_YZ~zCSO5Y2Zhv?y7OX3Nm~ii?4e`hPihI$Ua+XB!3w9*sj$vE|*z31R^$<4{@jOp9O(VL{sG726qN9V+n>zI7bQu?SgzrAvPX66a8 z%K!4qgIaBbeU;b`lL4d5vlv74#^*qn6rpa((5kBw+~p>&HBXD4rrp927HPw%a-pW+ z#^RU0@r#Y(Z)fy368SP~G1rF+80+>sR@!&XxmA%zVUx^}LOuav169yfC+O}jSZ){h z6{f|WP2uh(`9b^d0gu`_vBt(v?X=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VqQ_yu=XpbrchaPI-< zs!B;L`_bL10m9+N%PfHAI|vyVB1$*3DHOLn<#4J~*uYu>IcT9Mf%@d83L1>X{Mbop zA@-3o&j=C?D&h|8g`eZBaR@EHpEw+$0RU6B+AO11G|(VjI!xUQz+6&g*I89&XiA_*)CquZ5K zNR79_Unj?P_q?(VZh_P&R<3M09`8e|h4T z=aSw$PX2a5laPMpX0TStK8-+IbmO_t)pgE?`5AU8m7TT66WjC532y?l-Xg-}#+_ohu|`wTnXOzlqyTE*F_>l1UCQ7M zkwCEaHQzQ34A^wu153h@_ zpn{p$%fZ64uJ*>v)2$!!UvB;J?M&dM{*EG}`OA%wp~fXxXYq{l_O&}l0SnfqMCrEV z0t4Q044Le!LN^!iG%FsmLJ!$=$P} zgKAodYfBovo9ezXE>lGz1nWAtWq9eocy{CVKV3}G)(2(?UEBx?}MPT?f9=xpUv7+qVN`DWq*e4HC(r% znMO7PdLP73N&~G7^F;hFXfrHCqw)}u&%QZp5phx}+WvoI2H91(DIbu_ V)IQJXVYY^&@k&Rf8f+8we*o++WUK%H literal 0 HcmV?d00001 diff --git a/src/en/developer-guide/applications/controls/companyprofilehinting.md b/src/en/developer-guide/applications/controls/companyprofilehinting.md index 87f8b2085..84e6691d8 100644 --- a/src/en/developer-guide/applications/controls/companyprofilehinting.md +++ b/src/en/developer-guide/applications/controls/companyprofilehinting.md @@ -1,37 +1,265 @@ --- -Author: Jan Losenicky +Author: Safija Hubljar --- # Company Profile Hinting -## Visual Example +This control will hint companies based on the selected country. When the user selects one of the hinted companies, all other fields will be pre-filled. Additionally, the control allows the user to manually create a company if manual input is enabled. -![Company Profile Hinting Displayed On Form](/.attachments/applications/Controls/companyprofilehintingcontrol.png) +![Company Profile Hinting Displayed On Form](/.attachments/applications/Controls/companyprofilehintingcontrolshared.png) +## Bindings -## Description + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Property NameDescriptionOf TypeInputOutputUsageRequired
nameBinding field containing company name. +

SingleLine.Text

+

NETWORG CZ s.r.o.

+

''

NETWORG CZ s.r.o.

boundfalse
historicalNamesBinding field containing historical company names.Multiple +

NETWORG CZ s.r.o., TheNetw.org s.r.o.

boundfalse
companyNumberBinding field containing company number.SingleLine.Text

03412687

+

''

03412687boundfalse
vatNumberVAT number of the company.SingleLine.Text +

CZ03412687

boundfalse
reliableVATPayerReliable VAT Payer of the company.OptionSet +

742070000

boundfalse
insolvencyInsolvency of the company.OptionSet + +

742070001

+
boundfalse
jurisdictionCodeJurisdiction code of the company.SingleLine.Text +

CZ

+
+

CZ

+
boundfalse
localityLocality of the company.SingleLine.Text + +

Hlavní město Praha

+

''

+
boundfalse
sublocalitySublocality of the company.SingleLine.Text +

Praha 9

+

''

boundfalse
regionRegion of the company.SingleLine.Text

Hlavní město Praha

+

''

boundfalse
postalCodePostal code of the company.SingleLine.Text +

19000

+

''

boundfalse
formattedPostalCodeFormatted postal code of the company.SingleLine.Text

190 00

+

''

boundfalse
countryCountry of the company.SingleLine.Text

Česká republika

+

''

boundfalse
administrativeAreaAdministrative area of the company.

SingleLine.Text

+
+

Hlavní město Praha

+

''

boundfalse
streetNameStreet name of the company.

SingleLine.Text

+
+

Sokolovská

+

''

boundfalse
streetNumberStreet number of the company.

SingleLine.Text

+
+

352/215

+

''

boundfalse
fullAddressFull address of the company.

SingleLine.Text

+
+

Sokolovská 352/215, Vysočany, 19000 Praha 9

+

''

boundfalse
latitudeLatitude of the company.

Decimal

+
+ +

50.11017051192877

+

undefiend

+
boundfalse
longitudeLongitude of the company.

Decimal

+
+

14.49801248105505

+

undefiend

+
boundfalse
manualInputBinding field containing is manual input enabled.

TwoOptions

+
+

false

+

true

+

false

+

true

boundfalse
-This control will hint companies on binded field, when company is selected, bounded fields are preffiled. +## Changelog -## Binding Field - -Can be binded to any field of type SingleLine.Text. - -## Inputs - -Bounded Inputs -- Name - Comapny Name -- Company Nuber -- Jurisdiction Code -- Locality -- Sublocality -- Region -- Postal Code -- Formatted Postal Code -- Country -- Administrative Area -- Street Name -- Sreet Number -- Full Address -- Latitude -- Longtitude \ No newline at end of file +

2024-08-23

+

Changed

+
    +
  • Changed PCF to use latest shared component
  • +
\ No newline at end of file From 2711297ab93cfd028a3aeca435b85400b27789cd Mon Sep 17 00:00:00 2001 From: Safija Hubljar Date: Tue, 17 Sep 2024 16:26:57 +0200 Subject: [PATCH 2/2] Minor adjustments --- .../controls/companyprofilehinting.md | 59 ++++++++++++++++++- 1 file changed, 56 insertions(+), 3 deletions(-) diff --git a/src/en/developer-guide/applications/controls/companyprofilehinting.md b/src/en/developer-guide/applications/controls/companyprofilehinting.md index 84e6691d8..7ac5041dc 100644 --- a/src/en/developer-guide/applications/controls/companyprofilehinting.md +++ b/src/en/developer-guide/applications/controls/companyprofilehinting.md @@ -39,6 +39,7 @@ This control will hint companies based on the selected country. When the user se Binding field containing historical company names. Multiple +

NETWORG CZ s.r.o., TheNetw.org s.r.o.

NETWORG CZ s.r.o., TheNetw.org s.r.o.

bound @@ -59,6 +60,7 @@ This control will hint companies based on the selected country. When the user se VAT number of the company. SingleLine.Text +

CZ03412687

CZ03412687

bound @@ -69,6 +71,27 @@ This control will hint companies based on the selected country. When the user se Reliable VAT Payer of the company. OptionSet +

+ [{ +
+ "Value": 742070000, +
+ "Label": "742070000" + }, +
+ { + "Value": 742070001, +
+ "Label": "742070001" + }, +
+ { + "Value": 742070002, +
+ "Label": "742070002" +
+ }] +

742070000

bound @@ -79,6 +102,27 @@ This control will hint companies based on the selected country. When the user se Insolvency of the company. OptionSet +

+ [{ +
+ "Value": 742070000, +
+ "Label": "742070000" + }, +
+ { + "Value": 742070001, +
+ "Label": "742070001" + }, +
+ { + "Value": 742070002, +
+ "Label": "742070002" +
+ }] +

742070001

@@ -104,6 +148,7 @@ This control will hint companies based on the selected country. When the user se Locality of the company. SingleLine.Text +

Hlavní město Praha

Hlavní město Praha

@@ -117,6 +162,7 @@ This control will hint companies based on the selected country. When the user se Sublocality of the company. SingleLine.Text +

Praha 9

Praha 9

''

@@ -127,7 +173,7 @@ This control will hint companies based on the selected country. When the user se region Region of the company. SingleLine.Text - +

Hlavní město Praha

Hlavní město Praha

''

bound @@ -138,6 +184,7 @@ This control will hint companies based on the selected country. When the user se Postal code of the company. SingleLine.Text +

19000

19000

''

@@ -148,7 +195,7 @@ This control will hint companies based on the selected country. When the user se formattedPostalCode Formatted postal code of the company. SingleLine.Text - +

190 00

190 00

''

bound @@ -158,7 +205,7 @@ This control will hint companies based on the selected country. When the user se country Country of the company. SingleLine.Text - +

Česká republika

Česká republika

''

bound @@ -170,6 +217,7 @@ This control will hint companies based on the selected country. When the user se

SingleLine.Text

+

Hlavní město Praha

Hlavní město Praha

''

@@ -182,6 +230,7 @@ This control will hint companies based on the selected country. When the user se

SingleLine.Text

+

Sokolovská

Sokolovská

''

@@ -194,6 +243,7 @@ This control will hint companies based on the selected country. When the user se

SingleLine.Text

+

352/215

352/215

''

@@ -206,6 +256,7 @@ This control will hint companies based on the selected country. When the user se

SingleLine.Text

+

Sokolovská 352/215, Vysočany, 19000 Praha 9

Sokolovská 352/215, Vysočany, 19000 Praha 9

''

@@ -218,6 +269,7 @@ This control will hint companies based on the selected country. When the user se

Decimal

+ 50.11017051192877

50.11017051192877

@@ -232,6 +284,7 @@ This control will hint companies based on the selected country. When the user se

Decimal

+

14.49801248105505

14.49801248105505

undefiend