difficult in using mapping form (ID 8601)

Andreas_GunawanAndreas_Gunawan Member Posts: 64
Dear All,
I find trouble when using mapping function especially when import data
from excel worksheet. after debugger run, the error message is in
the mapping handle codeunit, in the OPTION. What I mapping is
the data of Account Receivables from excel into sales journal, whenever
the option field types (like account type and document type in the journal)
are not included in the mapping form, it is work, but if I must select
customer, it can't work, the data will use G/L account as account
type, the account no. is customer no., how I can solve this problem ?
is there any other way?
[-o< ](*,)
Thanks beforehand


Rgds,
Andreas

Comments

  • krikikriki Member, Moderator Posts: 9,118
    If you use a dataport, you should put in the
    "OnAfterImportRecord()"-trigger the code
    VALIDATE("Account Type","Account Type"::Customer);
    
    At least in case of a customer.
    Regards,Alain Krikilion
    No PM,please use the forum. || May the <SOLVED>-attribute be in your title!


Sign In or Register to comment.