• Introducing Dark Mode! Switch by clicking on the lightbulb icon next to Search or by clicking on Default style at the bottom left of the page!

BSSV For Inventory Trasnsfer

Kishore03

Active Member
Hi,

Can you please let me know which approach i have to take to develop BSSV for inventory transfer.

Thanks
Kishore
 

Chan Rana

Legendary Poster
Not sure what you mean by Which approach?. You can look at the existing services to know how you can design new one.

Chan
 

alfredorz

Well Known Member
No, doesn't exist. I created a Inventary Transfer and Adjustment Inventary BSSV with the MBSFN's of application in a NER and BSSV call this BSFN.

Regards,
Alfre.
 

Kishore03

Active Member
Hi Alfre,

Can you please share me the NER BSFN code for Inventory Trasfer.I have created one but its not working.

Regards
Kishore
 

Lucky.2811

Active Member
Share your NER code. That way we can find if there are any issues in the code.
Otherwise if DC Link is enabled in your JDE then there would be DC link inventory transfer BSFN (ND3NXXXX) already created, may be you can call that directly from BSSV.
 

Kishore03

Active Member
sure, my requirement is i have to create a IT document for a single Item using BSFN, and i am not so much familier about Begindoc,EditLine,EndDoc MBFs.Plz find the attached code file.

Listing of ER for Named ER: B564113


=======================================================================
NAMED ER: Process Inventory Transfer
=======================================================================
evt_szComputerID_CTID
evt_szDocumentType_DcT
evt_jd_BatchDate_DGL
evt_mnBatchNumber_ICU
evt_mnDocumentNumber_DOC
evt_mnCompanyKey_KCO
evt_jdDateTransaction_TRDJ
evt_mnFromUnitCost_UNCS
evt_mnToUnitCost_UNSC
evt_mnFromtExtendedPrice_AEXP
evt_mnToAmountExtended_AEXP
evt_CurrencyCode_CRCD
evt_mnF0911_JobN_JOBS
evt_cBatchControl_ICRI
evt_JOBS_InvJobNumber
evt_szUnitOfMeasure_UOM
OPT: Using Defaults
0001 Get Local Computer ID
VA evt_szComputerID_CTID <- BF szMachineKey
0002 Get Internal Next NUmber
VA evt_JOBS_InvJobNumber <- BF mnJobnumberA
0003 F4009 Get Distribution Constants
"41" -> BF szSystemCode
VA evt_cBatchControl_ICRI <- BF cBatchControl
0004 F4101 Get Item Master Information
BF Itemcode -> BF szSecondItemNumber
VA evt_szUnitOfMeasure_UOM <- BF szPrimaryUOM
0005 VA evt_jd_BatchDate_DGL = date_today()
0006 VA evt_szDocumentType_DcT = IT
0007 F4113 FS Begin Doc
"3" -> BF mnTransactionProcessingType
VA evt_szDocumentType_DcT <> BF szDocumentType
VA evt_jd_BatchDate_DGL <> BF jdGLDate
VA evt_jdDateTransaction_TRDJ <> BF jdTransactionDate
VA evt_mnBatchNumber_ICU <> BF mnBatchNumber
VA evt_jd_BatchDate_DGL <> BF jdBatchDate
VA evt_mnDocumentNumber_DOC <> BF mnDocumentNumber
BF ToBP <> BF szFromBranchPlant
"01000" -> BF szFromKeyCompany
BF ToBP -> BF szToBranchPlant
0008 F4113 FS Edit Line
VA evt_szComputerID_CTID -> BF szComputerID
"3.00" -> BF mnTransactionProcessingType
<Zero> -> BF cLineAction
VA evt_jd_BatchDate_DGL <> BF jdGLDate
VA evt_jdDateTransaction_TRDJ <> BF jdTransactionDate
VA evt_szDocumentType_DcT <> BF szDocumentType
VA evt_jd_BatchDate_DGL <> BF jdBatchDate
VA evt_mnBatchNumber_ICU <> BF mnBatchNumber
VA evt_cBatchControl_ICRI <> BF cBatchStatus
BF Quantity <> BF mnTransactionQty
VA evt_szUnitOfMeasure_UOM -> BF szTransactionUOM
BF FromBP <> BF szFromBranchPlant
BF Lot <> BF szFromLotNumber
VA evt_mnFromUnitCost_UNCS <> BF mnFromUnitCost
VA evt_mnFromtExtendedPrice_AEXP <> BF mnFromExtendedAmount
BF ToBP <> BF szToBranchPlant
VA evt_mnToUnitCost_UNSC <> BF mnToUnitCost
VA evt_mnFromtExtendedPrice_AEXP <> BF mnToExtendedAmount
VA evt_JOBS_InvJobNumber <> BF mnInvJobNumber
BF FromLoc <> BF szFromLocationFile
BF ToLoc <> BF szToLocationFile
0009 F4113 FS End Doc
VA evt_szComputerID_CTID -> BF szComputerID
"3.00" -> BF mnTransactionProcessingType
"EP564113" -> BF szProgramID
"IT" -> BF szDocumentType
VA evt_mnDocumentNumber_DOC -> BF mnDocumentNumber
VA evt_mnF0911_JobN_JOBS -> BF mnF0911JobNumber
VA evt_mnBatchNumber_ICU -> BF mnBatchNumber
VA evt_cBatchControl_ICRI -> BF cBatchStatus
VA evt_JOBS_InvJobNumber -> BF mnInvJobNumber
0010 F4113 FS Clear Work File
VA evt_szComputerID_CTID -> BF szComputerID
"IT" -> BF szDocumentType
VA evt_mnF0911_JobN_JOBS -> BF mnF0911JobNumber
"1" -> BF cProcessCloseBatch
VA evt_mnBatchNumber_ICU -> BF mnBatchNumber
VA evt_cBatchControl_ICRI -> BF cBatchStatus
VA evt_JOBS_InvJobNumber -> BF mnInvJobNumber
0011 F0002 Get Item Ledger Next Number
VA evt_mnDocumentNumber_DOC <> BF mnDocumentNumber
"IT" -> BF szDocumentType
"01000" -> BF szKeyCompany
"4" -> BF mnNextNumberingIndexNo
"41" X BF szSystemCode
VA evt_jd_BatchDate_DGL -> BF jdGLDate
0012 F0911 Get Next Document Number
"4.00" -> BF mnNextNumberIndex
"41" -> BF szNextNumberSystemCode
VA evt_mnDocumentNumber_DOC <- BF mnDocNumber
0013 F0010 Get Company Currency Code
"01000" -> BF szCompany
VA evt_CurrencyCode_CRCD <- BF szCurrencyCode
0014 F0911 Begin Document
"1" -> BF cDocAction
"1" <> BF cEditInstructionFlag
"01000" -> BF szCompanyKey
VA evt_szDocumentType_DcT <> BF szDocumentType
VA evt_mnDocumentNumber_DOC <> BF mnDocNumber
VA evt_jdDateTransaction_TRDJ <> BF jdGLDate
VA evt_mnBatchNumber_ICU <> BF mnBatchNumber
"N" <> BF szBatchType
VA evt_jd_BatchDate_DGL <> BF jdBatchDate
VA evt_jd_BatchDate_DGL <> BF jdBatchSystemDate
VA evt_CurrencyCode_CRCD <> BF szTransactionCurrency
VA evt_CurrencyCode_CRCD <> BF szBaseCoCurrency

