No, I can not use %OnAfterSave()  or %OnAddToSaveSet().

Here an example

The original global:
^BL({Site},{Type of
Invoice},{Year},Number})={InvoiceSymbol}_$c(96)_{InvoiceDate}_$c(96)_{Custom
erId}_$c(96)_{CurrencyId} ...

And here is the mapping:
<Data name="CompanyId">
    <RetrievalCode>Set
{CompanyId}={L1}_"||"_(+$p($g(^BL({L1},{L2},{L3},{L4})),$C(96),3))
</RetrievalCode>
</Data>
<Data name="CurrencyId">
    <RetrievalCode>Set
{CurrencyId}={L1}_"||"_$p($g(^BL({L1},{L2},{L3},{L4})),$C(96),4)
</RetrievalCode>
</Data>
<Data name="FileNumberId">
    <RetrievalCode>Set
{FileNumberId}={L1}_"||"_$p({L6},".",1)_"||"_(+$p({L6},".",2))
</Data>

For all Id's I have to add the Site {L1} information. When I save it, I need
it without the Site.

I hope you understand my problem.

Alexander


"Denver Braughler" <[EMAIL PROTECTED]> schrieb im Newsbeitrag
news:[EMAIL PROTECTED]
> Alexander Neuber wrote:
> > Is there any other suggestion to solve this?
> Sure.  I just don't know exactly what you want to do.
> Could you use %OnAfterSave() or %OnAddToSaveSet() (or that other dangerous
one)?
>
> How about an example of what you need to do?



Reply via email to