on 11-21-2023 8:37 PM
Hello experts!
I'm trying to get the historical APC by Service Layer.
I discovered the endpoint "FixedAssetItemsService_GetAssetEndBalance", but when I POST there, the historical APC value is zero, when actually it has a value in SAP B1.
How to get this value up to date?
That case is when i'm getting the data. But I also have the problem to create a new fixed asset in SAP B1 using Service Layer. How to assign a historical APC?
Thank you all!
Hi thiago_moura,
The following requests work fine for me:
To get the value:
POST /b1s/v1/FixedAssetItemsService_GetAssetEndBalance
{
"FixedAssetValuesParams": {
"ItemCode": "TEST1",
"FiscalYear": "2023",
"DepreciationArea": "GAAP"
}
}
To update the value:
POST /b1s/v1/FixedAssetItemsService_UpdateAssetEndBalance
{
"FixedAssetEndBalance": {
"HistoricalAPC": 125.0
},
"FixedAssetValuesParams": {
"ItemCode": "TEST1",
"FiscalYear": "2023",
"DepreciationArea": "GAAP"
}
}
Kind regards,
ANKIT CHAUHAN
SAP Business One Support
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
89 | |
9 | |
7 | |
5 | |
4 | |
3 | |
2 | |
2 | |
2 | |
2 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.