DimensionStorage DimensionStorage;
DimensionAttributeValue dimAttributeValue;
DimensionStorageSegment DimensionStorageSegment;
;
DimensionStorage=DimensionStorage::construct(0,LedgerDimensionType::Account);
//DimensionAttributeValue::findByDimensionAttributeAndValueNoError(
dimAttributeValue = DimensionAttributeValue::findByDimensionAttributeAndValueNoError(
DimensionAttribute::find(5637144840),
"180300",
false,
true);
DimensionStorage.addHierarchy(DimensionHierarchy::find(5637146169).RecId);
DimensionStorageSegment=DimensionStorageSegment::constructFromValue(dimAttributeValue.CachedDisplayValue,dimAttributeValue);
DimensionStorage.setSegment(1,DimensionStorageSegment);
info(int642str(DimensionStorage.save()));
No hay comentarios:
Publicar un comentario