I use a lot of them to move data and have never had any issues. The directive will fire on every write to the file, so no matter what method the code is triggered.
From: vantage@yahoogroups.com [mailto:vantage@yahoogroups.com] On Behalf Of cubcrafters_it
Sent: Tuesday, November 27, 2012 7:14 PM
To: vantage@yahoogroups.com
Subject: [Vantage] Re: Copying UD field from Part to PO through PO Suggestion Generation
We do have Data Directives, although I've never used them. They're new to us in 9.05 (coming from 8.03).
How reliable are the Data Directives, as opposed to the Method ones? I was able to get some Method Directives to work, but the Data Directive approach seems a whole lot easier to manage.
From: vantage@yahoogroups.com [mailto:vantage@yahoogroups.com] On Behalf Of cubcrafters_it
Sent: Tuesday, November 27, 2012 7:14 PM
To: vantage@yahoogroups.com
Subject: [Vantage] Re: Copying UD field from Part to PO through PO Suggestion Generation
We do have Data Directives, although I've never used them. They're new to us in 9.05 (coming from 8.03).
How reliable are the Data Directives, as opposed to the Method ones? I was able to get some Method Directives to work, but the Data Directive approach seems a whole lot easier to manage.
--- In vantage@yahoogroups.com<mailto:vantage%40yahoogroups.com>, Greg Payne <gpayne@...<mailto:gpayne@...>> wrote:
>
> assuming you have Data directives, I would do it like below. You don't have to worry about the method that is writing the data.
>
> Greg Payne
>
>
>
> /* Set part checkbox */
>
> For each ttPODetail field( CheckBox01 )
> where ttPODetail.RowMod = 'A',
> each Part field ()
> where Part.PartNum = ttPODetail.PartNum and Part.Company = ttPODetail.Company and Part.checkbox01 = true.
>
> Assign ttPODetail.CheckBox01 = true.
>
> End.
>
>
> From: vantage@yahoogroups.com<mailto:vantage%40yahoogroups.com> [mailto:vantage@yahoogroups.com<mailto:vantage%40yahoogroups.com>] On Behalf Of cubcrafters_it
> Sent: Tuesday, November 27, 2012 1:53 PM
> To: vantage@yahoogroups.com<mailto:vantage%40yahoogroups.com>
> Subject: [Vantage] Copying UD field from Part to PO through PO Suggestion Generation
>
>
>
> How can I copy a UD field (in this case, a checkbox) from the Part table to the PODetail table of a PO when generated using PO Suggestion?
>
> It's straightforward when just creating a PO from scratch, but it gets muddled for me when the PO Suggestions come into play...
>
>
> ________________________________
> CONFIDENTIALITY NOTICE
>
> The information contained in this communication, including attachments, is privileged and confidential. It is intended only for the exclusive use of the addressee. If the reader of this message is not the intended recipient, or the employee or agent responsible for delivering it to the intended recipient, you are hereby notified that any dissemination, distribution or copying of this communication is strictly prohibited. If you have received this communication in error, please notify us at 727-578-6280 and immediately delete the communication.
>
> "This (document/presentation) may contain technical data as defined in the International Traffic In Arms Regulations (ITAR) 22 CFR 120.10. Export of this material is restricted by the Arms Export Control Act (22 U.S.C. 2751 et seq.) and may not be exported to foreign persons without prior approval form the U.S. Department of State."
>
>
> [Non-text portions of this message have been removed]
>
________________________________
CONFIDENTIALITY NOTICE
The information contained in this communication, including attachments, is privileged and confidential. It is intended only for the exclusive use of the addressee. If the reader of this message is not the intended recipient, or the employee or agent responsible for delivering it to the intended recipient, you are hereby notified that any dissemination, distribution or copying of this communication is strictly prohibited. If you have received this communication in error, please notify us at 727-578-6280 and immediately delete the communication.
"This (document/presentation) may contain technical data as defined in the International Traffic In Arms Regulations (ITAR) 22 CFR 120.10. Export of this material is restricted by the Arms Export Control Act (22 U.S.C. 2751 et seq.) and may not be exported to foreign persons without prior approval form the U.S. Department of State."
[Non-text portions of this message have been removed]