MicrosoftDocs / navdevitpro-content-pr

Content for the devitpro release for on-prem & PaaS
Creative Commons Attribution 4.0 International
6 stars 36 forks source link

Is the given example right? #2241

Open Sergisoft opened 3 years ago

Sergisoft commented 3 years ago

Hi,

I think the example explaining how to use transferfields with a BLOB field is wrong. It should be:

IF FromRecord.Picture.HASVALUE THEN
FromRecord.CALCFIELDS(Picture);
GLAccountRec.TRANSFERFIELDS(FromRecord);
GLAccountRec.INSERT(TRUE);

Cheers!


Document Details

Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.