Wednesday November 18, 2015 10:16


Kishore
 
Last edited:

alfredorz

Well Known Member
Sorry Kishore03 but I talked with my customer and not it's possible share his code. But I put the BSFN's used and sequence:
- Get P4113 Processing Options
- Get Local Computer ID
- F4009 Get Distribution Constants
- Get Internal Next NUmber
- F4113 FS Begin Doc
- Transfer Project Commitment Quantity Cache
- F4113 FS Edit Line
- Verify Project Specific Item
- F0008 Get Fiscal Year Period Number
- X0010 - Get Next Number
- F0911 Get Next Document Number
- F0010 Get Company Currency Code
- F0911 Begin Document
- Get Next Unique Key ID
- Cache Process Unique F41021WF
- Cache License Plate Transaction Header
- F4113 FS End Doc
- F4113 FS Clear Work File

I saw DC link inventory transfer BSFN ND3N4113 as say Lucky.2811 and it's very very similar, even it's very likely that it will work and you don't need implement the function ;) . You try it and feedback us please.

Thanks!

Regards!
 

Vadim

Member
Hi List,

Could you anybody help me to receive the DC link inventory transfer BSFN ND3N4113 code? Unfortunately, I don't have access to DC link, but I have exactly same task

Very grateful!
Kind regards!
 

ONYX

Well Known Member
Didn't want to be arrogant, but the code is copyrighted.

You don't really need dclink business function.
Just enable jdedebug.log, perform inventory transfer transaction, capture bsfn's/parameters and you are ready to replicate functionality in BSSV (this is how I did it in the past).

Code:
00004 // Source Module: ND3N4113
00005 //       Description: dcLINK Interface - Inventory Transfers
00006 // Function Name: dcLINKInventoryTransfers
00007 // 
00008 //        Description: dcLINK Inventory Transfers
00009 // 
00010 // Copyright (c) Data Systems International, Inc. (DSI),  2004
00011 //  
00012 // This unpublished material is proprietary to Data Systems International. All
00013 // rights reserved.  The methods and techniques described herein are
00014 // considered trade secrets and/or confidential.  Reproduction or
00015 // distribution, in whole or part, is forbidden except by express written
00016 // permission of Data Systems International.
 
Last edited:
Top