Skip to main content
Microsoft Dynamics GP forum
Unanswered

Dexterity - how to capture variable in scrolling window to be used in procedure script

editSubscribe (0) ShareShare
ReportReport
Posted on by 1,480

This is a Dexterity Question.

I am trying to capture the values of fields for the lines on a scrolling windows that are marked.  

Specifically I want to capture the batch ID, posted date and Batch Totals that are checked on the Generate EFT Files window.

when the Generate EFT File button is pressed.

I already have a Trigger Registered and working when the Generate EFT files Window.

I am trying to grab the fields listed above and then will pass them to another proc.

I am unsure whether to referenece the fields listed above either via scrolling window Table buffer or with the scrolling window values themselves.

Here is a sample of my Dexterity of trying to capture the Batch total.  I am not sure what the correct table buffer name is  

local currency temp1;


if not empty('EFT Status' of table cmTransactionEFTBatch) then
 temp1 = 'Batch Total' of table  cmTransactionEFTBatch;
 end if;
warning "Your EFT Batch Total = "+ format(temp1,false,false,1,MINUSNEG);

pastedimage1601672255493v2.png

the above always returns 0.0000 for temp1 - which is supposed to be the batch total.   If the field was part of the main window i would be fine but scrolling windows are a little more difficult.

Helpful resources

Quick Links

What Motivates a Super User?

We know many of you visit the Dynamics 365 Community and Power Platform…

Demystifying Copilot with Sundar…

Industry experts answer burning questions directly from our amazing Community…

Enabling Copilot Case and Conversation…

Agents can easily recap an ongoing chat, transcribe a voice conversation…

Leaderboard

#1
Andre Arnaud de Calavon Profile Picture

Andre Arnaud de Cal... 283,030 Super User

#2
Martin Dráb Profile Picture

Martin Dráb 222,562 Super User

#3
nmaenpaa Profile Picture

nmaenpaa 101,138

Product updates

Dynamics 365 release plans