Insert to F00165 from UBE

bps

Member
Hi list,

I need to find a way to insert a URL into the blob field on F00165, which I can do from a screen no problem BUT I need to do this in batch overnight.

I can't find a definitive solution to this on the list, there is talk of a C function to do it using api's - I'm hoping someone is willing to share this code :)

Cheers
Barry

ERP 8, on AS/400, DB2
 
you can use this.
.C (attach)
.H==>

/*****************************************************************************
* Header File: BBN0005.h
*
* Description: Insert Text in GT0005 Header File
*
* History:
* Date Programmer SAR# - Description
* ---------- ---------- -------------------------------------------
* Author 20/06/02 Unknown - Created
*
*
* Copyright (c) J.D. Edwards World Source Company, 1996
*
* This unpublished material is proprietary to J.D. Edwards World Source
* Company. All rights reserved. The methods and techniques described
* herein are considered trade secrets and/or confidential. Reproduction
* or distribution, in whole or in part, is forbidden except by express
* written permission of J.D. Edwards World Source Company.
****************************************************************************/

#ifndef __BBN0005_H
#define __BBN0005_H

/*****************************************************************************
* Table Header Inclusions
****************************************************************************/

/*****************************************************************************
* External Business Function Header Inclusions
****************************************************************************/

/*****************************************************************************
* Global Definitions
****************************************************************************/

/*****************************************************************************
* Structure Definitions
****************************************************************************/

/*****************************************************************************
* DS Template Type Definitions
****************************************************************************/
/*****************************************
* TYPEDEF for Data Structure
* Template Name: Gen Text DS GT0005
* Template ID: GT0005
* Generated: Thu Jun 20 08:05:56 2002
*
* DO NOT EDIT THE FOLLOWING TYPEDEF
* To make modifications, use the OneWorld Data Structure
* Tool to Generate a revised version, and paste from
* the clipboard.
*
**************************************/

#ifndef DATASTRUCTURE_GT0005
#define DATASTRUCTURE_GT0005

typedef struct tagDSGT0005
{
char szSystemCode[5];
char szUserDefinedCodes[3];
char szUserDefinedCode[11];
} DSGT0005, *LPDSGT0005;

#define IDERRszSystemCode_1 1L
#define IDERRszUserDefinedCodes_2 2L
#define IDERRszUserDefinedCode_3 3L

#endif




/*****************************************
* TYPEDEF for Data Structure
* Template Name: Insert Text in GT0005
* Template ID: DBN0005
* Generated: Thu Jun 20 07:49:48 2002
*
* DO NOT EDIT THE FOLLOWING TYPEDEF
* To make modifications, use the OneWorld Data Structure
* Tool to Generate a revised version, and paste from
* the clipboard.
*
**************************************/

#ifndef DATASTRUCTURE_DBN0005
#define DATASTRUCTURE_DBN0005

typedef struct tagDSDBN0005
{
char szProductCode[5];
char szUserDefinedCodes[3];
char szUserDefinedCode[11];
char MediaObjectVariableLengthC[30001];
char szDataItem[11];
} DSDBN0005, *LPDSDBN0005;

#define IDERRszProductCode_1 1L
#define IDERRszUserDefinedCodes_2 2L
#define IDERRszUserDefinedCode_3 3L
#define IDERRMediaObjectVariableLengthC_4 4L
#define IDERRszDataItem_5 5L

#endif

/*****************************************************************************
* Source Preprocessor Definitions
****************************************************************************/
#if defined (JDEBFRTN)
#undef JDEBFRTN
#endif

#if defined (WIN32)
#if defined (WIN32)
#define JDEBFRTN(r) __declspec(dllexport) r
#else
#define JDEBFRTN(r) __declspec(dllimport) r
#endif
#else
#define JDEBFRTN(r) r
#endif

/*****************************************************************************
* Business Function Prototypes
****************************************************************************/
JDEBFRTN (ID) JDEBFWINAPI InsertTextInGT0005 (LPBHVRCOM lpBhvrCom, LPVOID lpVoid, LPDSDBN0005 lpDS);


/*****************************************************************************
* Internal Function Prototypes
****************************************************************************/

#endif /* __BBN0005_H */
 

Attachments

  • 74361-BBN0005.c
    5 KB · Views: 162
Back
Top