Announcements
Patch( YourTable, //Replace 'YourTable' table name with your table name Defaults(YourTable), //Replace 'YourTable' table name with your table name { man_remisemontantmin: Value(TextInput1.Text) /replace with your column name } //TextInput1 - replace with your input field name )
Patch( YourTable, //Replace 'YourTable' table name with your table name Defaults(YourTable), //Replace 'YourTable' table name with your table name {
: Value(TextInput1.Text) /replace with your column name } //TextInput1 - replace with your input field name )
Patch(TableName, LookUp('Table Name', ID=1), // if it is an existing Record Defaults('Table Name'), // if it is an new Record { "new_currencyfield": Value(350.25) // Logical Name of Currency field }
Patch(Remises ; ForAll(_collectionRemises ; Patch( LookUp(_collectionRemisesExistantes As r ; r.'Famille de SKU'.SKU = ThisRecord.'Famille de SKU'.SKU And r.'Montant min.' = NumberInput3.Value); { 'Offre commerciale': ThisRecord.'Offre commerciale'; 'Famille de SKU': ThisRecord.'Famille de SKU'; 'Montant min.': NumberInput3.Value } ) ) )
Patch(Remises ; ForAll(_collectionRemises ; Patch( LookUp(_collectionRemisesExistantes As r ; r.'Famille de SKU'.SKU = ThisRecord.'Famille de SKU'.SKU And r.'Montant min.' = NumberInput3.Value); { 'Offre commerciale': ThisRecord.'Offre commerciale'; 'Famille de SKU': ThisRecord.'Famille de SKU'; 'Montant min.': 0 } ) ) )
ForAll(_collectionRemises As r; Patch( Remises ; Coalesce(LookUp(_collectionRemisesExistantes As e ; e.'Famille de SKU'.SKU = r.'Famille de SKU'.SKU And e.'Montant min.' = NumberInput3.Value); Defaults(Remises) ); { 'Offre commerciale': r.'Offre commerciale'; 'Famille de SKU': r.'Famille de SKU'; 'Montant min.': NumberInput3.Value } ) )
Value(ThisRecord.'Offre commerciale')
Patch(Remises ; ForAll(_collectionRemises ; Patch( LookUp(_collectionRemisesExistantes As r ; r.'Famille de SKU'.SKU = ThisRecord.'Famille de SKU'.SKU And r.'Montant min.' = NumberInput3.Value); { 'Offre commerciale': Value(ThisRecord.'Offre commerciale'); 'Famille de SKU': ThisRecord.'Famille de SKU'; 'Montant min.': 0 } ) ) )
Under review
Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.
Jump in, show your community spirit, and win prizes!
Expanding mentorship, skilling, and AI innovation
These are the community rock stars!
Stay up to date on forum activity by subscribing.
Valantis 424
WarrenBelz 355 Most Valuable Professional
11manish 290