You're almost there! Please answer a few more questions for access to the Applications content. Complete registration
Interested in joining? Complete your registration by providing Areas of Interest here. Register

Rest API Fixed Asset Creation - Clearing Account

edited Oct 18, 2024 4:06PM in Assets 3 comments

Summary:

Unable to override Asset Clearing Account with P_PAYABLES_CCID_TBL parameter, when creating Asset vía Rest API.

 "OperationName": "processTransaction-addAsset",

P_PAYABLES_CCID_TBL: '2862341', P_PAYABLES_COST_TBL:100

Content (please ensure you mask any confidential information):

Unable to override the asset clearing account. Instead the system always is having into account the asset clearing account defined inside the category.

How to override the Asset Clearing Account when creating an Asset vía Rest API?

The following paylaod is working (using real values), except for the P_PAYABLES_CCID_TBL parameter.

{  "OperationName": "processTransaction-addAsset",  
"ParameterList": 
{ 
"P_BOOK_TYPE_CODE": "**** CORPORATION",    
"PX_ASSET_NUMBER": "****-34",    
"P_DESCRIPTION": "TABLE ****",    
"P_ASSET_TYPE": "CAPITALIZED",    
"P_CATEGORY_ID": "XXX000000000000",    
"P_DATE_PLACED_IN_SERVICE": "2024-09-01",    
"P_EXPENSE_CCID_TBL": "XXX0000",    
"P_LOCATION_CCID_TBL": "XXX000000000000",    
"P_UNITS_ASSIGNED_TBL": "1",    
"P_FIXED_ASSETS_COST_TBL": "300",    
"P_PO_NUMBER_TBL": "OC-****-XXXXX",    
"P_INVOICE_NUMBER_TBL": "XXX000",    
"P_PROJECT_ID_TBL": "XXX000000000000",    
"P_TASK_ID_TBL": "XXX000000000000",    
"P_SL_ATTRIBUTE1_TBL": "XXX0000-3",    
"P_SL_ATTRIBUTE2_TBL": "VI",    
"P_PAYABLES_CCID_TBL": "XXX0000",    
"P_PAYABLES_COST_TBL": "300",    
"P_PAYABLES_UNITS_TBL":

Howdy, Stranger!

Log In

To view full details, sign in.

Register

Don't have an account? Click here to get started!